Blender Git Loki

Git Commits -> Revision 0bef196

Revision 0bef196 by Lukas Toenne (master)
February 25, 2014, 17:29 (GMT)
Fix T38811: Cycles particle ids are inconsistent when using multiple particle systems.

Problem is that the particle systems in the cycles database are not
stored in a well-defined order. This means the particle_id for dupli
objects can not simply be assigned using a global running index during
sync.

Now the particle index is assigned locally for each particle system.
When transferring particle data to the device as a single texture, the
particle indices are offset based on the final order of particle systems
in the database.

Reviewers: brecht

Reviewed By: brecht

CC: Andreas80

Differential Revision: https://developer.blender.org/D352

Commit Details:

Full Hash: 0bef196894abd19903b0741ec6250e0558b4f1a4
Parent Commit: ef73d54
Lines Changed: +25, -13

4 Modified Paths:

/intern/cycles/blender/blender_object.cpp (+2, -10) (Diff)
/intern/cycles/blender/blender_particles.cpp (+5, -0) (Diff)
/intern/cycles/render/object.cpp (+15, -2) (Diff)
/intern/cycles/render/object.h (+3, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021