[gl2ps] Wierd problem under Mac OSX

Prabhu Ramachandran prabhu at aero.iitm.ernet.in
Sat Feb 21 20:50:06 CET 2004


Hi Christophe,

I think I have found a bug in gl2ps on Mac OS X.  I have no idea where
it occurs though.  One MayaVi user (Konrad Hinsen) was generating some
figures via VTK->gl2ps and found that the generated PS/EPS/PDF has
*no* shading.  I don't have a Mac so I have been asking the user to
mail me test output.  I am attaching two EPS figures, one was
generated on Linux and the other on the Mac OS X.  The linux version
renders correctly and generates shaded triangles in the EPS output,
the Mac version has no shaded triangles and looks flat.  The PDF
output is also similarly bad with no shading of the triangles.  Both
figures were generated using GL2PS_BSP_SORT.  I've asked for output
without sorting and will send those results along when I get them.
Here are the other options used:

 GL2PS_DRAW_BACKGROUND, GL2PS_SIMPLE_LINE_OFFSET, GL2PS_BEST_ROOT,
 GL2PS_OCCLUSION_CULL

The picture was generated via a small VTK-Python script.  I don't have
a pure OpenGL test program I can mail.  The script basically renders a
sphere and uses gl2ps to generate the PS output.

If you need more information please do let me know.

Thanks!

prabhu

-------------- next part --------------
A non-text attachment was scrubbed...
Name: test_lnx.eps
Type: application/postscript
Size: 47837 bytes
Desc: Linux version
URL: <http://www.geuz.org/pipermail/gl2ps/attachments/20040222/1c5f5962/attachment.eps>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test_osx.eps
Type: application/postscript
Size: 19761 bytes
Desc: OSX version
URL: <http://www.geuz.org/pipermail/gl2ps/attachments/20040222/1c5f5962/attachment-0001.eps>