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 17:47:05 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:18.0) Gecko/20100101 Firefox/18.0 SeaMonkey/2.15

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

I'm attaching a small script to illustrate checking for convexity.  See the
discussion here:

https://savannah.gnu.org/bugs/?44736

My thought was to add this test to patch.m (or __patch__.m, or __go_patch__.m,
whichever is appropriate) and then call either the existing patch routine or
one that is more simple using the OpenGL filled polygon routines as opposed to
the GLU tessellation routines.

However, the 

opengl_renderer::draw_patch (const patch::properties &props)

routine in gl-render.cc is rather long to replicate, so it would make more
sense to pass in some property "isconvex".  I don't know how to do that. 
Given the layout of the code, it seems easier to simply replicate the
convexity test in C++ code of opengl_renderer::draw_patch.


(file #33583)
    _______________________________________________________

Additional Item Attachment:

File name: convexity.m                    Size:0 KB


    _______________________________________________________

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]