i'm using javascript to send message to ofxLiveDraw over OSC.
it seems that if i send an int from max as argument to scale, ofxLiveDraw won't accept it.
so:
outlet(0,"/livedraw/layers/"+name+"_LAYER"+"/transform/scale", scaleX, scaleY, scaleZ);
works only if scaleX, scaleY and scaleZ are floats;
it also appears that a "fixed" float doesn't work:
i.e.
outlet(0,"/livedraw/layers/"+name+"_LAYER"+"/transform/scale", scaleX.toFixed(4), scaleY.toFixed(4), scaleZ.toFixed(4));
which gives
print: /livedraw/layers/MOVIE_LAYER/transform/scale 1.5900 1.5900 1.5900
does nothing.
any work around?
i'm using javascript to send message to ofxLiveDraw over OSC.
it seems that if i send an int from max as argument to scale, ofxLiveDraw won't accept it.
so:
works only if scaleX, scaleY and scaleZ are floats;
it also appears that a "fixed" float doesn't work:
i.e.
outlet(0,"/livedraw/layers/"+name+"_LAYER"+"/transform/scale", scaleX.toFixed(4), scaleY.toFixed(4), scaleZ.toFixed(4));
which gives
print: /livedraw/layers/MOVIE_LAYER/transform/scale 1.5900 1.5900 1.5900
does nothing.
any work around?