POV-Ray : Newsgroups : povray.newusers : Creating a sky sphere with shadows Server Time
24 Dec 2024 13:44:10 EST (-0500)
  Creating a sky sphere with shadows (Message 1 to 2 of 2)  
From: Ross & Alsa
Subject: Creating a sky sphere with shadows
Date: 28 Oct 1998 03:41:23
Message: <3636D802.14FD7337@ihug.co.nz>
Hi,

I am new to povray and have been trying to create a sphere with a cloud
map on it that casts shadows as clouds normally would.  I have got the
shadows cast ok but I can not see the cloouds or sky.
I am using the following pattern.  I sort of know whats going wrong but
can't see how to solve it.  If I put a light source below the sphere
then I can see the clouds fine but when the souce is above I get the
nice shadows but no sky.  Can anyone point out what i am doing wrong??

TIA
Ross

#declare rFilter=.6
#declare rTransmit=1
  texture
  {
    pigment
    {
        bozo
        turbulence 0.65
        octaves 6
        omega 0.7
        lambda 2
        color_map
   {
            [0.0 0.1  color rgb <0.85, 0.85, 0.85>
                      color rgb <0.75, 0.75, 0.75>]
            [0.1 0.5  color rgb <0.75, 0.75, 0.75>
                      color rgbft <1, 1, 1, rFilter, rTransmit>]
            [0.5 1.0  color rgbft <1, 1, 1, rFilter, rTransmit>
                      color rgbft <1, 1, 1, rFilter, rTransmit>]
     }
   scale 1000
  }


Post a reply to this message

From: =Bob
Subject: Re: Creating a sky sphere with shadows
Date: 28 Oct 1998 04:30:28
Message: <3636e434.0@news.povray.org>
Easy solution would be to add a finish {ambient 1}.
You may need to adjust the ambient and/or pigment.
If you were to use a sky_sphere you lose all hope of having shadowed clouds so 
stick with a plane or sphere to put your texture in.
Put the light above and beyond the plane or sphere boundary.

Message <3636D802.14FD7337@ihug.co.nz>, Ross & Alsa  typed...
>
>Hi,
>
>I am new to povray and have been trying to create a sphere with a cloud
>map on it that casts shadows as clouds normally would.  I have got the
>shadows cast ok but I can not see the cloouds or sky.
>I am using the following pattern.  I sort of know whats going wrong but
>can't see how to solve it.  If I put a light source below the sphere
>then I can see the clouds fine but when the souce is above I get the
>nice shadows but no sky.  Can anyone point out what i am doing wrong??
>
>TIA
>Ross
>
>#declare rFilter=.6
>#declare rTransmit=1
>  texture
>  {
>    pigment
>    {
>        bozo
>        turbulence 0.65
>        octaves 6
>        omega 0.7
>        lambda 2
>        color_map
>   {
>            [0.0 0.1  color rgb <0.85, 0.85, 0.85>
>                      color rgb <0.75, 0.75, 0.75>]
>            [0.1 0.5  color rgb <0.75, 0.75, 0.75>
>                      color rgbft <1, 1, 1, rFilter, rTransmit>]
>            [0.5 1.0  color rgbft <1, 1, 1, rFilter, rTransmit>
>                      color rgbft <1, 1, 1, rFilter, rTransmit>]
>     }
>   scale 1000
>  }
>
>

-- 
 omniVERSE: beyond the universe
  http://members.aol.com/inversez/POVring.html
=Bob


Post a reply to this message

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