Jump to content

Geometry on points not orientated to surface


Recommended Posts

Hi all,

I have a diagonal plane where I have made a particle flow.
While running the sim, I saw that all the particle normals are 'pointing outwards', perpendicular to the plane.

I create a sphere, deform it then uses a 'copytopints' node, connecting the sphere and the particles, I saw that the sphere generated on those points are not oriented/ aligned to the surface.

Any ideas?

Link to comment
Share on other sites

In this case, your particles most likely have a velocity attribute. When velocity is present, copy to points prioritizes that value over the normal.

You can try promoting your normal value to the orient attribute in a wrangle. Something like @orient = dihedral({0,1,0}, @N)

Link to comment
Share on other sites

Hi all,

 initial.jpg.006aec34272cb55a92890bda9b13da4e.jpg

 

In the above image, you can see that the sphere is shown as vertically up against a slope surface.

Then I try to conform the rotation by changing the sphere orientation to use Z-axis, and so I got the following:
change_rotation.jpg.b2b55007cfdef1f99d366f0d7d42fe52.jpg

Feel free to correct me if I am wrong, but I had thought this will be better when it is cooking the node - vdbsmooth. In any case, still, the sphere is still not being oriented/ conformed to the surface (you can see in the above image, the sphere on the left foreground)

This is my file - particles_orientation.hip

Edited by salik
Link to comment
Share on other sites

40 minutes ago, woodenduck said:

if you add some point normals to your grid before the scatter and ray, you will see spheres correctly oriented. 

Cheers, 

WD

That seems to have work! Now I have a question - when will I need to add in the use of Normal node?

I asked because, initially via the viewport, I was given the impression that all the points generated have normals as defined by the blue lines...

Edited by salik
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...