Hello;
Is there any noise function exactly same as turbluance noise in VEX (with fraquency adjustment parameter)?
Thanks.
What is equivalent noise of turbulence noise in VEX?
2475 2 0- Masoud
- Member
- 407 posts
- Joined: Aug. 2015
- Offline
- tamte
- Member
- 8551 posts
- Joined: July 2007
- Online
it depends on noise type, you can check the code produced by the attribvop (RMB/VEX_VOP Options/View VEX Code)
so for example for Aligator noise you can use:
for Simplex noise:
etc…
so for example for Aligator noise you can use:
vector freq = {2,2,2}; vector off = {0,0,0}; float amp = 3; float rough = 0.5; float atten = 1; int turb = 5; // float noise // v@Cd = amp*anoise(v@P*freq - off, turb, rough, atten); // vector noise v@Cd = anoise(v@P*freq - off, turb, rough, atten); v@Cd *= amp;
for Simplex noise:
#include <voplib.h> vector freq = {2,2,2}; vector off = {0,0,0}; float amp = 3; float rough = 0.5; float atten = 1; int turb = 5; // float noise // v@Cd = vop_simplexNoiseVF(v@P*freq - off, turb, amp, rough, atten); // vector noise v@Cd = vop_simplexNoiseVV(v@P*freq - off, turb, amp, rough, atten);
etc…
Tomas Slancik
FX Supervisor
Method Studios, NY
FX Supervisor
Method Studios, NY
- Masoud
- Member
- 407 posts
- Joined: Aug. 2015
- Offline
-
- Quick Links