Average out a RaySOP position and normal (smooth it) -

   112   1   1
User Avatar
Member
1 posts
Joined: Aug. 2018
Offline
I have an ocean spectrum and ocean evaluate node.

I want to pin a small boat model to it and have set-up a ray sop for this so it moves with the waves (geo) It’s working but it’s obviously very erratic as the waves on the oceanspectrum are choppy.

Can anyone give me advice on a set-up to average out the position and rotation of the boat. To smooth it out. (After the ray sop node)

I’ve tried attribute blur but it doesn’t seem to smooth it out. The orientation is the main issue. The normal is obviously jittering around a lot. I just want to smooth this out.

I have a single point extracted from the boat model > raysop and I’m copying my boat model back onto that deformed point.

Any help would be great.
User Avatar
Staff
32 posts
Joined: June 2018
Offline
You could scatter points on a circle and ray those points onto your ocean evaluate. Then you could use an attribute promote to get the averaged normal. This is convenient because you can scale the circle up or down depending on how smooth you want it. Additionally you can smooth out you normal over time using chops
  • Quick Links