Jump to content
  • Advertisement
Sign in to follow this  

FBX SDK Polygon Winding

This topic is 2911 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've currently been fighting with a model made up of several meshes where half of the meshes are wound in the wrong order.

Is there any way to figure out if a polygon is wound clockwise or counter clockwise using the FBX SDK?

I've tried calling CheckIfVertexNormalsCCW on each mesh and it always returns 0 no matter if the winding is correct or not.

Part of me also wonders if our artist accidentally flipped the normals somehow.



Share this post

Link to post
Share on other sites
Most likely they have an odd number negative scales applied to them reversing the winding order.

The half that are not showing up are probably reflected version of the opposite side.

If the scale of a mesh is negative for 1 or 3 axis, then flip the winding order.

Here are some threads about this from the Autodesk FBX forums.



[Edited by - Doug Rogers on December 26, 2010 3:00:58 PM]

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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!