|
|
james lake nous illumina en ce 2008-05-14 19:41 -->
> "Tim Attwood" <tim### [at] comcastnet> wrote:
>> //----------------------------------------------------------------------
>> // A thin blue media, becoming lighter as it approaches
>> // the planet's surface.
>> //----------------------------------------------------------------------
>> #declare PlanetAtmosphere = sphere { <0,0,0>, 1
>> hollow
>> material {
>> texture {
>> pigment { rgbt <1,1,1,1> }
>> }
>> interior {
>> media {
>> emission <0,0,2>
>> density {
>> spherical
>> color_map {
>> [0 rgb 0]
>> [0.05 rgb 1]
>> [1 rgb 1]
>> }
>> }
>> }
>> media {
>> emission <2,2,0>
>> density {
>> spherical
>> color_map {
>> [0 rgb 0]
>> [0.05 rgb 0.25]
>> [1 rgb 1]
>> }
>> }
>> }
>> }
>> }
>> scale 1.05
>> }
>
> I tried this and it works, but now the Earth is a solid white sphere. Is there
> another command that must accompany these? Or should I change the settings?
>
> Thanks for the help!
>
> James Lake
>
>
You put that object around your earth, scaled 5% larger than the size of the
earth sphere.
--
Alain
-------------------------------------------------
You know you've been raytracing too long when you've ever "lost" a Julia fractal
because you're not quite sure how to align things in four dimensions.
Dylan Beattie
Post a reply to this message
|
|