Blender Git Loki

Git Commits -> Revision 803f7f2

Revision 803f7f2 by Lukas Toenne (object_nodes, strand_nodes)
November 25, 2015, 11:29 (GMT)
Node inputs now have a 'value type' to specify how input connections are treated.

VALUE_CONSTANT inputs can not have connections, their values are known at compile time.
bvm stores these values directly in the instruction list.

VALUE_VARIABLE inputs store values at evaluation time. bvm stores a stack index for them
which is used to load and store from/to the evaluation stack.

VALUE_FUNCTION inputs are passed to kernels to be called internally when needed.
bvm stores an instruction index and allows a jump to this instruction (TODO).

Commit Details:

Full Hash: 803f7f208ca079caaef1a8946b09a5949305fcdd
Parent Commit: 60779ad
Lines Changed: +51, -24

2 Modified Paths:

/source/blender/blenvm/compile/bvm_nodegraph.cc (+25, -17) (Diff)
/source/blender/blenvm/compile/bvm_nodegraph.h (+26, -7) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021