How does the "time"affect the coordinates x y z?
In other words,how does the vector4 work in Houdini?
I am not good at high-level math, so I would appreciate if you could use simple words to explain it.
Thank you in advance!!!
A question for vector4 in vex
452 2 1- hfsxddut
- Member
- 22 posts
- Joined: 9月 2023
- Offline
- animatrix_
- Member
- 4528 posts
- Joined: 2月 2012
- Offline
Hi,
It depends on the implementation of the noise but with a 4th component, you are basically utilizing a 4D noise where the last component is time.
It depends on the implementation of the noise but with a 4th component, you are basically utilizing a 4D noise where the last component is time.
Senior FX TD @ Industrial Light & Magic
Get to the NEXT level in Houdini & VEX with Pragmatic VEX! [www.pragmatic-vfx.com]
youtube.com/@pragmaticvfx | patreon.com/animatrix | pragmaticvfx.gumroad.com
Get to the NEXT level in Houdini & VEX with Pragmatic VEX! [www.pragmatic-vfx.com]
youtube.com/@pragmaticvfx | patreon.com/animatrix | pragmaticvfx.gumroad.com
- kodra
- Member
- 213 posts
- Joined: 6月 2023
- Offline
vector4 works as vector4. There is nothing special about the fourth parameter.
Time doesn't affect x, y, z unless you make it so.
@Time is a built-in variable which is current position on your timeline in seconds.
Your question is more about how noise() works, not vector4. Noise is like random number, but looks "continuous". By changing any of x, y, z and w gradually, you change the sampled result gradually.
As you use @Time as w, and @Time changes over time (of course), your samples result will change over time as well.
Time doesn't affect x, y, z unless you make it so.
@Time is a built-in variable which is current position on your timeline in seconds.
Your question is more about how noise() works, not vector4. Noise is like random number, but looks "continuous". By changing any of x, y, z and w gradually, you change the sampled result gradually.
As you use @Time as w, and @Time changes over time (of course), your samples result will change over time as well.
Edited by kodra - 2023年12月28日 04:26:16
-
- Quick Links