POV-Ray : Newsgroups : povray.advanced-users : The Sun... : The Sun... Server Time
30 Jul 2024 12:19:51 EDT (-0400)
  The Sun...  
From: T'vakah
Date: 11 Aug 1999 11:16:03
Message: <37b193b3@news.povray.org>
I am currently trying to accurately model the sun.  I am have had the best
success using a media filled sphere with a light in it's center.  This works
wonderfully when set to type 5 with eccentricity 0.75, but when you scale
this to a large enough sphere to be seen at long distances, about a radius
of 300 at 1000 away, the edges appear black against the sky and do not blend
well at all. Here is the code I am using:

#declare Sun=material{texture{pigment{color rgbf<1,0.8,0.6,1>}
finish{ambient 1.0}}
  interior{media{intervals 200 samples 1,100 scattering{5,
rgb<0.25,0.25,0.25> eccentricity 0.75}}}
  }

Any ideas on how to make it so it is not so dark around the edges?

--Thanks,
T'vakah

----------------------------------------------------------------------------
--------------------------------------------------

A small project I am working on now:
http://backdoor.to/edertav/


Post a reply to this message

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