octave-bug-tracker
[Top][All Lists]
Advanced

[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: Pantxo Diribarne
Subject: [Octave-bug-tracker] [bug #44111] Images not printed when there's a 3D axes in the figure
Date: Wed, 04 Feb 2015 11:12:27 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0

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

Hi,

@Rik: maybe we used to but AFAICS we currently don't use
GL2PS_POLYGON_OFFSET_FILL. If I modify gl2ps-renderer this way:


diff -r fd9a5da4afff libinterp/corefcn/gl2ps-renderer.cc
--- a/libinterp/corefcn/gl2ps-renderer.cc       Tue Feb 03 12:51:54 2015 +0100
+++ b/libinterp/corefcn/gl2ps-renderer.cc       Wed Feb 04 12:00:24 2015 +0100
@@ -112,6 +112,7 @@
           if (ret == GL2PS_ERROR)
             error ("gl2ps-renderer::draw: gl2psBeginPage returned
GL2PS_ERROR");
           old_print_cmd = print_cmd;
+          gl2psEnable (GL2PS_POLYGON_OFFSET_FILL)
           opengl_renderer::draw (go);



The following scripts renders the colorbar perfectly:

sombrero (); colorbar (); print -dpng toto.eps


So it looks like a very good idea Rik. Am I correct that we unconditionally
want to use this feature (BSP sort or not)? Should I go ahead with this
change?

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?44111>

_______________________________________________
  Message posté via/par Savannah
  http://savannah.gnu.org/




reply via email to

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