Page MenuHome

274rc2 Particlesystem Hair - with Density Texture
Closed, ResolvedPublic

Description

System Information
win7 64 bit

Blender Version
273a & 274rc2

Short description of error
if a particle texture is in use - mapped to density - and you play with the particle or texture settings, the particles go crazy.
Often they disapear completly

Exact steps for others to reproduce the error
open the blend and decrease emission number (amount) by 1
or try any other setting in particles or in the density texture

Based on a (as simple as possible) attached .blend file with minimum amount of steps

Event Timeline

Tobias Lijsen (blenderhilfe) created this task.
Tobias Lijsen (blenderhilfe) raised the priority of this task from to Needs Triage by Developer.
Sergey Sharybin (sergey) triaged this task as Normal priority.Mar 24 2015, 9:01 AM

Sergey, I think the problem started in rB78c491e62a5.

Previously it would mark the particles with PARS_UNEXIST based on the texture and then remove any particles with that flag. Now it removes particles first and only then sets that flag based on the texture, which is too late. On the next refresh it then suddenly detects some particles to remove from the array, which causes some unpredictable behavior with the particle array index based psys_frand.

Actually this looks like the same bug as T44185, for which there is a fix in D1213.