[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #53958] 'light' function not working for patch
From: |
Markus Mützel |
Subject: |
[Octave-bug-tracker] [bug #53958] 'light' function not working for patch objects |
Date: |
Wed, 13 Jun 2018 03:32:30 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:61.0) Gecko/20100101 Firefox/61.0 |
Follow-up Comment #6, bug #53958 (project octave):
The "VertexNormals" are calculated only if "VertexNormalsMode" is "auto",
"FaceLighting" or "EdgeLighting" are set to "gouraud" and a light object is
present in the same axes.
For the "FaceNormals" to be calculated, "FaceLighting" or "EdgeLighting" has
to be set to "flat" (which is the case with the default values) together with
the other two conditions.
That is what Matlab seemed to do when I looked at it.
Maybe this should be documented somewhere. But I don't know where this would
fit. In the docstrings for patch and surface maybe?
With the default values there are currently no visible lighting effects
because of bug #54024.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?53958>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/