POV-Ray : Newsgroups : povray.advanced-users : The Sun... Server Time
30 Jul 2024 14:16:58 EDT (-0400)
  The Sun... (Message 1 to 3 of 3)  
From: T'vakah
Subject: The Sun...
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

From: Chris Huff
Subject: Re: The Sun...
Date: 11 Aug 1999 20:22:36
Message: <37B213EF.77CC653C@compuserve.com>
Well, media is scale dependant, you will need to change the density to
get the same effect in a large sphere as a small one. Also, you might
want to try an emitting media.


Post a reply to this message

From: Larry Fontaine
Subject: Re: The Sun...
Date: 20 Aug 1999 16:15:08
Message: <37BDB5E3.7EF7DEFB@isd.net>
I'm not sure this will work, but try changing your rgbf pigment to rgbt. Maybe
the media is blocking the light -- it says in the POV-Ray manual that rgbf will
cast shadows and rgbt will not when used on a media object.

T'vakah wrote:

> 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.