octave-patch-tracker
[Top][All Lists]
Advanced

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

[Octave-patch-tracker] [patch #8951] Calculate vertexnormals for patch o


From: Pantxo Diribarne
Subject: [Octave-patch-tracker] [patch #8951] Calculate vertexnormals for patch objects
Date: Mon, 02 May 2016 08:05:10 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0

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

Sorry for the delay. Here are the answers for comment #9:
* Snippet 1: only facenormals are computed as I said in my previous comment
([0.7071 0 0.7071]).
* Snippet 2: for aligned vertices nothing is drawn, no warning, both normals
are empty
* Snippet 4: the normalmode property can still be get/set but a warning is
displayed "Warning: The NormalMode property will be removed in a future
release. "
* The results of your tests are not very informative since for triangular
patched and 'flat' lighting, ML doesn't seam to return any value for
facenormals (I can confirm that lighting is enabled on-screen though):


____Test 1____

ans =

     []


ans =

     []

____Test 2____

ans =

     []


ans =

     []

____Test 3____

ans =

     []


ans =

     []

____Test 4____

ans =

     []


ans =

     []

____Test 5____

ans =

     []


ans =

     []

____Test 6____

ans =

     0     1
     1     1
     0     0


ans =

     1     2     3


ans =

     []


ans =

     []


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/patch/?8951>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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