POV-Ray : Newsgroups : povray.advanced-users : Textured sky and radiosity : Textured sky and radiosity Server Time
28 Jul 2024 22:16:44 EDT (-0400)
  Textured sky and radiosity  
From: David Wallace
Date: 31 Jul 2003 09:17:35
Message: <3f2916ef$1@news.povray.org>
How do I set up a textured sky in such a way that radiosity will work with
it?  I can get a radiosity sphere right from the scene samples:

sphere {
  <0, 0, 0>, 1
  texture {
   pigment {
     gradient y
     color_map {
       [0.0 color rgb < 0.880, 0.935, 0.976 >]
       [0.2 color rgb < 0.300, 0.450, 0.950 >]
     }
   }
   finish { diffuse 0 ambient 1 }
  }
  hollow on
  no_shadow
  scale 30000
}

I also learned how to set up a textured sky_sphere:

#declare Sky1 = pigment { image_map { png "skyday9.png" interpolate 2 }
scale <.15,.5,.15> }

#declare Sky = sky_sphere {
 pigment {
   Sky1
   warp{
    spherical
    orientation z
    dist_exp 1
   }
  rotate x*180
 }
}

Now how do I put these two great tastes together to make some awesome eye
candy?


Post a reply to this message

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