zjie Posted October 14, 2019 Share Posted October 14, 2019 (edited) 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? pscaleID.mp4 pscaleID_v001.hip Edited October 14, 2019 by zjie Quote Link to comment Share on other sites More sharing options...
catchyid Posted October 14, 2019 Share Posted October 14, 2019 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...) Quote Link to comment Share on other sites More sharing options...
ThomasPara Posted October 14, 2019 Share Posted October 14, 2019 Heres a way to do it. pscaleID_v001_fix.hiplc Quote Link to comment Share on other sites More sharing options...
zjie Posted October 17, 2019 Author Share Posted October 17, 2019 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? Quote Link to comment Share on other sites More sharing options...
ThomasPara Posted October 17, 2019 Share Posted October 17, 2019 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. 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.