• Advertisement


This topic is now archived and is closed to further replies.

Guest Anonymous Poster

Vertex Indices

This topic is 6727 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

Guest Anonymous Poster
I've been writing my own "animation" engine. Actually all it does is morph between a start mesh and a target mesh. My problem is not with the code actually but with the mesh that I'm using.

I'm using Direct3DRM (I don't think it really matters what I use). But anyways, I created a mesh in 3DStudio, it's a karate guy in one position.
I exported it to 3DS format and then converted it to the .X format for direct3D. Then I used the same mesh in 3DS, changed it a bit, and exported it as a different file name.

The problem is when I try to morph between the meshes, the vertices go all screwy. And that's because the vertex indices go all messed up. Even though I exported the same model in two different positions the vertex indices are messed up.

I even tried to do the morph in 3DS MAX and it goes all screwy.

The vertex at the top of the head mmight be one vertex index, and then on the next mesh the vertex at the top of the head might be another so it becomes messed up and doesn't move properly.

If anyone can help, it would be appreciated.

Share this post

Link to post
Share on other sites

  • Advertisement