On 06/12/2016 at 19:05, xxxxxxxx wrote:
Cinema 4D Version: 18
Platform: Mac ; Mac OSX ;
Language(s) : C++ ;
Is there some way to know if an object has changed between frames i.e.: it has deformed? The way we're currently handling this is to create a hash based on a RayObject's padr and pcnt member variables. If the hash for the object for the current frame is different than the previous, then we re-evaluate the object.
However, it seems that just key-framing something like the object's P.x coordinates causes the hash to be different between frames, even thought the object itself isn't actually changing (just moving in space). Is there something better we could do?