Jump to content

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

Link to comment
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

Link to comment
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 

Link to comment
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 

 

Link to comment
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

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...