[gl2ps] GL2PS_OCCLUSION_CULL ignores GL2PS_BLEND

Travis Cobbs tcobbs+gl2ps at gmail.com
Wed May 7 19:44:06 CEST 2008


The GL2PS_OCCLUSION_CULL setting culls faces that are behind transparent
polygons, even when GL2PS_BLEND is properly used.  This produces very ugly
output.  Here is an example:

http://www.halibut.com/~tcobbs/ldraw/private/CAR-Cull.zip

Unfortunately, if I don't use the GL2PS_OCCLUSION_CULL option, my file comes
out about 10 times bigger.  It does look correct, though.  Here is the same
file (WARNING: really big SVG inside the zip):

http://www.halibut.com/~tcobbs/ldraw/private/CAR-NoCull.zip

I know that gl2ps hasn't received much in the way of updates lately (even on
the CVS snapshot), so if anyone could even suggest what needs to be done to
fix the problem, I'll give the fix a try myself.

Thanks.

--Travis Cobbs
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gl2ps/attachments/20080507/a53cf4a4/attachment.html>