[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-patch-tracker] [patch #8951] Automatically calculate "vertexnorm

From: Markus Mützel
Subject: [Octave-patch-tracker] [patch #8951] Automatically calculate "vertexnormals" and "facenormals" for patch objects
Date: Thu, 12 Jul 2018 06:10:12 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0

Follow-up Comment #29, patch #8951 (project octave):

As cross-reference from bug #53958:
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? 


Reply to this item at:


  Message sent via Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]