Reduce Triangle in DirectX 9

Posted by Himadri on Stack Overflow See other posts from Stack Overflow or by Himadri
Published on 2010-06-09T11:09:53Z Indexed on 2010/06/09 11:12 UTC
Read the original article Hit count: 153

Filed under:

Hello everyone,
I have a 3D object with about 2000 or 3000 triangles. I want to reduce the number of triangle without affecting shape of object.
for eg, I have two triangles,

(1,1.5,2) (1.5,1.5,2) (1.7,2,2)  
(1.5,1.5,2) (1.7,2,2) (2,1.5,2)

In this case these two triangle is same as a single triangle -

(1,1.5,2) (2,1.5,2) (1.7,2,2)

I dont want the manual method, But if there is any direct function or such thing which will reduce my triangle list.
Thank You.

© Stack Overflow or respective owner

Related posts about directx