POV-Ray : Newsgroups : povray.general : HDR Sky_sphere Server Time
26 Nov 2024 09:17:26 EST (-0500)
  HDR Sky_sphere (Message 1 to 7 of 7)  
From: davidmorom
Subject: HDR Sky_sphere
Date: 9 Jan 2011 07:55:01
Message: <web.4d29af44861fd68a49be17320@news.povray.org>
Hi everyone!

My knowledge of Pov-Ray is very limited, but I followed several tutorials on the
internet, mainly this one:

http://www.brickshelf.com/cgi-bin/gallery.cgi?f=163897

The goal of the tutorial is rendering LEGO models made from LDRAW parts, using
radiosity and HDRI lightning. I got awesome results, but with very high
rendering times. But that's not the problem. The following image is rendered at
low resolution with "Radiosity_Debug" profile for time saving:

http://i864.photobucket.com/albums/ab210/davidmorom/Imperial_Shuttle.jpg

I like the HDR lightning effect, but i dont like the texture itself. The
sky_sphere is defined the following way:

sky_sphere{
 pigment{image_map{hdr "..\kitchen_probe.hdr" once interpolate 2 map_type 1}}
}

Is there an easy way to keep HDR, but making the sky_sphere invisible, or
flat-colored?

Thanks in advance!


Post a reply to this message

From: Jim Holsenback
Subject: Re: HDR Sky_sphere
Date: 9 Jan 2011 09:52:26
Message: <4d29cbaa$1@news.povray.org>
On 01/09/2011 08:51 AM, davidmorom wrote:
> Hi everyone!
> 
> My knowledge of Pov-Ray is very limited, but I followed several tutorials on the
> internet, mainly this one:
> 
> http://www.brickshelf.com/cgi-bin/gallery.cgi?f=163897
> 
> The goal of the tutorial is rendering LEGO models made from LDRAW parts, using
> radiosity and HDRI lightning. I got awesome results, but with very high
> rendering times. But that's not the problem. The following image is rendered at
> low resolution with "Radiosity_Debug" profile for time saving:
> 
> http://i864.photobucket.com/albums/ab210/davidmorom/Imperial_Shuttle.jpg
> 
> I like the HDR lightning effect, but i dont like the texture itself. The
> sky_sphere is defined the following way:
> 
> sky_sphere{
>  pigment{image_map{hdr "..\kitchen_probe.hdr" once interpolate 2 map_type 1}}
> }
> 
> Is there an easy way to keep HDR, but making the sky_sphere invisible, or
> flat-colored?

Reference->Scene Description Language->Language Directives->The #default
Directive


Post a reply to this message

From: davidmorom
Subject: Re: HDR Sky_sphere
Date: 9 Jan 2011 11:05:02
Message: <web.4d29dc7eab605d2849be17320@news.povray.org>
Thanks for replying! I dont understand what you said, according the
documentation, the default directive sets the default texture when no texture
statement is specified. What I want to do is keep the HDR applied to the
sky_sphere, but make it invisible somehow, so the scene lightning remains
affected by the image, but it is not visible in the final render. I can use a
flat or gradient pigment for the sky_sphere, but then I loose the HDR effect.

Sorry for my english, I do the best I can.


Post a reply to this message

From: Warp
Subject: Re: HDR Sky_sphere
Date: 9 Jan 2011 13:14:08
Message: <4d29faf0@news.povray.org>
davidmorom <nomail@nomail> wrote:
> Is there an easy way to keep HDR, but making the sky_sphere invisible, or
> flat-colored?

  Put the HDR image on large sphere and make it 'no_image'.

-- 
                                                          - Warp


Post a reply to this message

From: Jim Holsenback
Subject: Re: HDR Sky_sphere
Date: 9 Jan 2011 13:29:10
Message: <4d29fe76$1@news.povray.org>
On 01/09/2011 12:04 PM, davidmorom wrote:
> Thanks for replying! I dont understand what you said, according the
> documentation, the default directive sets the default texture when no texture
> statement is specified. What I want to do is keep the HDR applied to the
> sky_sphere, but make it invisible somehow, so the scene lightning remains
> affected by the image, but it is not visible in the final render. I can use a
> flat or gradient pigment for the sky_sphere, but then I loose the HDR effect.
> 
> Sorry for my english, I do the best I can.
> 
> 
I think warps answer is probably more correct. I was thinking something
like:

#default {finish { diffuse 0.6 ambient 0 ... }} ... means other finish
attributes.


Post a reply to this message

From: Nekar Xenos
Subject: Re: HDR Sky_sphere
Date: 9 Jan 2011 14:18:13
Message: <op.vo12kld5ufxv4h@xena>
On Sun, 09 Jan 2011 14:51:16 +0200, davidmorom <nomail@nomail> wrote:

> Hi everyone!
>
> My knowledge of Pov-Ray is very limited, but I followed several  
> tutorials on the
> internet, mainly this one:
>
> http://www.brickshelf.com/cgi-bin/gallery.cgi?f=163897
>
> The goal of the tutorial is rendering LEGO models made from LDRAW parts,  
> using
> radiosity and HDRI lightning. I got awesome results, but with very high
> rendering times. But that's not the problem. The following image is  
> rendered at
> low resolution with "Radiosity_Debug" profile for time saving:
>
> http://i864.photobucket.com/albums/ab210/davidmorom/Imperial_Shuttle.jpg
>
> I like the HDR lightning effect, but i dont like the texture itself. The
> sky_sphere is defined the following way:
>
> sky_sphere{
>  pigment{image_map{hdr "..\kitchen_probe.hdr" once interpolate 2  
> map_type 1}}
> }
>
> Is there an easy way to keep HDR, but making the sky_sphere invisible, or
> flat-colored?
>
> Thanks in advance!
>
>

Replace the sky_sphere with a large sphere, make it hollow and add  
no_image to it like this:

sphere{0,1
  pigment{image_map{hdr "..\kitchen_probe.hdr" once interpolate 2 map_type  
1}}
finish{emission 1}
scale 100 // make sure the sphere is big enough to cover the whole scene
hollow
no_image
}

Now you can add a sky-sphere with the image you want to show (or just use  
a background with a single colour)

-- 
-Nekar Xenos-

"The spoon is not real"


Post a reply to this message

From: davidmorom
Subject: Re: HDR Sky_sphere
Date: 9 Jan 2011 15:40:00
Message: <web.4d2a1ce9ab605d2849be17320@news.povray.org>
That's exactly what I was looking for, the no_image option. Thanks to all of
you.


Post a reply to this message

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