I need help with 32bit floating files colorAtpoint for bachelor thesis

I need help with 32bit floating files colorAtpoint for bachelor thesis

Anonymous
Not applicable
263 Views
0 Replies
Message 1 of 1

I need help with 32bit floating files colorAtpoint for bachelor thesis

Anonymous
Not applicable
I need help with 32bit floating files colorAtpoint
I am changing the color of the light driven by the colorAtPoint.
I found out that the colors that been read are very different to what they should be. If the created colour is very bright (r0.9653 g0.9722 b0.8013)//see download link at bottom// it will be that colour in maya (r0,957 g1 b0) or a dark colour (r0.007 g0.002 b0.004) will be in maya (r1 g0 b0.416). Do you have any idea where that is coming from?
I need that feature for my bachelor thesis and it took me three days already, if it is not working my whole bachelor theme won't work out.

float $RGB[] = `colorAtPoint -o RGB -u .5 -v .5 file1`;
defaultPointLight(1, 1,1,1, 0, 0, 0,0,0, 1);
select -r pointLight1 ;
setAttr "pointLightShape1.color" -type double3 ($RGB) ($RGB) ($RGB) ;

I am using
Maya 2013
32bit floating
I tried exr, hdr, tif32bit
The test files are generated with nuke and photoshop (tried both)
https://dl.dropbox.com/u/23493911/white.exr
0 Likes
264 Views
0 Replies
Replies (0)