[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, 11 Apr 2016 20:05:54 +0000 |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0 |
Follow-up Comment #3, patch #8951 (project octave):
A few other comments:
* now I see you have facenormals for free as a by product of your algorithm
for computing vertexnormals. This is at least another good reason to switch to
ML compatible properties.
* I don't think Octave supports non planar patches, does Matlab do? If not
then your algorithm can be simplified for polygons: any three vertices are
enough to compute the normal for the entire face.
* In step 2, I see a comment about weighted average, based on adjacent faces
area, but can't find it afterwards. Shouldn't weighting be done in Step 1?
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/patch/?8951>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/