AWS Thinkbox Discussion Forums

Krakatoa Geometry Test and modifiers?

Running 1.5.2 now, but this might have been a bug earlier, and I just never saw it.

I have a Krakatoa Geometry Test testing to see if some particles are inside of a Box. But I saw that my box really needed to be a trapezoid, so I put an Edit Mesh on it and pulled it into shape. But the Test still only tested the base Box, not the result with the Edit Mesh. Odd?

  • Chad

Confirmed. There is some sort of heavy caching going on.
For example, I can pick a different object (a sphere) and it still uses the cached geometry.
Then pick back the modified box, change its shape, nothing helps short of replacing the test with a new instance.

This is caused by the fact that since there is nothing animated on the stack of the object, the cache is never rebuilt.
A possible workaround is to add a Bend modifier on top of your geometry object, go to the last frame and SHIFT+Right-click the Arrow of the Angle spinner. This will set a 0 keyframe on frames 0 and the last one and invalidate the validity interval. As long as the “Animated Geometry” checkbox is checked, the Geometry Test will recache.

I will log a bug against this because picking a new mesh should invalidate the cache and rebuild it.
Also I would expect the checking/unchecking of the “Animated Geometry” to invoke a kd-tree update, just in case.

Thanks for catching that!

Privacy | Site terms | Cookie preferences