POV-Ray : Newsgroups : povray.binaries.images : Dome City : Re: Dome City Server Time
9 Aug 2024 15:26:30 EDT (-0400)
  Re: Dome City  
From: Alain
Date: 23 Jan 2005 11:45:57
Message: <41f3d4c5$1@news.povray.org>
author nous apporta ses lumieres en ce 2005-01-23 09:12:
> Did this mostly to learn how to do a transparent dome... this effort used:
> 
>  difference {
> 
>     sphere { <0,0,0>, 1
>        texture{ pigment{ rgbf <0.98, 0.98, 0.98, 0.9> }
>        finish { ambient 0.1 diffuse 0.1 reflection 0.2
>        specular 0.8 roughness 0.0003 phong 1 phong_size 400}
>                } // end of texture
> 
>           scale<130,70,130>  rotate<0,0,0>  translate<0,0,0>
>        }  // end of sphere -----------------------------------
> 
>         sphere { <0,0,0>, .999
>            texture{ pigment{ rgbf <0.98, 0.98, 0.98, 0.9> }
>            finish { ambient 0.1 diffuse 0.1 reflection 0.2
>            specular 0.8 roughness 0.0003 phong 1 phong_size 400}
>                } // end of texture
> 
>           scale<130,70,130>  rotate<0,0,0>  translate<0,0,0>
>        }  // end of sphere -----------------
> }
> 
> (with radiosity)
> 
> --Ralph
> 
> 
> 
> ------------------------------------------------------------------------
> 
Why did you repeat the whole texture and finish?
A beter way to do the same:
difference{
	sphere{0,1}
	sphere{0,0.999}
	texture{pigment{rgbf<0.98,0.98,0.98,0.9>}
	finish{ambient 0.1 diffuse 0.1 reflection{0.01, 0.22 fresnel}
	specular 0.8 roughness 0.0003}//end of finish
	}//end of texture
	interior{ior 1.5}//average value for glass
	scale{130,70,130>
}//end of dome
Shorter and less error prone. It also use less memory.

Alain


Post a reply to this message

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