POV-Ray : Newsgroups : povray.general : Sky_sphere and HDRi : Re: Sky_sphere and HDRi Server Time
1 Aug 2024 08:16:50 EDT (-0400)
  Re: Sky_sphere and HDRi  
From: Zeger Knaepen
Date: 12 Jan 2006 16:16:13
Message: <43c6c71d$1@news.povray.org>
"Warp" <war### [at] tagpovrayorg> wrote in message 
news:43c6bf83@news.povray.org...
> Afishionado <afi### [at] gmailcom> wrote:
> > OK, I have a sky texture made in Pov-Ray (bozo clouds, etc.) that 
works fine
> > on a standard sky_sphere. I'm just wondering if I can light the 
scene using
> > radiosity from it.
> 
>   Yes.
> 
> > I can't figure out how to "bump up" the radiosity of it with a 
sky_sphere.
> > That's really all there is to it.
> 
>   You can increase the 'brightness' value of radiosity, if that helps.
> 
>   Of course if you really want to brighten up the sky texture and 
nothing
> else, then you'll have to use a real sphere with a proper 'finish'.

Not necesseaeraely (I really hate that word :-/)
You can use the transmit-brighten/darken-trick:

-- start code --

#version unofficial MegaPov 1.1;
sky_sphere {
 pigment {
  image_map {
   hdr "rnl_probe.hdr"
   map_type 7
  }
 }
 pigment {rgb 0 transmit .5}
}

-- end code --

The transmit-value acts like an ambient-value: transmit 0 gives total 
blackness, transmit 1 gives standard brightness, transmit 2 gives double 
brightness and so on.

cu!
-- 
#macro G(b,e)b+(e-b)*C/50#end#macro _(b,e,k,l)#local C=0;#while(C<50)
sphere{G(b,e)+3*z.1pigment{rgb G(k,l)}finish{ambient 1}}#local C=C+1;
#end#end _(y-x,y,x,x+y)_(y,-x-y,x+y,y)_(-x-y,-y,y,y+z)_(-y,y,y+z,x+y)
_(0x+y.5+y/2x)_(0x-y.5+y/2x)            // ZK http://www.povplace.com


Post a reply to this message

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