POV-Ray : Newsgroups : povray.binaries.images : HDR tests (73+28kb) Server Time
15 Nov 2024 05:18:29 EST (-0500)
  HDR tests (73+28kb) (Message 1 to 7 of 7)  
From: Samuel Benge
Subject: HDR tests (73+28kb)
Date: 18 Sep 2006 17:10:35
Message: <450f0b4b@news.povray.org>
Hello Everyone,

I've been trying to get HDR effects with the official version of POV-Ray 
(v3.6). I render a scene using the spherical camera and then use it as 
illumination for my objects. It has been working well so far. Each of 
these images took less than twenty minutes to render (see file name for 
minutes and seconds). Both were rendered with focal blur, which helps to 
reduce apparent image_map artifacts. One was rendered with radiosity and 
the other (metal shelf) was not.

The background image was turned into a function, separated into it's 
individual R G B channels, tweaked with a 1.n poly_wave value, and 
intensified to suit the scene.

So what do you think? Should I scrap this project and use MegaPOV? Or 
should I post the code?

Comments and criticisms always welcome!

~Sam


Post a reply to this message


Attachments:
Download 'hdr17_55.jpg' (73 KB) Download 'hdr12_04.jpg' (28 KB)

Preview of image 'hdr17_55.jpg'
hdr17_55.jpg

Preview of image 'hdr12_04.jpg'
hdr12_04.jpg


 

From: FlyerX
Subject: Re: HDR tests (73+28kb)
Date: 18 Sep 2006 17:32:49
Message: <450f1081$1@news.povray.org>
Looks good. The image with radiosity looks smoother although it is all 
in focus and the metal shelf is not. How did you turn the image into a 
function? Are there any lights on the scene besides the background?

FlyerX

Samuel Benge wrote:
> Hello Everyone,
> 
> I've been trying to get HDR effects with the official version of POV-Ray 
> (v3.6). I render a scene using the spherical camera and then use it as 
> illumination for my objects. It has been working well so far. Each of 
> these images took less than twenty minutes to render (see file name for 
> minutes and seconds). Both were rendered with focal blur, which helps to 
> reduce apparent image_map artifacts. One was rendered with radiosity and 
> the other (metal shelf) was not.
> 
> The background image was turned into a function, separated into it's 
> individual R G B channels, tweaked with a 1.n poly_wave value, and 
> intensified to suit the scene.
> 
> So what do you think? Should I scrap this project and use MegaPOV? Or 
> should I post the code?
> 
> Comments and criticisms always welcome!
> 
> ~Sam
> 
> 
> ------------------------------------------------------------------------
> 
> 
> ------------------------------------------------------------------------
>


Post a reply to this message

From: Trevor G Quayle
Subject: Re: HDR tests (73+28kb)
Date: 18 Sep 2006 19:35:00
Message: <web.450f2bfe985d7d748fb5a6f0@news.povray.org>
Samuel Benge <stb### [at] hotmailcom> wrote:
> Hello Everyone,
>
> I've been trying to get HDR effects with the official version of POV-Ray
> (v3.6). I render a scene using the spherical camera and then use it as
> illumination for my objects. It has been working well so far. Each of
> these images took less than twenty minutes to render (see file name for
> minutes and seconds). Both were rendered with focal blur, which helps to
> reduce apparent image_map artifacts. One was rendered with radiosity and
> the other (metal shelf) was not.
>
> The background image was turned into a function, separated into it's
> individual R G B channels, tweaked with a 1.n poly_wave value, and
> intensified to suit the scene.
>
> So what do you think? Should I scrap this project and use MegaPOV? Or
> should I post the code?
>
> Comments and criticisms always welcome!
>
> ~Sam

It's a good start.  Anything that makes you think and improve your skills is
worth doing in my opinion, even if there are other ways of doing it easier.

One thing you need to watch for when doing this is with background scenes
with a large dynamic range (i.e. really high and really low areas of
intensity).  You will tend to lose a lot of the extreme intensities as they
get clipped by the output image format (this is especially noticeable and
important on the high end).  You decrease the intensity of the entire scene
for the background image and scale it back up in your second image, however,
you will tend to lose some of the low brightness details (it may turn out ok
for lighting purposes, but not as much for environment and reflective, as it
may be noticeable dpepnding on your scene.)  One thing you may try to do is
fake the hdr by, instead of creating just one environment map, render 3 at
different intensities, one very low to catch the dark details, one in the
middle and one at the high end to capture the upper light intesnities.
Then it is a matter of compositing these three images for you enviroment
function.  This can likely be done by modifying the code you use to map a
single image to accomodate interpolating 3 images.  I posted some code a
while back that attempts to do this internally.

http://news.povray.org/povray.binaries.images/message/%3Cweb.44468657f8d220636c4803960%40news.povray.org%3E/#%3Cweb.444
68657f8d220636c4803960%40news.povray.org%3E


-tgq


Post a reply to this message

From: Warp
Subject: Re: HDR tests (73+28kb)
Date: 18 Sep 2006 21:15:02
Message: <450f4496$1@news.povray.org>
Samuel Benge wrote:
> So what do you think? Should I scrap this project and use MegaPOV? Or
> should I post the code?

  Take into account that POV-Ray 3.7 supports HDRI images directly
(the two most popular formats, actually), so unfortunately this
project is more a curiosity than anything else...


Post a reply to this message

From: Samuel Benge
Subject: Re: HDR tests (73+28kb)
Date: 18 Sep 2006 22:14:20
Message: <450f527c$1@news.povray.org>
Warp wrote:
> Samuel Benge wrote:
>> So what do you think? Should I scrap this project and use MegaPOV? Or
>> should I post the code?
> 
>   Take into account that POV-Ray 3.7 supports HDRI images directly

It expired 3 days ago, and the battery is dead on this computer.... but 
I'll keep it in mind.

> (the two most popular formats, actually), so unfortunately this
> project is more a curiosity than anything else...

Oh well :)

~Sam


Post a reply to this message

From: Samuel Benge
Subject: Re: HDR tests (73+28kb)
Date: 18 Sep 2006 22:18:32
Message: <450f5378@news.povray.org>
FlyerX wrote:
> How did you turn the image into a function?

There was a topic recently in p.advanced-users under the name of 
"Pigment functions..." in which a person wanted to know how to do 
something similar. So, you can go there to find my answer....

 > Looks good. The image with radiosity looks smoother although it is all
 > in focus and the metal shelf is not. Are there any lights on the 
scene > besides the background?

No lights were used.

~Sam


Post a reply to this message

From: George Pantazopoulos
Subject: Re: HDR tests (73+28kb)
Date: 19 Sep 2006 12:40:00
Message: <web.45101c6d985d7d74da5ae7f0@news.povray.org>
Samuel Benge <stb### [at] hotmailcom> wrote:
> Hello Everyone,
>
> I've been trying to get HDR effects with the official version of POV-Ray
> (v3.6).
>
> So what do you think? Should I scrap this project and use MegaPOV? Or
> should I post the code?

Looks good, but why not just use MegaPOV.. or maybe even MegaPOV XRS? (see
link)

;-)

George
http://www.gammaburst.net


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.