Jump to content
  • Advertisement
Sign in to follow this  
kobe bryant

Maya Model exporting

This topic is 4993 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 know how to import models into my game by exporting them as VRML2 files from Maya, however when I get the data for a polygon face It does not come out as individual triangles, it comes out as 4, 5 or more vertices that define a face. Therefore I can only render polygoms with these vertex counts using GL_TRIANGLE_FAN or GL_POLYGON, because obviously a triangle can only have three points. Due to this, my in game polygons look sometimes incomplete. My question is how do I change the 4,5... vertices data into triangles. Or how do I export the data so It comes out as individual triangle data rather then an arbitary amount of vertices. Thanx to anyone who reads this and replies.

Share this post


Link to post
Share on other sites
Advertisement
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!