@N = @P doesn't work as expected

   2863   2   0
User Avatar
Member
3 posts
Joined: Feb. 2017
Offline
Hello!
I'm trying to copy some geometry onto a half dome so that they're pointing outwards from the center.
I'm using @N = @P to calculate the normals but they look a little messed up for some points.
Does anyone have any insight on how to fix the normals?

Attachments:
normal.PNG (540.7 KB)

Technical Artist
User Avatar
Member
900 posts
Joined: Feb. 2016
Offline
maybe you should define also the correct upvector for each points?
https://www.sidefx.com/docs/houdini/copy/instanceattrs.html [www.sidefx.com]


Edited by Andr - March 31, 2021 10:06:32
User Avatar
Member
3 posts
Joined: Feb. 2017
Offline
Defining the up vector did the job. Thank you!
Technical Artist
  • Quick Links