Jump to content
  • Advertisement
Sign in to follow this  

"Programming a Multiplayer FPS" Mesh Problems

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

For a while now I have been following the book "Programming a Multiplayer FPS in DirectX" by Vaughan Young and so far it has been great. However, have have run into a problem when importing my own meshes from Blender. When I export a .X file from Blender, it opens properly in the DirectX viewer and it even works in the example code from DirectXTutorial.com. When the mesh is loaded into the engine from the book however (chapters 8 and 9) the mesh has three things wrong with it: 1. the mesh is super small. 2. The normals seem to be inverted i.e. I could see the texture on the back face through the near face (if that makes sense).by changing the coordinate system switch in the exporter to Right-handed mode. 3. The mesh is rotated 90 degrees. I have tried several different exporters for Blender and they all yield the same results. I set the "Swap zy" and "Flip z" settings in the exporter so that Y is the upwards direction and so that the left-handed coordinate system is used. Has anyone else encountered similar problems or got some ideas? Any help would be greatly appreciated.

Share this post

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

  • 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!