Resimulate not working for 4W-ext on dyn grnd

Got questions, comments and/or feedback regarding Craft Director Studio? Post them here.
Forum rules
We only allow posts that
  • Is in English
  • Is related to our tools and the programs they support.

If these rules are not met you are most likely going to be banned.

Please Note:
  • New users will have their posts reviewed before being publicly available for other to see.
Post Reply
User avatar
YMangolds
Posts: 27
Joined: Thu Dec 04, 2008 6:37 am
Location: Boston MA
Contact:

Resimulate not working for 4W-ext on dyn grnd

Post by YMangolds » Thu Dec 04, 2008 8:50 am

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.
Yuris Mangolds
Director of 3D
C2i Studios
ymangolds@c-2iinc.com

User avatar
Micael Belin
CTO
Posts: 168
Joined: Thu Apr 03, 2008 9:39 am
Location: Gothenburg, Sweden
Contact:

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

Post by Micael Belin » Thu Dec 04, 2008 10:03 am

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.
micael.fredriksson@craftanimations.com
http://www.craftanimations.com

Post Reply

Who is online

Users browsing this forum: DanielJourb and 25 guests