POV-Ray : Newsgroups : povray.general : Virtualight : Re: Virtualight Server Time
4 Aug 2024 16:16:05 EDT (-0400)
  Re: Virtualight  
From: Hugo Asm
Date: 23 May 2003 15:12:37
Message: <3ece72a5$1@news.povray.org>
Daniel wrote:
> "skylight is treated as a large hemispherical direct light
> source at infinity also named sky dome. It completely
> surrounds the world and doesn't cast any shadow."

ABX wrote:
> So is it just a set of shadowless point light sources ?

I think it just means the skydome does not cast a big shadow over the entire
world. In POV-Ray it's called a "sky sphere" and it probably works the same
way when you activate radiosity. Here's a little example; try toggling the
on/off switches and see the differences:


// Needs POV-Ray 3.5
camera { location <-5,2,-10> look_at <0,-1,-1> }

// Objects
#default { finish { ambient 0 brilliance 1.5 } }
plane  {  y,-3        pigment { rgb <.6,.55,.45> } }
box    { -3, <3,-1,3> pigment { rgb <.8,.75,.65> } }
sphere {  0,1         pigment { rgb 1 } }


// Switch on / off light elements
#declare Radiosity = on;
#declare Sky_Sphere = on;
#declare Light_Source = on;


#if (Radiosity = on)
    #include "rad_def.inc"
    global_settings { assumed_gamma 1.5 radiosity {
        Rad_Settings(Radiosity_Fast, off, off) brightness 1.6 }
 }
#end

#if (Sky_Sphere = on)
 sky_sphere { pigment {
     gradient y pigment_map {
         [  0  rgb <.5,1,2> ]
         [ .5  rgb <.1,.4,1> ] }
     }
 }
#end

#if (Light_Source = on)
    light_source { <-1000,1000,500>, 1.3
        area_light x*150,y*150, 3,3 adaptive 1 circular orient
    }
#end


Post a reply to this message

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