POV-Ray : Newsgroups : povray.binaries.images : Sky simulation : Re: Sky simulation Server Time
30 Jul 2024 08:30:05 EDT (-0400)
  Re: Sky simulation  
From: Thomas de Groot
Date: 18 Jun 2013 04:05:39
Message: <51c014d3@news.povray.org>
There is a much better solution.

//start code

#local sp = SunPos(2013, 6, 6, 17, 0, 0, 52.206507, 0.12165);

light_source {
   sp
   color rgb <1,1,0.9>*(17334 * EXP)
}

#local SunRadius = vlength(sp/1000)/214.8;
sphere {sp/1000, SunRadius pigment{color rgb 1} finish{emission 1} 
no_shadow}

//end code

The scene does not need the *emission* of the *visible* sphere as a 
light source. It only needs the light source itself. So, the solution is 
to put the sunlight at the standard SunPos position, and the *visible* 
sphere and its radius at sp/1000. In addition, just make emission of the 
sphere equal to 1.

See attached image.

Thomas


Post a reply to this message


Attachments:
Download 'skysimtestground.png' (207 KB)

Preview of image 'skysimtestground.png'
skysimtestground.png


 

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