bugGNU Octave - Bugs: bug #40247, patch chooses wrong vertex for...

 
 

bug #40247: patch chooses wrong vertex for coloring face

Submitted by:  Rik <rik5>
Submitted on:  Fri 11 Oct 2013 06:02:09 PM UTC  
 
Category: Plotting with OpenGLSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Matlab Compatibility
Status: FixedAssigned to: None
Originator Name: Open/Closed: Closed
Release: devOperating System: Any

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sat 14 Dec 2013 06:36:58 AM UTC, comment #1:

Fixed in this changeset (http://hg.savannah.gnu.org/hgweb/octave/rev/647d806868ee). There is still an issue with "interp" shading in that the colors match the Mac version of Matlab, but not the Linux version.

Rik <rik5>
Project Administrator
Fri 11 Oct 2013 06:02:09 PM UTC, original submission:

According to the documentation, with "facecolor" = "flat", the patch color is taken from the first vertex specified in the "faces" property. Octave is using some other algorithm. Likely fix will be in gl-render.cc.

The following example should produce a red face.

Specifying a different first vertex, should change the color. So,

should color the face yellow because the 4th vertex (which is listed first and thus sets the color) facevertexcdata value is [1 1 0].

Rik <rik5>
Project Administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by rik5 (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 14 Dec 2013 06:36:58 AM UTCrik5StatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup