Jump to content
Sign in to follow this  
nibbla

Normals pointing to center

Recommended Posts

Hello!


Noob question here.

I'm trying to get the point normals of a primitive (polygon) to point towards the center of the primitive. What I want to achieve are lines bent towards the center of two triangles - a large and a small one - via the copy to points SOP. I can get it to work for the large one, as the normals are pointing to a vector in the 0,0,0-position. But how to do it for a shape that doesn't have its center in the 0,0,0 position?

File attached.

 

As a bonus question I would like to know the easiest way of copying a smaller triangular shape to the corner of the parent shape (see visualization). If possible :)

 

All the best,

Nibbla

trianglevis.jpg

center normals.hipnc

Edited by nibbla

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×