A question for vector4 in vex

   438   2   1
User Avatar
Member
22 posts
Joined: 9月 2023
Offline
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!!!

Attachments:
Screenshot_20231228_152138_tv.danmaku.bili_edit_695286276219426.jpg (311.3 KB)

User Avatar
Member
4515 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.
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 | animatrix2k7.gumroad.com
User Avatar
Member
208 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.
Edited by kodra - 2023年12月28日 04:26:16
  • Quick Links