Blender Git Loki

Git Commits -> Revision 99e9984

Revision 99e9984 by Lukas Toenne (object_nodes, strand_nodes)
December 10, 2015, 19:26 (GMT)
New node "Curve Path" for reading interpolated curve data.

This introduces an improved way of handling ID relations inside the
node tree. Instead of storing simple indices to an object array,
the nodes now generate a 'key' (currently just ID name + lib name).
At eval time this key is then looked up from a hash table in globals,
to produce the actual pointer to the object.

Currently the node will not work, because the curve is not yet registered
in the globals map. This should happen in conjunction with depsgraph
updates.

Commit Details:

Full Hash: 99e998483b71408c3ed2e47f5be078881309029c
Parent Commit: 9d3dc3d
Lines Changed: +261, -8

1 Added Path:

/source/blender/blenvm/bvm/bvm_eval_curve.h (+77, -0) (View)

12 Modified Paths:

/release/scripts/nodes/geometry_nodes.py (+49, -0) (Diff)
/release/scripts/nodes/node_compiler.py (+3, -0) (Diff)
/source/blender/blenvm/bvm/bvm_eval.cc (+72, -3) (Diff)
/source/blender/blenvm/bvm/bvm_eval.h (+9, -2) (Diff)
/source/blender/blenvm/bvm/bvm_opcode.h (+4, -0) (Diff)
/source/blender/blenvm/bvm/CMakeLists.txt (+1, -0) (Diff)
/source/blender/blenvm/BVM_api.h (+2, -0) (Diff)
/source/blender/blenvm/compile/bvm_nodegraph.cc (+16, -0) (Diff)
/source/blender/blenvm/intern/bvm_api.cc (+4, -1) (Diff)
/source/blender/makesrna/intern/rna_blenvm.c (+13, -0) (Diff)
/source/blender/makesrna/intern/rna_nodetree.c (+10, -1) (Diff)
/source/blender/makesrna/intern/rna_object.c (+1, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021