Jump to content
thanaras

Noise "Sticking" to Animated Geometry

Recommended Posts

Hello and Happy New Year,

I am having an animated geometry in which I want to apply some noise (for example worley). The problem though, is that as the geometry moves in space the shapes created are changing because the geometry is moving along the noise pattern. Is there any way to apply the noise and then somehow lock it? Thanks

Share this post


Link to post
Share on other sites

create rest attribute with Rest SOP on your geometry before animating

then base your noise on rest attribute instead of P

or you can base it on uv as well

it depends on what you are doing

if your geometry is animated already (like geometry sequence, maybe from other soft)

then you can use Timeshift SOP to freeze geometry on one frame and use that as second input in Rest SOP

or you can also copy it with Attribute Copy from static geo

  • Like 1

Share this post


Link to post
Share on other sites

create rest attribute with Rest SOP on your geometry before animating

then base your noise on rest attribute instead of P

or you can base it on uv as well

it depends on what you are doing

if your geometry is animated already (like geometry sequence, maybe from other soft)

then you can use Timeshift SOP to freeze geometry on one frame and use that as second input in Rest SOP

or you can also copy it with Attribute Copy from static geo

sweet! thanks anim(?)!

Share this post


Link to post
Share on other sites

Hello,

I'm trying to get the same thing but working with deforming geometries.

Rest SOP has the rest normal too but how exactly I can use this rnml attribute to orient the noise ?

Edited by NNois

Share this post


Link to post
Share on other sites

Ok I was able to auto-solve this by creating an orient attribute and a rest orient attribute to maintain the original noise flow.

The orient attribute is created from a polyframe with N and up followed in a wrangle

matrix3 m = maketransform(@N,@up);
vector4 q = quaternion(m);
p@orient = q;
p@rorient = q;
v@rest = @P;

 

MDP_shoot_171120-123315.jpg

  • Like 2

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

×