Replies: 1 comment 6 replies
-
Hi @Korabel47, Thanks for the question and the kind words. First, I'll point out that Optiland uses sequential raytracing, which means you define the order in which rays propagate through the system. From your description (and the drawing), it sounds like you want to perform non-sequential ray tracing. In other words, it seems you want to simply define the sources and objects, then let rays propagate through the system in any order. It's not impossible to do this in Optiland, but it would take quite a few changes in the code to be able to handle this. Can you elaborate a bit more on what specifically you want to compute here? What's the background for this problem? I think that will help me provide a better answer. If you really need to perform non-sequential ray tracing, then you might have an easier time with other programs. Depending on your goals, a ray tracer designed for 3D computer graphics might also work. Also, Optiland does not natively support sources like LEDs, although this could be added without too much difficulty. This is much more in the realm of non-sequential raytracing. While I realize you may not have access to commercial tools, this sort of problem can be solved very quickly in programs like Fred, OpticStudio, etc. If you do want to use Optiland (in its current state), then you'd need to trace only one ray path at a time. You could define several (100s, 1000s, etc.) of possible ray paths, simulate each independently, then combine them all at the end. You'd also need to extend the ray generation functionality to be able to generate something LED-like. Hope that helps. I can provide more context/info, if needed. Regards, |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi to all and big thanks to @HarrisonKramer and the other project contributors for this cool software!
However, honestly saying, I am yet to fully understand this tools potential and capabilities, as I do not possess a good education in optical engineering and am currently teaching myself Python.
I would like to simulate, in 3D, light propagation (shown by a finite number of beams) from a few LEDs in an enclosed compartment, like a box.
1. The objects I plan to have there, include:
2. The current problems for me now are:
Materials
class in Optiland) box and other physical obstacles inside itI would like to use primarily Optiland's defined classes and functions and write additional if needed.
I researched a bit about the similar open-source software used for raytracing, and found
pyVista
, but it seems to become very resource-hungry during multiple-LEDs simulations. I hope Optiland might be more optimal choice for me here, but at the moment I do not know how to proceed...I would greatly appreciate any advice, hints, and pointing to good references!
Beta Was this translation helpful? Give feedback.
All reactions