[Sidefx-houdini-list] Expression syntax for matrices and vectors

Mario Marengo mario at axyzfx.com
Tue Oct 30 10:46:50 EDT 2007


On October 30, 2007 09:04 am, Andy Nicholas wrote:
> Matrix m = optransform("/obj/geom");
> float unitz_x = m[8];
> float unitz_y = m[9];
> float unitz_z = m[10];
> Vector v = {unitz_x, unitz_y, unitz_z};

Is that meant to be hscript, or VEX?
It's neither as written, but the optransform() function exists in both, as do 
the float, vector, and matrix types (all lowercase), so not clear what you 
mean.

-- 
......................................................................
Mario Marengo                                  mailto:mario at axyzfx.com
AXYZ ANIMATION                                 http://www.axyzfx.com
......................................................................



More information about the Sidefx-houdini-list mailing list