Jump to content
  • Advertisement
Sign in to follow this  
gsamour

3D Studio MAX SDK UVW Unwrap Modifier Help

This topic is 2989 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hey everyone, I've been trying for a while to get the number of keyframes and the key times in a UV animation in 3D Studio MAX, using the SDK. The animation is made by adding a "Unwrap UVW" modifier to the object, then setting two keyframes, and offsetting the UV's. I've managed to get as far as getting a pointer to a IUnwrapMod object. But after that, I'm not sure what to do. If I call NumKeys() on the IUnwrapMod object, it returns -1. I can go into the vertices and sample at certain times and get the UV's at those times, but if there are keyframes, I'd like to be able to use those as my samples. Any insight on UV Animation in 3dsmax is appreciated!

Share this post


Link to post
Share on other sites
Advertisement
I think it's pretty common to resample the keys yourself, and then convert them to any kind of optimized storage scheme such as bezier keys or something.

I know for even transform animation i had to, and was recommended to just sample the keys myself. That way you get the data in exactly the format you intend, rather than trying to interpret the keys data.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!