POV-Ray : Newsgroups : povray.binaries.images : Help on a Dust ring. : Re: Help on a Dust ring. Server Time
4 Oct 2024 05:22:11 EDT (-0400)
  Re: Help on a Dust ring.  
From: Andrew Cocker
Date: 15 Apr 1999 11:11:13
Message: <3715f381.0@news.povray.org>
You must use filter instead of transmit if you wish media to cast a shadow. So instead
of
rgbt 1.0, use rgbf 1.0.


--
----------------------
Andy
------------------------------------------------------------------------------------------
-
--The Home Of Lunaland--
--visit my POV-Ray gallery--
--listen to my music--
www.acocker.freeserve.co.uk


Edward Wedig <doc### [at] netwalkcom> wrote in message
news:3715D22C.88B25F19@netwalk.com...
> I'm having problems getting this dust ring to look right. I'm using a
> media filled torus, and it looks ok in the light, but isn't casting a
> shadow. The relavent code is:
>
> torus { 20, 0.9
>         pigment {color rgbt 1.0}
>         finish {
> diffuse 0.4
> ambient 0.8
> }
>         interior {
>                 media {
>                         scattering { 2, rgb 0.5 extinction 0.5 }
>                         file://emission 0.4
>                         intervals 1
>                         samples 1, 5
>                         confidence 0.9999
>                         variance 1/1000
>                         density {
>                                 bozo
>                                 ramp_wave
>                                 turbulence 0.0
>                                 color_map {
>                                         [0.0 color rgb <0, 0, 0>]
>                                         [0.5 color rgb <0, 0, 0>]
>                                         [0.65 color rgb 0.3]
>                                         [0.88 color rgb 0.35]
>                                         [1.0 color rgb 0.38]
>                                         }
>                                 scale 0.1
>                                 }
>                 }
>         }
>         hollow
>         translate <-7,0,30>
>         }
>
> Any suggestions?
>
> -Ed
>
> --
> Edward Wedig
> aka Doc Brown
> Graphic Artist, 3D Designer, Gamemaster, Nice Guy
> http://www.netwalk.com/~docbrown


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


Post a reply to this message

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