高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】culling back faces for flat objects in vectorization
culling back faces for flat objects in vectorization
culling back faces for flat objects in vectorization
hello again...
concerning the vectorization using gigeometrysimplifier::triangleout(...)... it seems to me that this function is even called to draw the "back faces" of flat object : as a result, we end with mixing triangles in an opengl display for example ? is there a way to request a "face culling" in this case ? or am i bound to build the algorithms to remove the unwanted faces myself ?
i'm joining two screen capture of the famous "3d_house.dwg" with duplicated faces on the roof. (--> see the black shapes in each case ?)
manu.
attached images
hello,
it seems that autocad has the same problem (see jpg). roof containes some 3dfaces in one position and with opposite normals.
attached images (14.8 kb, 4 views)
last edited by sslezkin; 22nd august 2007 at 01:18 amfff">.
|