3D Studio MAX SDK UVW Unwrap Modifier Help

Started by
0 comments, last by bzroom 14 years ago
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!
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.

This topic is closed to new replies.

Advertisement