Jump to content
zjie

pscale flickering due to changing id

Recommended Posts

Hi all, I am currently having this issue of pscale flickering due to changing id every frame, is there a way to predetermine the id before the playback, so that the id will always be the same?

2019-10-14_2347.thumb.png.7d808ec401d4fb09aa9f1ae2257d1620.png

pscaleID.mp4

pscaleID_v001.hip

Edited by zjie

Share this post


Link to post
Share on other sites

point count is always changing, hence using @ptnum for any randomization will always give new result on each frame...try to find an invariant that will always be the same (I know this has not answered your question , sorry :) ) . I've tried using origpt instead, did not look right though, but I think it should be used as a starting point. Also, another idea (which is slow and inefficient) is to use to use the last frame of the animation where you have the full tree and assign pscale based on origpt and use transfer attributes to transfer pscale to the dynamic points (but again, I am sure it's easier to use origpt in the first place...)

 

Share this post


Link to post
Share on other sites

Thanks Thomas, that helps for this case. But I was also wondering if there is a way like what catchyid have mentioned, get the last frame of the animation and transfer the id back to the starting frame?

Share this post


Link to post
Share on other sites

You mean if you only had a filecache with @P and points? The problem is the changing pointcount, you have no points to transfer to in the beginning and they are not located at the same position. Seems like any solution would be hacky at best.

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

×