How many times to run VEXpression??

   676   1   0
User Avatar
Member
1 posts
Joined: May 2022
Offline
Hi guys, I am a beginner for Houdini and I got question that makes me confused.

I wrote a VEXpression and run it on Points. (There are 100 points) So does this expression run on every single point? Or it will just run only time.

I thought it should be run on every single point, but actually it only run one time, also it effects all the points. How does it happen?

Sorry for my English...

Attachments:
1.png (701.2 KB)

User Avatar
Member
8523 posts
Joined: July 2007
Online
gamelovin
I thought it should be run on every single point, but actually it only run one time, also it effects all the points. How does it happen?
it runs on every single point (within group) independently

so :
i@num += 1;
will take the current i@num value of a point and adds 1 to it
so if every point had i@num = 0 (or if there wasn't i@num attribute on the geo yet) then i@num value for each point will become 1
Edited by tamte - May 16, 2022 11:58:54
Tomas Slancik
FX Supervisor
Method Studios, NY
  • Quick Links