XNA Creators Club Online
Page 1 of 1 (2 items)
Sort Posts: Previous Next

XNA converts quads to triangles with model loader?

Last post 11/20/2007 7:38 AM by Nick Gravelyn. 1 replies.
  • 11/20/2007 4:26 AM

    XNA converts quads to triangles with model loader?

    Hey there,

    I made a little test model with quads in 3d studio max and want to import it as a X file in XNA. The x file seems to be correct, the list of vertices seems to be defined as quads!

    Now my question is, is possible to load this X file and draw it using quads?

    Regards,

    Ted de Vres
    Check out my portfolio at:
    http://www.pjstyle.net
  • 11/20/2007 7:38 AM In reply to

    Re: XNA converts quads to triangles with model loader?

    Nope. In all technicality 3d Studio Max isn't actually drawing it as quads. It's drawing each face as two triangles. GPUs really only like triangles so it's more efficient to just call all your faces triangles and be done with it. You'll notice it's the same in native DirectX. OpenGL does have the option to draw quads, but it internally sends two triangles to the GPU.

    Other than that is there any reason you need to have quads?
Page 1 of 1 (2 items) Previous Next