|
From: Roger H. <rog...@mi...> - 2008-10-30 14:35:16
|
On 28 Oct, 2008, at 18:32, James Walker wrote: >> What do you all think on this. When certain tri-grids get turned into >> tri-meshes, they sometimes generate null triangles because two of the >> four corners of one of the grid quadrilateral are coincident. For >> instance the original QuickDraw3D sample code generated a sphere >> and a >> cone with Tri-grids and at the poles of the sphere and the point of >> the cone, this happened. Would it be worthwhile to not generate these >> null triangles, or should the tri-mesh constructor function filter >> them out or should we continue to filter them out every time we >> render >> or do processing of triangulated data such as when doing CSG >> calculations. > > I don't have a strong opinion, but it might be reasonable to filter > out > empty triangles in e3geom_trigrid_cache_new. Good, that's what I meant by "the tri-mesh constructor function". I will look at that function when I get some spare time. |