antonv
10-26-2006, 08:22 PM
Hi all,
I've run in a small issue here with how images are displayed in an interface. Basically,
I'm working in linear space with a 2.2 gamma and in a script interface I have a thumbnail of the last rendered image. My issue is that I am not saving the thumbnail with gamma burned in and because of that the interface displays it very dark, but if the same image is displayed in the VFB it looks ok. It seems like max does not apply the gamma to the images displayed in an interface...
So my next thought was to find what gamma value I'm using and use that when displaying my thumbnail but I've run into another issue. Through maxscript you can only get the gamma value but you cannot see if it's enabled or not, or at least I didn't find it in the reference.
Anybody has any experiece with this or any ideas on how to get that info?
I've found a reference on how to see if your render was submitted with gamma enabled but just for the network renderer...
Thanks,
Anton
I've run in a small issue here with how images are displayed in an interface. Basically,
I'm working in linear space with a 2.2 gamma and in a script interface I have a thumbnail of the last rendered image. My issue is that I am not saving the thumbnail with gamma burned in and because of that the interface displays it very dark, but if the same image is displayed in the VFB it looks ok. It seems like max does not apply the gamma to the images displayed in an interface...
So my next thought was to find what gamma value I'm using and use that when displaying my thumbnail but I've run into another issue. Through maxscript you can only get the gamma value but you cannot see if it's enabled or not, or at least I didn't find it in the reference.
Anybody has any experiece with this or any ideas on how to get that info?
I've found a reference on how to see if your render was submitted with gamma enabled but just for the network renderer...
Thanks,
Anton
