![]() |
【转帖】esselation Of 3d Faces Into Polylines
tesselation of 3d faces into polylines
tesselation of 3d faces into polylines hi all! i've got two questions/remarks about tessellation of 3dface entities. 1. the facet is interpreted as a mesh when world draw is called on a facet entity. tessellating this mesh results in 4 calls to polylineout: facetout is never called. is it normal? i was hoping that it will result in one facet or one single polyline (not 4!). any idea what's going on here? 2. when the facet consists of three 3d points (that is 4th 3dface point is set to the 3rd point in the dxf file), this still results in 4 calls to polylineout (with the last segment of length 0!). is it a bug? thanks for the help! gregoire hi all, here is my understanding: 1. the facet is processed as a mesh, therefore either triangleout or polylineout will be called by odgigeometrysimplifier depending on the method fillmode. (unfortunately this method is not virtual.) 2. when calling worlddraw on a facet, the facet will be considered as a mesh. when tesselating this mesh, it will result in either 2 triangles or 4 polylines (ie the facet is "cut" into two (?). for 3 points facets this result in one null polyline or one null triangle. cheers, gregoire hi gregoire, i would not call these issues the bugs. what's you problem with them? facetout() is obsolete and will be removed. |
所有的时间均为北京时间。 现在的时间是 04:17 PM. |