POV-Ray : Newsgroups : povray.advanced-users : Photons and media Server Time
23 Nov 2024 07:23:07 EST (-0500)
  Photons and media (Message 1 to 1 of 1)  
From: Thomas de Groot
Subject: Photons and media
Date: 11 Mar 2019 04:38:02
Message: <5c861e6a$1@news.povray.org>
In the photons chapter in the docs, the following paragraph is unclear 
to me:

[quote]
The keyword media turns on media photons. The parameter max_steps 
specifies the maximum number of photons to deposit over an interval. The 
optional parameter factor specifies the difference in media spacing 
compared to surface spacing. You can increase factor and decrease 
max_steps if too many photons are being deposited in media.
[/quote]

- "max_steps", I suppose, is somewhat equivalent to "count", or isn't it?

- "factor", I do not understand. Is it an integer? Is it large or small?

I use the following settings:
global_settings {
   photons {
     spacing 0.001
     media max_steps?, factor?  <===
     autostop 0
     jitter 0.4
     save_file "MyPhotons1.inc"
     //load_file "MyPhotons1.inc"
   }
}

How should I set "media", when using an isotropic scattering media?

Thanks indeed for any clarification.

-- 
Thomas


Post a reply to this message

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