07-14-2003, 12:36 PM
hi !
i am rendering different objects, each of them consisting of many polygons (in fact the polygons are only triangles, defined by GL_POLYGON).
now i want to cull back-face-polygons, an it does work, but only for the first object !
if i render one of the other objects with backface-culling enabled, it displays _also_ the backface polygons !
the same happens if i want to render the front-face-polygons with GL_FILL and the back-face-polygons with GL_POINT - it works correct for the first object, but not for the other polygons.
any idea what's wrong ?
Hannes
i am rendering different objects, each of them consisting of many polygons (in fact the polygons are only triangles, defined by GL_POLYGON).
now i want to cull back-face-polygons, an it does work, but only for the first object !
if i render one of the other objects with backface-culling enabled, it displays _also_ the backface polygons !
the same happens if i want to render the front-face-polygons with GL_FILL and the back-face-polygons with GL_POINT - it works correct for the first object, but not for the other polygons.
any idea what's wrong ?
Hannes