I have some vector parameters in my asset at the asset level. I don't think it's possible to normalize their values at the asset level, i.e. everything that uses these parameters get pre-normalized vector values.
So my question is what's the best way to normalize these parameters so everything that uses these parameters inside the asset would get normalized vector values.
I could limit the parameters to -1 to 1, but I still want to give the user the ability to specify any kind of vector values, otherwise the values would get clamped. But even then 1,1,1 isn't unit vector either.
Right now what I am doing is using an Add SOP with 1 point and then have a vector parameter in a VOP where it references the vector parameter. Inside the VOP network, I normalize this value and set the point's position to this value. Then a null after this that reads this point's position and stores it as a parameter, which I reference anywhere I need the original parameter at the asset level.
Is there a simpler, better way than this?
Edited by magneto, 03 August 2012 - 03:21 PM.