[?BUG?] less dynamic resolution on UTM EXR than TM EXR

Feature requests, bug reports and related discussion
Post Reply
4 posts • Page 1 of 1
zuegs
Posts: 380
Joined: Tue Jun 27, 2006 5:46 pm
Location: switzerland

[?BUG?] less dynamic resolution on UTM EXR than TM EXR

Post by zuegs » Sun Nov 19, 2006 6:59 am

A histogram comparision of a tonemapped and a untonemapped EXR from same render:
Image

There seams something wrong with UTM output ???
I think is a float rounding problem... i think UTM should get a addition gain of 2^5 to not be clipped at the lower resolution border of 16bit floats.

When importing in Photoshop i have a set exposure to 21 to see something, that means values get multiplied by 2^21 and as Half-floats only have a range of 6.0×10^-8 - 6.5×10^4 or 2^-24 - 2^16 it's very probable that some colors gets rounded at lower border of half-floats.
Any one understood what i tried to say in pseudo "english" :D :wink:

zuegs
Posts: 380
Joined: Tue Jun 27, 2006 5:46 pm
Location: switzerland

Post by zuegs » Sun Nov 19, 2006 8:45 am

I found out that it's dependent of the total light energie in the scene. Above example was rendered with a backround:

Code: Select all

	<background>
		<spectrum>
			<rgb>
				<rgb>1 1 1</rgb>
			</rgb>
		</spectrum>
	</background>

To get a good enough result for untonemapped EXRs it needs a much stronger light as:

Code: Select all

	<background>
		<spectrum>
			<rgb>
				<rgb>1000 1000 1000</rgb>
			</rgb>
		</spectrum>
	</background>
That's not realy nice :( :? I will check some other light source types but,

Nick can you please increase the untonemapped EXR gain by about 1000000 to be in a better range? :oops: :roll:

User avatar
OnoSendai
Developer
Posts: 6243
Joined: Sat May 20, 2006 6:16 pm
Location: Wellington, NZ
Contact:

Post by OnoSendai » Sun Nov 26, 2006 12:48 am

Yes.. i ran into this problem in some of my own tests.
I'm considering whether to 'normalise' the image (scale until the luminances lie in some decent range) before saving to exr, however this may be confusing, as it would basically be doing tonemapping, for the untonemapped option.

One workaround for you Zuegs is to increase your aperture radius to something more reasonable, i'm guessing it's like 0.00001. Smaller radius => less light :)

zuegs
Posts: 380
Joined: Tue Jun 27, 2006 5:46 pm
Location: switzerland

Post by zuegs » Sun Nov 26, 2006 2:35 am

Hi Ono,
yes i've noticed "aperture" dependence... I normaly use 0.0001 (1/10mm).

I also asked me why the utm-EXR luminance doesn't increase over time? Current implementation seams already to normalize utm-EXR over total-mutations :wink: . But in some cases it could be useful to get a "copy" of the render-buffer (where luminance increases over time) because if utm-EXR is fully dependent of mutations (time) it would be possible to add multiple utm-EXRs with different render-times. I mean if I have a 30min utm-exr and a 60min utm-exr with around the double luminance than the 30mins I could just be added together to get a 90min utm-exr without playing with mixing gain :wink: .

But I think currently a "normalise" feature for utm-exr would be very nice :D

Post Reply
4 posts • Page 1 of 1

Who is online

Users browsing this forum: No registered users and 1 guest