jamesearnest244 Posted April 11, 2020 Share Posted April 11, 2020 Hi everyone, In this file I built a basic setup of a deforming tube, and for some reason the ptnum value keeps changing abruptly mid-animation. The topology and number of points doesn't change, and I just can't figure out what is causing this. The problem happens at frames 51>52, and then again at 114>115, 177>178, and probably again afterwards. I tried lots of different things and nothing worked. I'd appreciate any help! ptnum_problem.hip Quote Link to comment Share on other sites More sharing options...
Noobini Posted April 11, 2020 Share Posted April 11, 2020 definitely the sine, it's cyclical, disable the sine (trig)...no more number flips. how to fix ? still thinking Quote Link to comment Share on other sites More sharing options...
Noobini Posted April 11, 2020 Share Posted April 11, 2020 got it...use a polywire instead of sweep - enable curveu in resample - use polywire - radius:0.4*(@curveu+0.05) or thereabouts Quote Link to comment Share on other sites More sharing options...
konstantin magnus Posted April 11, 2020 Share Posted April 11, 2020 Create the cylinder first and use something like the wire deform-SOP afterwards. Constantly resampling and re-sweeping is not a good idea when you aim for stable point numbers. Quote Link to comment Share on other sites More sharing options...
jamesearnest244 Posted April 13, 2020 Author Share Posted April 13, 2020 (edited) Alright, I used the Wire Deform method and it worked. Thanks a lot for the help! I wonder why the numbers go crazy though. I guess it's just best to avoid re-generating geometry as part of the node network if it can be avoided. Edited April 13, 2020 by jamesearnest244 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.