-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4afcb10
commit 68a99ea
Showing
4 changed files
with
38 additions
and
0 deletions.
There are no files selected for viewing
Binary file added
BIN
+194 KB
docs/user_guide/nodes/geometry/gifs/point_list_normal_node_example.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
Point List Normal | ||
================= | ||
|
||
Description | ||
----------- | ||
This node takes multiple vectors which represent points of a polygon and return the normal of that polygon. | ||
|
||
At least 3 points are needed to compute the normal. If more than 3 points were input, the resulted normal will be the average of the normals of each 3 points. | ||
|
||
.. image:: images/point_list_normal_node.png | ||
:width: 160pt | ||
|
||
Inputs | ||
------ | ||
|
||
- **Point List** - A vector list that contain the locations of the polygon points. | ||
|
||
Outputs | ||
------- | ||
|
||
- **Normal** - A unit vector that represent the normal of the polygon. A zero vector if points weren't valid. | ||
- **Is Valid** - A boolean which is True if blender was able to calculate the normal. | ||
|
||
Advanced Node Settings | ||
---------------------- | ||
|
||
- N/A | ||
|
||
Notes | ||
----- | ||
|
||
The order of points matter as cross product is used to compute the normals, So points in reversed order will return a normal that is in the reverse direction of the normal computed by the original list. | ||
|
||
Examples of Usage | ||
----------------- | ||
|
||
.. image:: gifs/point_list_normal_node_example.gif |