Re: [AD] Patch for the documentation of polygon_z_normal()

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


Robert Ohannessian wrote:
So what would be a good method for back-face culling without first
converting into screen space? The advantage this has is that it saves

a

persp_project() call for any vertices who'se polys are completely
obscured.


The trouble is that back-face culling requires you to know where your
geometry is in screen-space. You can't just use clip space / eye space
for this, or you'll either miss faces that could be back-face culled, or
you'll cull too many faces.


So shall we just stick to the polygon_z_normal() method and agree that back-face culling in camera space is a concept that's too complicated for the basic Allegro package?


AE.




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/