generative modeling for Rhino
Hey to everybody
I wrote I programm in processing, now I want to port the functionallity to a grasshoper patch. But i stuck in Matrix Multipliaktion:
x = (3.037 *a -1.25 *b + 0.239 * b);
y = (0.42 * a + 2.325 * b -1.2440 * b);
z = (-0.689 * a + 0.2 * b + 7.45 * b);
How I can do... ist there a simple Block taht can do that. ?
Thanks
raphael
Tags:
Permalink Reply by Danny Boyes on March 22, 2012 at 10:19am
Permalink Reply by Hannes Löschke on March 22, 2012 at 10:37am Or you could use the trnsform matrix..
...and I'm sure the last variable is meant to read c, not b. Otherwise you could just add up the coeffs.
Permalink Reply by Rapheal Django Langa on March 22, 2012 at 11:49am thanks for the help ! excactl ywhat I need !
Permalink Reply by Rapheal Django Langa on March 23, 2012 at 6:00am hey i Just put my expressin in the "F3x" Block I rename the Input r,g,b and the output x
I put the formula: x= 3.037*r-1.25*g+0.239*b inside put rhino gives my message
"Syntax error: Unknown variable encountered: x"
I try different exprissions but nothing worked?
Permalink Reply by Danny Boyes on March 23, 2012 at 6:05am don't put "x=" as that is implied by F="Your Equation"
Permalink Reply by Rapheal Django Langa on March 23, 2012 at 6:12am mmh okay I changed to 3.037*r-1.25*g+0.239*b
and now is working !
Thanks
do I need a Input of "F" actully I need only the output x ?
Permalink Reply by Danny Boyes on March 23, 2012 at 6:15am Added by Mgeorgio 0 Comments 0 Likes
Added by Mgeorgio 0 Comments 0 Likes
© 2013 Created by Scott Davidson.
Powered by