chbergmann / OpticsWorkbench

GNU Lesser General Public License v3.0
83 stars 22 forks source link

issues with parabolic or hyperbolic mirrors #45

Open chbergmann opened 7 months ago

chbergmann commented 7 months ago

mirrors made with parabolic or hyperbolic curves are having issues with reflections. I did not see that sort of behavior with flat surfaces or circle/ellipse based surfaces. I guess a picture is a 1000 words, so there we are Parabola test

chbergmann commented 7 months ago

The Optics workbench uses the OpenCascade library to calculate the intersection points between a ray and the curves or surfaces. In some cases it does not return intersection points for hyperbolic or parabolic curves. The problem has to be fixed inside the openCascade library.

luzpaz commented 3 months ago

@chbergmann which version of OCC have you tested ?

Note: the OCC folks are accepting PRs via Github now per their blog: https://dev.opencascade.org/content/occt-github-new-way-collaborate