POV-Ray : Newsgroups : povray.text.scene-files : Missing glows in 3.5? An alternative solution : Re: Missing glows in 3.5? An alternative solution Server Time
5 Jul 2024 10:10:32 EDT (-0400)
  Re: Missing glows in 3.5? An alternative solution  
From: Mark James Lewin
Date: 17 Sep 2001 02:20:03
Message: <3BA5935F.ED3A0FBD@yahoo.com.au>
I have liked the fade_power option in glows, and a simple modification
of the macro accomodates this. Excellent idea Warp.

MJL

#macro Glow(GlowColor, Fade_Power, Scale)
  sphere
  { 0, 1 hollow no_shadow
    pigment { rgbt 1 }
    interior
    { media
      { emission 1/Scale
        density
        { spherical poly_wave Fade_Power density_map
          { [0 rgb 0][1 rgb GlowColor]
          }
        }
        samples 1,1 intervals 1 confidence .1 // quite fast settings
        method 3
      }
    }
    scale Scale
  }
#end


Post a reply to this message

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