POV-Ray : Newsgroups : povray.binaries.images : multiple sky spheres : Re: multiple sky spheres Server Time
30 Jul 2024 10:18:01 EDT (-0400)
  Re: multiple sky spheres  
From: FlyerX
Date: 12 Dec 2011 16:06:45
Message: <4ee66ce5$1@news.povray.org>
On 12/10/2011 11:09 AM, clipka wrote:
> Another unofficial patch: Different sky sphere pigments for background,
> reflection/refrction, and radiosity (here: blue, red and green,
> respectively, with one reflective and one refractive sphere on a
> black-and-white checkered plane).

Would this have the same effect using three spheres in the current RC?


//THIS IS THE BACKGROUND IMAGE
sphere {<0,0,0>,1600
texture{
	pigment {
	image_map {jpeg "background.jpg" interpolate 2 map_type 1 }
	}
finish{diffuse 0 ambient 0 emission 1 specular 0 phong 0 reflection{0}}
}
rotate y*0 //enter sky rotation here in degrees
no_shadow
no_radiosity
no_reflection
hollow
}


//THIS IS THE REFLECTION
sphere {<0,0,0>,1500
texture{
	pigment {
	image_map {hdr "reflection.hdr" interpolate 2 map_type 1 }
	}
finish{diffuse 0 ambient 0 emission 1 specular 0 phong 0 reflection{0}}
}
rotate y*90 //enter sky rotation here in degrees
no_image
no_shadow
no_radiosity
hollow
}


//THIS IS THE ENVIRONMENT FOR LIGHTING
sphere {<0,0,0>,1400
texture{
	pigment {
	image_map {hdr "lighting.hdr" interpolate 2 map_type 1 }
	}
finish{diffuse 0 ambient 0 emission 1 specular 0 phong 0 reflection{0}}
}
rotate y*0 //enter sky rotation here in degrees
no_image
no_shadow
no_reflection
hollow
}



I have been using this for a few months now and it works well. Having 
this effect on the sky sphere will simplify its application.


FlyerX


Post a reply to this message

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