[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #44111] Images not printed when there's a 3D a

From: Rik
Subject: [Octave-bug-tracker] [bug #44111] Images not printed when there's a 3D axes in the figure
Date: Wed, 04 Feb 2015 16:46:06 +0000
User-agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1)

Follow-up Comment #9, bug #44111 (project octave):

@Pantxo: It may be that we have been using gl2ps incorrectly for a long time. 
The current strategy is to create a GL context with gl2ps and then use the
regular draw routines in gl-render.cc to draw the object.  Finally the GL
context is printed out by gl2ps.  The code in gl-render.cc, however, does lots
of option checking and option setting using glEnable rather than gl2psEnable. 
This might be a source of the problem.  Maybe we were hoping that glEnable
within the gl2ps context was overloaded and that it calls gl2psEnable.  I'm
not sure.  What I would hate to do is have to duplicate the entire
gl-render.cc file and replace every occurrence of glXXXX with gl2psXXXX.

It would be best to find out if we are doing this wrong rather than
unconditionally enable GL2PS_POLYGON_OFFSET_FILL.


Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]