Page 1 of 1

Resimulate not working for 4W-ext on dyn grnd

Posted: Thu Dec 04, 2008 8:50 am
by YMangolds
I just did an animation featuring a bunch of ocean based robots. I found the easiest yet nicest way to make the ocean surface was using maya coeans, but it makes them by displacing nurbs planes. The built-in maya buoy system kinda sucks so I decided to animate the robots using cdt and developed a script to bake any patch of a maya ocean into (an automatically animated blendshape) poly grid suitable for cdt to collide with (as well as other software like realflow). Although it works fairly decently when recording, if i try to resimulate it (which was often since some of the robots needed to sit in one place on the ocean surface) it only looks at the shape of the ocean surface at the first frame of simulation. As the ocean deforms further the vehicle just sits there.

Re: Resimulate not working for 4W-ext on dyn grnd

Posted: Thu Dec 04, 2008 10:03 am
by Micael Belin
Hello Yuris,

The issue you are describing is a bug in the Maya adaptor. This bug was recently discovered by, well... you. ;)
The cause is that the intersection routine we use for positioning ourselves on the ground only reads the mesh from the current time, not the time it specifically asks for. (Sorry, my bad)

In short, it runs fine during recording, since the time is constantly getting updated. In Resimulation however, the time is never updated and therefore the tools thinks the ground is not animated.

I have verified the issue and found a solution for it, hopefully we can have it available on our next release in early January.

Please note that this only applies to Maya. the 3ds max adaptor does not have this issue.