Locking mesh wierdness

Started by
2 comments, last by snake5 14 years, 4 months ago
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
:)
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).
renderstate only shows the whole model in wireframe , i am rending each vertex point etc with lines
:)
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.

This topic is closed to new replies.

Advertisement