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

 
 

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

Submitter:  Markus Mützel <mmuetzel>
Submitted:  Thu 14 Jul 2016 07:21:36 AM UTC
   
 
Category:  Plotting Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * dev Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

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>
Group administrator
Thu 14 Jul 2016 07:26:06 AM UTC, comment #1: 

Here the changeset.

(file #37868)

Markus Mützel <mmuetzel>
Group administrator
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:

gcf
mesh (peaks);
light ();


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>
Group administrator

 

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

Attach Files:
   
   
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
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by mmuetzel (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-08-22 rik5 StatusNone Fixed
        Open/ClosedOpen Closed
    2016-07-14 mmuetzel Attached File- Added mesh_lighting.patch, #37868

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code