Simple Normal problem

   2496   7   2
User Avatar
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

Attachments:
normals.jpg (167.1 KB)

User Avatar
Member
670 posts
Joined: Sept. 2013
Online
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]
Edited by Konstantin Magnus - Dec. 16, 2018 07:40:37
https://procegen.konstantinmagnus.de/ [procegen.konstantinmagnus.de]
User Avatar
Member
217 posts
Joined: March 2006
Offline
Hi Konstantin,

fine for a rectangle but not working for my sample shape.
OK, try to see all tuts;o)

Detlef
anyone another idea for my prim No 3?

Attachments:
normals2.jpg (39.1 KB)

User Avatar
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.
https://www.youtube.com/c/sadjadrabiee [www.youtube.com]
Rabiee.Sadjad@Gmail.Com
User Avatar
Member
1391 posts
Joined: Dec. 2010
Offline
Check the hip file


Image Not Found
Edited by Sadjad Rabiee - Dec. 16, 2018 09:42:05

Attachments:
JK_N.png (29.4 KB)
JKRotate_Normal.hip (158.7 KB)

https://www.youtube.com/c/sadjadrabiee [www.youtube.com]
Rabiee.Sadjad@Gmail.Com
User Avatar
Member
217 posts
Joined: March 2006
Offline
Wonderful, it's now my favorite Sop-compination ever!

That makes my day;o)
Detlef
User Avatar
Member
670 posts
Joined: Sept. 2013
Online
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]
User Avatar
Member
217 posts
Joined: March 2006
Offline
Thanks a lot Konstantin,
now working forward for an asset I ran into the next problem. Just want to copy a geo to point normals and don't understand why they rotate in different directions…. What I'm doing wrong?

Thanks
Detlef

Attachments:
normals3.jpg (203.0 KB)
frameProblem01.hip (79.1 KB)

  • Quick Links