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

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

[Octave-bug-tracker] [bug #44181] Tesselation lines visible in plot outp


From: Dan Sebald
Subject: [Octave-bug-tracker] [bug #44181] Tesselation lines visible in plot output of patches
Date: Tue, 07 Apr 2015 21:36:49 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:18.0) Gecko/20100101 Firefox/18.0 SeaMonkey/2.15

Follow-up Comment #16, bug #44181 (project octave):

I just put the code here as a reference if ever someone wants to revisit the
issue.

In any case, the convexity test isn't for 3D (there's only X and Y in the
sample script).  In the function opengl_renderer::draw_patch is already a
variable "has_z" to discern whether a projection would be done:


        if (has_z)
          vv(2) = v(idx,2);


in which case, if true, one wouldn't even check for convexity.

GLU does the tessellation, which I assume calls the OpenGL routine for convex
polygons for each triangle.  In the case of actual convex polygons, I don't
see how triangulating the polygon can be more efficient, regardless of
hardware--which nonetheless doesn't come into play for gl2ps, the original
problem (i.e., tessellation artifacts).



    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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