Skip to main content
gamedev.net
🔒 Locked

Culling

Started by Piotr_Haratym May 25, 2002 at 3:08 PM 1 replies 200+ views
Original Post
Piotr_Haratym
Piotr_Haratym
is there a way to make ogl cull triangles not using a vertex input direction(ClockWise, counterCW), but normals on every triangle??
weasalmongler
weasalmongler
Not too my knowledge, but it shouldn''t be too hard to cull them yourself in that way should it? Just test each triangles normal before you draw it.

- Weasalmongler
Yann L
Yann L
About what normals are you talking ? If you mean per triangle face normals, then OpenGL is already doing that: the CW/CCW check is just a different mathematical way of computing it.

If you mean culling on vertex normals: not in unextended OpenGL. It could be done using vertexshaders, though.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.