几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量

几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 (http://www.dimcax.com/hust/index.php)
-   DirectDWG (http://www.dimcax.com/hust/forumdisplay.php?f=89)
-   -   【转帖】culling back faces for flat objects in vectorization (http://www.dimcax.com/hust/showthread.php?t=15591)

yang686526 2009-05-04 06:53 PM

【转帖】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">.


所有的时间均为北京时间。 现在的时间是 06:55 AM.