POV-Ray : Newsgroups : povray.advanced-users : The Sun... : Re: The Sun... Server Time
30 Jul 2024 12:27:05 EDT (-0400)
  Re: The Sun...  
From: Larry Fontaine
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.