Closed manuelFragata closed 1 month ago
Thanks for opening this issue and glad to hear you're working on a fix.
I see the visualization shows a bug as well - the rays look okay, but the second mirror is not positioned correctly. If you're focusing on the spot diagram bug, then I can look into the visualization issue. In any case, I'll wait for your PR before proceeding.
Kramer
Thanks for opening this issue and glad to hear you're working on a fix.
I see the visualization shows a bug as well - the rays look okay, but the second mirror is not positioned correctly. If you're focusing on the spot diagram bug, then I can look into the visualization issue. In any case, I'll wait for your PR before proceeding.
Kramer
Hi Kramer,
Yes, actually I was also going to create another bug issue, because of the incorrect surface rendering. For that one though, I could not manage to find a solution, so maybe you can help?
Just submitted the PR.
Manuel
Yes, no problem. I'll look into this one! Hopefully a simple fix.
Kramer
Describe the bug When designing systems in which the image plane is tilted/rotated, the spot diagram sometimes represents the data we don't want.
To Reproduce Steps to reproduce the behaviour, simply setup a system for which the image plane is rotate about one of its axes:
Expected behavior If correctly defined, the spot diagram should take into account the local (rotated, e.g) coordinates of the image plane, and not the global ones.
Screenshots
This is what the system looks like:
This is what the wrong spot diagram will look like:
Environment
Additional Comments Creating a PR soon with the bug fix.