|
From: Stefan H. <st...@to...> - 2007-04-20 17:22:33
|
You have right. Partly (sorry for not testing the issue thoroughly). For most geometries Wireframe backface culling works. But at least not for Cube, Mesh, Trimesh, and Polyhedron. With these geometries the Interactive renderer does his own culling (probably in IRGeometry_Generate_Triangle_Flags). Stefan http://www.topoi.ch >On Apr 19, 2007, at 10:05 PM, Stefan Huber wrote: > >> The behaviour between renderers and (fill) styles is not consistent. >> >> Quesa Interactive renderer supports TQ3FillStyle:: kQ3FillStyleEdges >> in combination with TQ3BackfacingStyle:: kQ3BackfacingStyleRemove. >> That is what you have probably seen in Geom Test. > >No, I specifically looked at the wireframe renderer. > > > Quesa Wireframe renderer does not support the above combination. > >Yes it does.... > >> Actually Quesa Wireframe should ignore TQ3FillStyle (at least >> kQ3FillStyleFilled). Quesa Wireframe + kQ3BackfacingStyleRemove >> (ignoring kQ3FillStyleFilled ) should have (more or less) the same >> (redundant) effect as Quesa Interactive + kQ3FillStyleEdges + >> kQ3BackfacingStyleRemove. > >And it does. > >> Under QD3D there was a slight difference. QD3D Interactive + >> kQ3FillStyleEdges + kQ3BackfacingStyleRemove showed triangle edges >> (exception: high level geometries like cube). QD3D Wireframe showed >> surface edges. > >I don't know what you mean by surface edges. not decomposed into triangles > >> By the way, Quesa OpenGL renderer does not support kQ3FillStyleEdges >> in combination with kQ3BackfacingStyleRemove. > >Sorry to keep contradicting you, but yes, it does, I just tried >that. In fact, if you use the OpenGL renderer, kQ3FillStyleEdges, >kQ3BackfacingStyleRemove, and kQ3IlluminationTypeNULL, it looks the >same as the wireframe renderer with kQ3BackfacingStyleRemove. |