I am working with directX 9. I have a problem while rendering triangles using drawprimitive.
The problem is - When I am rendering the whole object made of several triangles, the triangle having all points on a single line shows gap in a whole closed object. I am showing the image below. The white dashed line is the problem.
views:
56answers:
1
+1
A:
you have try to order the all points in the object and then go to draw ,You can easily find the problem when draw like this.I think problem in precision varying.Try to check that..
Regards
Ratty
ratty
2010-05-08 05:13:16
@ratty Yes, it was a precision problem. The third digit after decimal point was different. Thank You.
Himadri
2010-05-08 05:33:00