Skip to main content

New Help File Section on Batch Ray Tracing in Tracing Larger Number of Rays Section

  • July 1, 2020
  • 1 reply
  • 79 views

Ali H
Forum|alt.badge.img+1

My colleague and I have written a new section in the Help File on the BatchRayTrace interfaces available in the ZOS-API, so I thought I would mention it on the Forum :)

In short, instead of tracing the rays one at a time, an array of all the rays is passed to OpticStudio at a single time, OpticStudio traces all the rays and passes the entire array back to the Programming software. This method is called IBatchRayTrace. It is a bit more complex to program than performing a single ray trace, but it traces numerous rays at the same time through OpticStudio’s multithreading capability.

The new section may be found in the Tracing Large Number of Rays section:

The Programming Tab > About the ZOS-API > Tracing Large Numbers of Rays (About the ZOS-API)

Happy coding!

Best,

Ali

Did this topic help you find an answer to your question?

1 reply

Mark.Nicholson
Luminary
Forum|alt.badge.img+3

That's great Ali, thank you! Batch mode is one of the great things about the original DDE extensions and ZOS-API. The ability to define an array of rays with the launch criteria set, pass the array over as a single object and get it back with all the results filled in, is a fantastic capability.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings