CPC G06F 9/30181 (2013.01) [G06T 15/005 (2013.01); G06T 15/06 (2013.01); G06T 15/80 (2013.01); G06T 17/005 (2013.01); G06T 2210/52 (2013.01); G06T 2210/61 (2013.01)] | 20 Claims |
1. A computer-implemented method for compiling a material graph into a set of instructions for execution within an execution unit, the method comprising:
receiving a first material graph having a plurality of nodes, wherein each node included in the plurality of nodes represents a different surface property of a material;
parsing the material graph to generate an expression tree that includes one or more expressions for each node included in the plurality of nodes; and
generating a set of byte code instructions corresponding to the material graph based on the expression tree, wherein the byte code instructions are executable by a plurality of processing cores included within the execution unit.
|