bugGNU Octave - Bugs: bug #48507, Change default value of...

 
 

bug #48507: Change default value of "FaceLighting" and "EdgeLighting" in "mesh" and "meshc"

Submitted by:  Markus Mützel <mmuetzel>
Submitted on:  Thu 14 Jul 2016 07:21:36 AM UTC  
 
Category: PlottingSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: FixedAssigned to: None
Originator Name: Open/Closed: Closed
Release: devOperating System: Any

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Mon 22 Aug 2016 04:42:48 PM UTC, comment #2:

I made the same change that you did for mesh, meshc, to trimesh since it seems like the same sort of visual display. I pushed your patch here (http://hg.savannah.gnu.org/hgweb/octave/rev/886530282db9). Fixed, closing report.

Rik <rik5>
Project Administrator
Thu 14 Jul 2016 07:26:06 AM UTC, comment #1:

Here the changeset.

(file #37868)

Markus Mützel <mmuetzel>
Project Member
Thu 14 Jul 2016 07:21:36 AM UTC, original submission:

When adding a light object to axes holding a mesh plot, the mesh gets the look of a surface:

The "FaceLighting" and "EdgeLighting" properties of meshes should be set to "none" and "flat", respectively. This is also what Matlab seems to do.

I will submit the trivial changeset as soon as I get a number for this bug.

Markus Mützel <mmuetzel>
Project Member

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #37868:  mesh_lighting.patch added by mmuetzel (2KiB - text/x-diff)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by mmuetzel (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 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 22 Aug 2016 04:42:48 PM UTCrik5StatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Thu 14 Jul 2016 07:26:06 AM UTCmmuetzelAttached File-=>Added mesh_lighting.patch, #37868

    Back to the top


    Powered by Savane 3.1-cleanup1