I’m trying to do a render pass that works with smart reel plugin for motion blur passes.
I have :
surface
MV(float Threshold = 1;string TargetSpace = "NDC"; string useZ = "yes")
{
//start and end
point bS = P + dPdtime;
point bE = P + (dtime * dPdtime);
//velocity
vector M = transform( TargetSpace, (normalize(bE - bS)));
Oi = Os;
//outputing
setcomp(Ci,0, (xcomp(M)/Threshold+1)*0.5);
setcomp(Ci,1, (1-ycomp(M)/Threshold)*0.5);
setcomp(Ci,2, 0);
}
But its not working, with mantra they us a function blurP but PRman doesnt have it.
any suggestions?
thanks in advance,
Alexis