Sign in to follow this  
the_transltr

Quads vs Triangles in DirectX

Recommended Posts

the_transltr    100
Which is more convenient for directx to process quads or tris? I'm really into deciding which i will use in modeling character for my game other says quads are just 2 triangles so it doesn't matter other says that DirectX accepts quads provided that it will triangulate it on render thus, additional process for the GPU. Can anyone show me the ways of the force?

Share this post


Link to post
Share on other sites
Daaark    3553
Model using quads. It helps with keeping a proper edge flow in your model.

When it comes time to use them in your game, triangulate everything. Either in your program, or in the exporter.

Share this post


Link to post
Share on other sites
andur    781
DirectX cannot render quads directly, there is no way of telling it to do so.

However, for modelling purposes, model it however works best. Your exporter almost certainly has a triangulate option built in, and if not, it isn't very hard to build one in your game's model importer to do it then.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this