POV-Ray : Newsgroups : povray.newusers : Objects interacting with photons / Laser : Re: Objects interacting with photons / Laser Server Time
28 Jul 2024 12:35:20 EDT (-0400)
  Re: Objects interacting with photons / Laser  
From: BobH
Date: 27 May 2009 07:43:22
Message: <4a1d275a$1@news.povray.org>
"Nurwodah" <nomail@nomail> wrote in message 
news:web.4a1bc48ea9dd582089e1bd650@news.povray.org...
>
> I am trying to render a scene, whrere a laser beam is refracted by some 
> objects,

Didn't look at the other but try this in your global_settings instead:

 photons {
  //count 100000
  spacing 0.02
  autostop 0
  media 50,5
//  max_trace_level 10
 }

I think spacing helps in this case where the photons are in a narrow beam.
And... this is the important part... use a photons block in your scattering 
box:

 photons {
  target
  refraction on
  reflection on
  collect off
  pass_through
 }

Now, I should say, I haven't done this particular kind of render in recent 
times so don't take it as perfection (or even the right way) but I did get a 
good laser beam by doing that. Also to make it faster than what you were 
doing I put the media samples down to only 10,30. I even added some 
reflection (in finish{}) to the refracting glass and it was still fairly 
quick.

Bob


Post a reply to this message

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