Blender Git Loki

Git Commits -> Revision 736e3cd

Revision 736e3cd by Lukas Toenne (openvdb)
November 13, 2016, 12:40 (GMT)
Proper volume data storage in Cycles when syncing from Blender data.

Previously a viewport render would continuously keep adding Volume instances
to the VolumeManager data, because there was no way to detect existing volume
data. Now the `id_map` model known from meshes and other data types is used for
volume data as well.

Note that the VolumeKey currently simply uses an Object ID pointer, thus
assuming a single Volume per object. In the future volumes could become a
real ID type in Blender, or the specific volume could be narrowed down with
additional info in the key.

Commit Details:

Full Hash: 736e3cd434a5d45d398878bd826a210cf342b8b3
Parent Commit: 3d04df0
Lines Changed: +82, -3

8 Modified Paths:

/intern/cycles/blender/blender_object.cpp (+4, -0) (Diff)
/intern/cycles/blender/blender_sync.cpp (+6, -0) (Diff)
/intern/cycles/blender/blender_sync.h (+2, -0) (Diff)
/intern/cycles/blender/blender_util.h (+20, -0) (Diff)
/intern/cycles/blender/blender_volume.cpp (+32, -1) (Diff)
/intern/cycles/render/scene.h (+2, -0) (Diff)
/intern/cycles/render/volume.cpp (+12, -2) (Diff)
/intern/cycles/render/volume.h (+4, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021