xGen Expressions - Normalizing Maps


Hi All,

I am trying to remap some ptex maps in xGen and was wandering if there is a function in SeExpr that normalizes a map or range of values?

For example, $cLenght by default will pass length values that go beyond 1, is there a way to automatically remap that range to a 0 to 1 map?

I got close to it with the fit() function but i don’t seem to be able to do automatically :slight_smile:

thank you