[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #44736] OpenGL / gl2ps printing alters or drop
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #44736] OpenGL / gl2ps printing alters or drops axis outline |
Date: |
Mon, 06 Apr 2015 17:59:46 +0000 |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:36.0) Gecko/20100101 Firefox/36.0 |
Follow-up Comment #8, bug #44736 (project octave):
The code is in gl-render.cc in draw_patch.
patch_tesselator tess (this, fc_mode, fl_mode, 1.0);
and then
tess.begin_polygon (true);
tess.begin_contour ();
The patch_tesselator class is defined in gl-render.cc at the top of the file.
The begin_polygon() routine is
void begin_polygon (bool filled = true)
{
gluTessProperty (glu_tess, GLU_TESS_BOUNDARY_ONLY,
(filled ? GL_FALSE : GL_TRUE));
fill = filled;
gluTessBeginPolygon (glu_tess, this);
}
Octave gives over the vertices to OpenGL which then breaks the polygon into
triangles and calls the vertex() callback (line 459) for every vertex to set
color and lighting properties.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?44736>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #44736] OpenGL / gl2ps printing alters or drops axis outline, Dan Sebald, 2015/04/05
- [Octave-bug-tracker] [bug #44736] OpenGL / gl2ps printing alters or drops axis outline, Rik, 2015/04/06
- [Octave-bug-tracker] [bug #44736] OpenGL / gl2ps printing alters or drops axis outline, Rik, 2015/04/06
- [Octave-bug-tracker] [bug #44736] OpenGL / gl2ps printing alters or drops axis outline, Dan Sebald, 2015/04/06
- [Octave-bug-tracker] [bug #44736] OpenGL / gl2ps printing alters or drops axis outline, Rik, 2015/04/06
- [Octave-bug-tracker] [bug #44736] OpenGL / gl2ps printing alters or drops axis outline, Dan Sebald, 2015/04/06
- [Octave-bug-tracker] [bug #44736] OpenGL / gl2ps printing alters or drops axis outline, Rik, 2015/04/06
- [Octave-bug-tracker] [bug #44736] OpenGL / gl2ps printing alters or drops axis outline, Dan Sebald, 2015/04/06
- [Octave-bug-tracker] [bug #44736] OpenGL / gl2ps printing alters or drops axis outline, Dan Sebald, 2015/04/06
- [Octave-bug-tracker] [bug #44736] OpenGL / gl2ps printing alters or drops axis outline,
Rik <=
- [Octave-bug-tracker] [bug #44736] OpenGL / gl2ps printing alters or drops axis outline, Dan Sebald, 2015/04/06