Blender Git Commit Log
Git Commits -> Revision f0d2477
Revision f0d2477 by Lukas Toenne (master) August 31, 2012, 17:27 (GMT) |
Fix for #32184 and redesign of particle storage in Cycles. The particle data used by the Particle Info node was stored in cycles as a list in each object. This is a problem when the particle emitter mesh is hidden: Objects in cycles are only intended as instances of renderable meshes, so when hiding the emitter mesh the particle data doesn't get stored either. Also the particle data can potentially be copied to multiple instances of the same object, which is a waste of texture space. The solution in this patch is to make a completely separate list of particle systems in the Cycles scene data. This way the particle data can be generated even when the emitter object itself is not visible. |
Commit Details:
Full Hash: f0d247748408bd10f49c54d3a28a925e37683c4b
SVN Revision: 50294
Parent Commit: 5ecff7a
Lines Changed: +314, -96
2 Added Paths:
/intern/cycles/render/particles.cpp (+118, -0) (View)
/intern/cycles/render/particles.h (+69, -0) (View)
/intern/cycles/render/particles.h (+69, -0) (View)
10 Modified Paths:
/intern/cycles/blender/blender_object.cpp (+1, -8) (Diff)
/intern/cycles/blender/blender_particles.cpp (+82, -37) (Diff)
/intern/cycles/blender/blender_sync.cpp (+9, -0) (Diff)
/intern/cycles/blender/blender_sync.h (+4, -2) (Diff)
/intern/cycles/blender/blender_util.h (+11, -0) (Diff)
/intern/cycles/render/CMakeLists.txt (+2, -0) (Diff)
/intern/cycles/render/object.cpp (+0, -40) (Diff)
/intern/cycles/render/object.h (+0, -8) (Diff)
/intern/cycles/render/scene.cpp (+14, -1) (Diff)
/intern/cycles/render/scene.h (+4, -0) (Diff)
/intern/cycles/blender/blender_particles.cpp (+82, -37) (Diff)
/intern/cycles/blender/blender_sync.cpp (+9, -0) (Diff)
/intern/cycles/blender/blender_sync.h (+4, -2) (Diff)
/intern/cycles/blender/blender_util.h (+11, -0) (Diff)
/intern/cycles/render/CMakeLists.txt (+2, -0) (Diff)
/intern/cycles/render/object.cpp (+0, -40) (Diff)
/intern/cycles/render/object.h (+0, -8) (Diff)
/intern/cycles/render/scene.cpp (+14, -1) (Diff)
/intern/cycles/render/scene.h (+4, -0) (Diff)