Jump to content
  • Advertisement

Archived

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

aker_jus

Ok, here is the weird one!

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

I recently switched my mesh creating method from D3DXMESH_MANAGED to D3DXMESH_DYNAMIC, so I could manipulate the mesh vertices/normals whenever I want to. When doing this, my application crashes on *SOME* meshes! It crashes on the line for changing mesh data, such as normals/vertices. However, if I use D3DXMESH_MANAGED (it doesnt work with sysmem, it crashes again), everything seems ok, until I tested another model. I made a function for flipping normals, and when I applied it to that mesh, omg, the vertices were screwed up! It didnt crash however. So, to sum up: D3DXMESH_SYSTEMMEM crashes, D3DXMESH_MANAGED doesnt.. Why is that? I am really confused here, heh. What might it be? Has anyone else came across with this problem?

Share this post


Link to post
Share on other sites
Advertisement

  • Advertisement
×

Important Information

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

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!