Blender Git Loki

Git Commits -> Revision 5086dec

Revision 5086dec by Kévin Dietrich (gooseberry, openvdb)
June 11, 2015, 10:19 (GMT)
Initial support for drawing the VDB tree in the viewport.

To make it possible an OpenVDBPrimitive onject is introduced which hides
a shared pointer to an openvdb::GridBase so it's a bit generic, but by
far not final.

The drawing code is a bit hackish on the side, but at least it works and
here's an example: http://www.pasteall.org/pic/show.php?id=89278

NOTE: This only works when the simulation is imported back in.

Commit Details:

Full Hash: 5086decb803c7f8e3ff34adda671f9fd4504d754
Parent Commit: fbf4aeb
Lines Changed: +345, -12

4 Added Paths:

/intern/openvdb/intern/openvdb_primitive.cpp (+92, -0) (View)
/intern/openvdb/intern/openvdb_primitive.h (+47, -0) (View)
/intern/openvdb/intern/openvdb_render.cpp (+136, -0) (View)
/intern/openvdb/intern/openvdb_render.h (+15, -0) (View)

8 Modified Paths:

/intern/openvdb/CMakeLists.txt (+3, -1) (Diff)
/intern/openvdb/intern/openvdb_dense_convert.h (+10, -4) (Diff)
/intern/openvdb/openvdb_capi.cpp (+13, -2) (Diff)
/intern/openvdb/openvdb_capi.h (+8, -1) (Diff)
/source/blender/blenkernel/intern/smoke.c (+7, -4) (Diff)
/source/blender/editors/space_view3d/CMakeLists.txt (+1, -0) (Diff)
/source/blender/editors/space_view3d/drawobject.c (+12, -0) (Diff)
/source/blender/makesdna/DNA_smoke_types.h (+1, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021