POV-Ray : Newsgroups : povray.binaries.images : is there a way to make a laser : Re: is there a way to make a laser Server Time
15 Aug 2024 16:31:09 EDT (-0400)
  Re: is there a way to make a laser  
From: Batronyx
Date: 22 May 2002 19:28:10
Message: <3cec298a@news.povray.org>
"Tom Melly" <tom### [at] tomandlucouk> wrote in message
> IMHO you'd be better of writing macros to handle using cylinders. Any other
> approach is presumably going to require scattering media (if you want the
lasers
> to be visible) and photons (if mirrors are involved), so render times are
going
> to shoot through the roof.
>
> Now, a nice set of laser-macros that trace a path would be nice - is there a
way
> to return the reflection component of a surface?
>


You could calculate if from the normal returned by trace(). . . but you probably
already knew that.

Batronyx ^"^


--
light_source{0,1}#macro c(J,a)sphere{0,1pigment{rgb z}scale a translate J+O}
#end#macro B(R,V,O)c(0,4)intersection{c(V,R)difference{c(-z*4x+10)c(-z*4.1x+
10)c(0<7.5,45,5>)}}#end B(12,0z*25)B(8y*4<0,12,50>)          // Batronyx ^"^


Post a reply to this message

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