newbee Posted September 30, 2019 Share Posted September 30, 2019 i was trying to generate a 3d noise.. but i only get 2d noise can some one tell me how to get the 3d noise vector freq = {1,1,1}; vector offset = {0,0,0}; float amp = 1; int turb = 5; float rough = 0.5; float atten = 1; v@noise=anoise(@P*freq - offset, turb, rough, atten) * amp; @P+=v@noise; Quote Link to comment Share on other sites More sharing options...
newbee Posted October 1, 2019 Author Share Posted October 1, 2019 (edited) ok solved! vector freq = {1,1,1}; vector offset = {0,0,0}; float amp = 1; int turb = 5; float rough = 0.5; float atten = 1; v@noise=anoise(@P*freq - offset, turb, rough, atten); anoise*=amp; @P+=v@noise; Edited October 1, 2019 by newbee 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.