Merci Guillaume, I finally got it working (not using a custom operator,
though).
Christian Rittener
Guillaume Laforge wrote:
Hi Christian,
From your custom prop input port you can find the fcurve with ".Curve".
Here is a sample of code using it :
function myFcurveDrivenOp_Update( ctxt )
{
var oPset = ctxt.GetInputValue(0);
var oFCurve = oPset.Curve.Value ;
var pInput = ctxt.GetParameterValue("input") ;
var oResult = oFCurve.Eval(pInput) ;
output = ctxt.OutputTarget;
output.parameters("output").Value = oResult;
}
Have a nice day.
Guillaume
---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
unsubscribe xsi