[Sidefx-houdini-list] array elements referring in VEX

Szymon Kapeniak szymon.kapeniak at gmail.com
Tue Aug 24 05:57:15 EDT 2010

me or vex can't handle referencing array's element as user function's
variable. Is it my mistake (hopefully), or in fact a current
limitation (rsl seems to work this way)?


void userf(float a) {  a = 1.0; }

surface test()

   float test[] = {0,0,0};
   printf("%f", test);


if userf() is changed to accept w whole array, this of course works:

void userf(float a[]) { a[0] = 1.0; }

thanks for any comments!

More information about the Sidefx-houdini-list mailing list