POV-Ray : Newsgroups : povray.advanced-users : Laser : Re: Laser Server Time
2 Nov 2024 03:15:39 EDT (-0400)
  Re: Laser  
From: The Orr's
Date: 30 May 2000 00:53:48
Message: <3933495c@news.povray.org>
You could use Margus's method but it would result in a uniform laser.  To
make it more realistic try using a turbulated density such as:

cylinder{
    <0,0,0>,<0,0,1>,0.5 //create a cylinder of .5 units along the z axis
    pigment{
        color rgbt <1,1,1,1>
    }
    media{
        samples 20,20 // might want to increase these
        emission <1,0,0> //emit a red laser
        density{
            gradient z
            turbulence 0.5
        }
    }
}

The above is pretty basic but with a little (or a lot of) tweaking can end
up pretty spectacular


Post a reply to this message

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