• Advertisement
Sign in to follow this  

Locking mesh wierdness

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

So i decided i wanted to see the lines that make up the mesh etc like this http://img46.imageshack.us/img46/3088/d3dship.jpg but why does the lines update with the spinning ship , i only call lock once and dont use D3DXVec3TransformCoord on the rotation matrix with the d3dxvector3 points that represent each line , so i am very baffeled here is a video as you see the 3 red lines spin with the mesh, why i dont know http://www.youtube.com/watch?v=NbkEVe6HIXU

Share this post


Link to post
Share on other sites
Advertisement
If you need to draw wireframe mesh, just change the D3D render state (please check the documentation because I don't remember the name :D). before you draw it (and reset after that).

Share this post


Link to post
Share on other sites
renderstate only shows the whole model in wireframe , i am rending each vertex point etc with lines

Share this post


Link to post
Share on other sites
If you don't need the whole model, couldn't you just copy the triangles which you need?
Anyway, those lines spin with the mesh because you're probably using the same transformation matrices when you draw them.

Share this post


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

  • Advertisement