[gl2ps] Re: Wierd problem with gl2ps under Mac OS X
Prabhu Ramachandran
prabhu at aero.iitm.ernet.in
Mon Feb 23 19:00:52 CET 2004
>>>>> "KH" == Konrad Hinsen <hinsen at cnrs-orleans.fr> writes:
KH> On Sunday 22 February 2004 08:30, Prabhu Ramachandran wrote:
>> How does one submit this bug report to Apple? Do you have
>> specific
KH> They have a bug management system at
KH> http://developer.apple.com/bugreporter/
KH> I can file a report there (I am already a member of the "Apple
KH> Developer Connection"), but I am rather ignorant about the
KH> nature of the bug. I can't offer any simple demonstration
KH> either. If I were Apple, I wouldn't be delighted in having
KH> install VTK in order to verify the problem.
KH> Is it possible to demonstrate the bug with a plain C program?
Yes, I think it should be. Just download this:
http://www.geuz.org/gl2ps/src/gl2ps-1.1.2.tar.gz
untar it,
$ cd gl2ps-1.1.2
$ gcc -O3 gl2psTest.c gl2ps.c -framework OpenGL -framework GLUT \
-framework Cocoa
Now, run ./a.out and press 's' to save a bunch of eps files. I think
you'll see no shading for the torus (or teapot). If that is the case,
I think you can tell the developers this and tell them that their
OpenGL implementations is broken. Specifically its broken when
glRenderMode is set to GL_FEEDBACK and no shading information appears
to make it into the feedback buffer. Christophe, please correct me if
I'm wrong.
cheers,
prabhu