Anyone used color_math_exponent lately? Please test something for me...

Date : Fri, 27 Apr 2007 15:44:02 +0200
To : XSI(at)Softimage.COM
From : Andy Jones <andy(at)thefront.com>
Subject : Anyone used color_math_exponent lately? Please test something for me...
Am I losing it, or has the "pow" function suddenly started clamping its output to [0,1] in the shaders, in a low level sense. In particular, I'm noticing that both scalar_math_exponent and color_math_exponent don't seem to work properly in exponent mode. I mean, it's pretty reasonable to want to square a number, right? Likewise, it's pretty reasonable to want to take a value of 2, raise it to the power .5 (taking the square root) and expect to get the square root of 2 back.

I honestly didn't get much sleep last night, so I'm really hoping this is just me being an idiot somehow. Can someone please double-check this for me?

I'm on XSI 6.01. Thanks! I did a couple of tests, but probably the simplest is to get a color_math_exponent node, plug it into a color_math_basic node set to multiply by .5,.5,.5 and see if you can ever get an output color on your shader above middle gray by changing the "color_math_exponent" inputs in "exponent mode." I can't, no matter what I do. And it works the same way for scalars. On two different computers.

- Andy




--- Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body: unsubscribe xsi


Search the XSI List archives here or use the advanced search form to search across mailing lists. Searching help is available.
This site supposedly brought to you by Benjamin Grosser and the Imaging Technology Group.