Solved

Too few rays reaching detector

  • 25 May 2022
  • 1 reply
  • 114 views

Hi all,

I’m trying to simulate an image formed on the sensor of a miniature camera (roughly modelled after an Arducam B0190).  The problem is, the system I’m modelling is fairly large, with multiple sources, and a scattering diffuser as an essential component (i.e., there is some randomness to the ray paths), and the camera aperture is very small and relatively far from the sources. As a result, very few of the rays make it to the detector. Running about a billion rays, I end up with just a couple hundred hits on my detector, and the simulation takes over an hour.

Is there a way that I can increase the number of rays hitting the detector without increasing the number of source rays (and thereby making my simulation time even longer)?

Thanks!

icon

Best answer by David 26 May 2022, 00:55

View original

1 reply

Userlevel 6
Badge +4

The Scatter To and Importance Sampling functionality might help.

See this for an article on these features. 

Reply