Jump to content

Normal Control


kidsreturnjj

Recommended Posts

u didn´t send the file. But if u wanna the normals to point the center of the sphere (from the grid), u should subtract the sphere position from the points on the grid positions. And then, probably, normalize the vector. If the vectors dont show up, try to increase the normal length in the preferences.

Link to comment
Share on other sites

u didn´t send the file. But if u wanna the normals to point the center of the sphere (from the grid), u should subtract the sphere position from the points on the grid positions. And then, probably, normalize the vector. If the vectors dont show up, try to increase the normal length in the preferences.

I tried to do just that, but I am running in some problems.

The sphere is default only one point, so if you use a vop sop to subtract point positions only point 0 of the grid points at the sphere and the rest at 0,0,0.

The only way I found is to give the sphere exactly the same point count as the grid, but there must be a better way to achieve this effect.

What I don't get is why the point of the sphere is not resampled for each point ( and the for loop does not seam to work for this problem either)

any way around this problem with uneven point counts?

cheers,

Juri

Link to comment
Share on other sites

allright.....

I just answered my own question.

the solution is a npoints node between the total point count of the global and the point number input of the import attribute.

here is a hip giving you as many normals from any object pointing to a single point in space.

cheers,

Juri

NormalControl.hipnc

Edited by JuriBryan
Link to comment
Share on other sites

allright.....

I just answered my own question.

the solution is a npoints node between the total point count of the global and the point number input of the import attribute.

here is a hip giving you as many normals from any object pointing to a single point in space.

cheers,

Juri

wire a constant with a value of 0 into the ptnum input if you want to import just one point.

hth.

petz

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...