Jump to content
Sign in to follow this  
HopperAE

Scatter pscale changes every frame!

Recommended Posts

Hey, I have a very frustrating issue. 

I have an alembic that I have scattered points onto and managed to get them to stick in place. 

The problem is now the random values I have assigned to these points i.e pscale, change every frame. Does anyone have an idea how resolve this, please? 

 

Thanks 

 

Andy 

Capture.JPG

Share this post


Link to post
Share on other sites

Your scatter is operating on time dependent geometry so probably producing different results every frame and also making your attribinterpolate sort of useless

Make sure to frame hold your geo before scatter

If your geo is just deforming, attribinterpolate will make sure points stick to corresponding prims

Share this post


Link to post
Share on other sites

okay thanks! 

 

So I need the particles to stick on the deforming geo but also for the values to stick to the particles i.e pscale. 

 

I used an attribute transfer from a held frame after the interpolate not sure it is working tho. 

 

thanks 

Share this post


Link to post
Share on other sites

you don't have to attribtransfer anything

in Attribinterpolate specify only P instead of * if you don't want it to update other attributes from the right input

Share this post


Link to post
Share on other sites

Thank you so much anim!

 

I'm learning a lot! 

I think i have worked out the problem tho.

I basically am trying to delete points outside the FOV to make it run faster. The problem is that this seems to change the point number so it starts flashing all over the place. 

Any ideas of how I can trim point outside the FOV without changing the actual point data? 

 

Thanks 

 

Andy 

 

Share this post


Link to post
Share on other sites

Delete them after attribinterpolate as before they are not in the correct position relative to the camera anyway

Alternatively store unique @id attribute on points before deleting, then after deleting this attribute value will not change so you can use it as a seed for attribute randomize nodes which will then produce stable values per point

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  

×