POV-Ray : Newsgroups : povray.general : Laser lines : Re: Laser lines Server Time
5 Nov 2024 03:17:02 EST (-0500)
  Re: Laser lines  
From: Christopher James Huff
Date: 30 Oct 2003 13:19:23
Message: <cjameshuff-AC9E2A.13172830102003@netplex.aussie.org>
In article <web.3fa0f1b69a8fede7e9df71c0@news.povray.org>,
 "stoecher" <sto### [at] gmxat> wrote:

> >In what way is this not enough? It's difficult to give a better solution
> >when you don't say why the old solution isn't good enough.
> When sending light through a small gap the width of the projected
> line depends on the distance to the light-source/gap.

Hmm...use an ordinary point light, and a negative light at the same 
position using projected_through with a union of two planes. The 
negative light will only illuminate parts of the scene on the other 
sides of the planes, cancelling out the actual light on all parts of the 
scene "inside" the union of planes.

light_source {Point, Color}

light_source {Point, -Color
    projected_through {
        union {plane {y,-0.1} plane {-y,-0.1}}
    }
}

-- 
Christopher James Huff <cja### [at] earthlinknet>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: chr### [at] tagpovrayorg
http://tag.povray.org/


Post a reply to this message

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