Simple Normal problem
2507 7 2- winkel
- Member
- 217 posts
- Joined: March 2006
- Offline
Hi,
reading tons of topics but can't find a solution.
Simple want to point all normals to outside of a grid. BTW I have other shapes but this is the simplest.
I have a shape (f.e. the grid)-> polyframe and use a point vop (transform matrix) to rotate them. Almost fine but why not all normal goes outside?
Thanks Detlef
reading tons of topics but can't find a solution.
Simple want to point all normals to outside of a grid. BTW I have other shapes but this is the simplest.
I have a shape (f.e. the grid)-> polyframe and use a point vop (transform matrix) to rotate them. Almost fine but why not all normal goes outside?
Thanks Detlef
- Konstantin Magnus
- Member
- 670 posts
- Joined: Sept. 2013
- Offline
Set the polyframe´s style to first edge and the bitangent name to N.
For handling more complex shapes I recommend going through some of Kim Goossens tutorials on Youtube:
https://www.youtube.com/user/3DisFuntastic/videos [www.youtube.com]
For handling more complex shapes I recommend going through some of Kim Goossens tutorials on Youtube:
https://www.youtube.com/user/3DisFuntastic/videos [www.youtube.com]
Edited by Konstantin Magnus - Dec. 16, 2018 07:40:37
https://procegen.konstantinmagnus.de/ [procegen.konstantinmagnus.de]
- winkel
- Member
- 217 posts
- Joined: March 2006
- Offline
- Sadjad Rabiee
- Member
- 1391 posts
- Joined: Dec. 2010
- Offline
Hi
If you want to rotate all of the N vectors in same direction, You would need on more vector as direction, So all of the Normals will rotating along this new vector and also you can use Rotate VOP instead of Transform Matrix VOP to use this new vector as a direction axis.
for doing this just add a Tangent vector with Poly Frame SOP (and set Style to First Edge).
Then use Tangent vector as a Axis of the Rotate VOP and finally multiply input Normals by Rotate VOP.
If you want to rotate all of the N vectors in same direction, You would need on more vector as direction, So all of the Normals will rotating along this new vector and also you can use Rotate VOP instead of Transform Matrix VOP to use this new vector as a direction axis.
for doing this just add a Tangent vector with Poly Frame SOP (and set Style to First Edge).
Then use Tangent vector as a Axis of the Rotate VOP and finally multiply input Normals by Rotate VOP.
- Sadjad Rabiee
- Member
- 1391 posts
- Joined: Dec. 2010
- Offline
- winkel
- Member
- 217 posts
- Joined: March 2006
- Offline
- Konstantin Magnus
- Member
- 670 posts
- Joined: Sept. 2013
- Offline
winkel
OK, try to see all tuts;o)
Nah, its probably just this one in this case: https://www.youtube.com/watch?v=tnDqwcNG20Y [www.youtube.com]
https://procegen.konstantinmagnus.de/ [procegen.konstantinmagnus.de]
- winkel
- Member
- 217 posts
- Joined: March 2006
- Offline
-
- Quick Links