POV-Ray : Newsgroups : povray.newusers : Bright Spot aka Fire Fly : Re: Bright Spot aka Fire Fly Server Time
5 Nov 2024 20:16:07 EST (-0500)
  Re: Bright Spot aka Fire Fly  
From: Bob Hughes
Date: 1 Jul 2000 17:31:43
Message: <395e633f@news.povray.org>
Taking all the fun out of do-it-yourself, there's this:

#declare GS=
sphere {0,1 hollow
        pigment {rgbf 1}
 interior {
  media {intervals 12 samples 3,3
        emission <.67,.75,.33> absorption <.33,.25,.67>
         scattering {4,<.67,.75,.33>} // type 1 is softer, 2-4 tighter and
intense
          density {spherical
                   density_map {
                    [0 rgb 0]
                    [.33 rgb .75] // vary index to change sharpness/softness
                    [1 rgb 1]
                    }ramp_wave}}
 }
}

#declare GlowSpot=
light_source {0,<.67,.75,.33>
  looks_like {GS}
        fade_distance 1 fade_power 2
}

GlowSpot

camera {location -5*z
        look_at 0
}

plane {y,-1.01 pigment {rgb 1}}


Post a reply to this message

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