POV-Ray : Newsgroups : povray.newusers : beam through glass : Re: beam through glass Server Time
1 Jul 2024 02:34:33 EDT (-0400)
  Re: beam through glass  
From: Alain
Date: 10 Sep 2011 13:01:05
Message: <4e6b97d1$1@news.povray.org>

> "roll"<nomail@nomail>  wrote:
>> i have started creating a animation where a laserbeam should go through a solid,
>> rounded glass box. So i created a hollow cone with gaussian distributed red
>> glowing media in it.
>> [snip]
>
> This is a nit pick, but if the beam is conical, then technically, it's not a
> laser.
>

>> almost 20h on this problem.
>
> I second Alain's basic suggestion:  Use photon mapping and scattering media and
> POV-Ray will take care of it.  (If you wish to retain a conical beam, then do
> not use cylinder and parallel.)
>
>     "Let the machine do the dirty work." --Kernighan&  Plauger
>
> For an example of how to use photons and scattering in this manner, go to
> http://lib.povray.org/ and type beamtest in the search box.  Note that I set
> extinction to 0.  According to the POV-Ray docs, this is physically incorrect,
> but it was the key to accomplishing my goal for this module.
>
>

extinction 0 also slightly faster. You skip calculations for self 
shadowing and light atenuation.


Alain


Post a reply to this message

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