POV-Ray : Newsgroups : povray.newusers : beam through glass : Re: beam through glass Server Time
1 Jul 2024 02:52:39 EDT (-0400)
  Re: beam through glass  
From: Cousin Ricky
Date: 9 Sep 2011 15:25:01
Message: <web.4e6a6636d2ff407b85de7b680@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.


Post a reply to this message

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