POV-Ray : Newsgroups : povray.advanced-users : Spotlight and media : Re: Spotlight and media Server Time
28 Jul 2024 16:29:23 EDT (-0400)
  Re: Spotlight and media  
From: Carl
Date: 18 Nov 2004 16:05:00
Message: <web.419d0e333c6e7b27a54c62600@news.povray.org>
Here is a bare bones file which shows the problem:

  #include "colors.inc"

  light_source {<10,10,10> color <252/255,96/255,12/255>
                spotlight point_at <10,20,10> radius 0 falloff 90 tightness
10}

  sphere {<0,0,0>,1 scale <3,10,3> translate <10,10,10> hollow pigment
{color rgbf 1}
      interior {
        media {
          aa_level     5
          aa_threshold 0.05
          confidence   0.95
          intervals    1
          method       3
          ratio        0.9
          samples      10, 10
          variance     1/256
          scattering {
            1
            color rgb .5
            extinction 0.001
          }
          density {
            spherical
            color_map {
               [0 color rgb 0]
               [1 color rgb 1]
            }
            scale <3,10,3> translate <10,10,10>
          }
        }
      }
    }

    camera {location <0,0,100> look_at <10,15,10> angle 10}

It produces this image:
http://www.wwwmwww.com/TRON/error.jpg

I'm using POV-Ray 3.6, no AA, and +FN.  If you use:
light_source {<10,10,10> color <252/255,96/255,12/255>}
instead of the above spotlight things look much better.

Carl


Post a reply to this message

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