HopperAE Posted January 14, 2020 Share Posted January 14, 2020 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 Quote Link to comment Share on other sites More sharing options...
anim Posted January 14, 2020 Share Posted January 14, 2020 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 Quote Link to comment Share on other sites More sharing options...
HopperAE Posted January 14, 2020 Author Share Posted January 14, 2020 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 Quote Link to comment Share on other sites More sharing options...
anim Posted January 14, 2020 Share Posted January 14, 2020 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 Quote Link to comment Share on other sites More sharing options...
HopperAE Posted January 15, 2020 Author Share Posted January 15, 2020 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 Quote Link to comment Share on other sites More sharing options...
anim Posted January 15, 2020 Share Posted January 15, 2020 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.