logix1390 Posted June 16, 2018 Share Posted June 16, 2018 Hello, I have a bunch of lines copied to points. I make a ramp based on the curveu then apply the onoise function after I copied the lines It works fine, just that when i increase my noise really high, it seems like the geometry travels in a particular direction and not truly randomized. I apply this wrangle after i copy the lines int turb=chi("Turb"); float rough=ch("rough"); float atten= ch("atten"); @P+= onoise(@P,turb,rough,atten)*@Cd.x; I looked up the onoise function in the help files, and i have followed it directly. Maybe I am missing somthing else? I will attach my file for anyone that wants to take a look Thank you Noise_on_lines.hip Quote Link to comment Share on other sites More sharing options...
bunker Posted June 16, 2018 Share Posted June 16, 2018 (edited) *@Cd.x is the problem, it converts your 3D noise into 1D noise you can add an explicit vector casting: *vector(@Cd.x) // I also added some parameters for: frequency/offset/amplitude @P+= vector(onoise(@P*chf("freq")+chv("offset"),chi("turb"),ch("rough"),ch("atten")))*vector(@Cd.x)*chf("amp"); Edited September 7, 2019 by bunker Quote Link to comment Share on other sites More sharing options...
logix1390 Posted June 17, 2018 Author Share Posted June 17, 2018 Ahh makes sense.. Thank you bunker! 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.