2008/5/8 Shahzad Muzaffar <Shahzad.Muzaffar@cern.ch>:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div bgcolor="#ffffff" text="#000000">
Hello,<br>
Please try to apply the attached patch ("patch -p0 <
gl2ps.1.32.culling.patch" in gl2ps version 1.32 directory). Basically
it just adds the following line<br>
<br>
if (prim->verts[0].rgba[3]<1.0F) return;<br>
<br>
at line number 1766 of gl2ps.c (version 1.32). i.e. function
gl2psAddPlanesInBspTreeImage () will look like<br>
<br>
if((*tree == NULL) && (prim->numverts > 2)){<br>
if (prim->verts[0].rgba[3]<1.0F) return;<br>
head = (GL2PSbsptree2d*)gl2psMalloc(sizeof(GL2PSbsptree2d));<br>
for(i = 0; i < prim->numverts-1; i++){<br>
<br>
This will avoid adding the transparant polygons in to the BSP tree map
used for culling. So polygon hidden under these will not be culled.
Please recompile and test again. Cheers,<br>
--Shahzad<br>
</div></blockquote></div><br>Thanks. That did indeed fix the problem.<br><br>--Travis<br><br>