News for hackers. Stuff that matters.
Re:Inkscape Ray Tracing – an extension for Inkscape to draw ... by buildbot on Saturday February 06, 2021 @12:08PM (#26047895)
Could this be used as a simple lens designer? Or are there better programs for than?
Re:Inkscape Ray Tracing – an extension for Inkscape to draw ... by ginko on Saturday February 06, 2021 @01:01PM (#26048401)
> Or are there better programs for than?

There's the rayopt[1] Python library. You can find a repo of notebooks modelling a bunch of lenses from the original patents here[2]. I've played around a bit with that myself, modelling a Voigtländer Color-Skopar.

[1] https://github.com/quartiq/rayopt [2] https://github.com/quartiq/rayopt-notebooks

Re:Inkscape Ray Tracing – an extension for Inkscape to draw ... by buildbot on Saturday February 06, 2021 @07:46PM (#26051599)
Very cool, thank you!
Re:Inkscape Ray Tracing – an extension for Inkscape to draw ... by app4soft on Saturday February 06, 2021 @02:29PM (#26049129)
> Could this be used as a simple lens designer? Or are there better programs for than?

Take a look on Etienne de Foras'[0] Astree[1] (an amateur telescope making FLOSS app to help with optical design and optimisation) and on Foucault2[2] (an amateur telescope making FLOSS app to help with mirror design and polishing).

Astree in most cases is enough alternative to proprietary Zemax (+ Astree already support ZMX file format).[3]

[0] http://edeforas.free.fr/?cat=6

[1] https://github.com/edeforas/Astree

[2] https://github.com/edeforas/Foucault2

[3] https://github.com/edeforas/Astree/issues/28

Re:Inkscape Ray Tracing – an extension for Inkscape to draw ... by buildbot on Saturday February 06, 2021 @07:47PM (#26051601)
These both look really interesting too, thanks!
Re:Inkscape Ray Tracing – an extension for Inkscape to draw ... by hutzlibu on Saturday February 06, 2021 @01:00PM (#26048384)
Speaking about it, has anyone experience using a laser cutter to create fresnel lens, out of transparent plastic?

At some point I want to do this, and this plugin might seem helpful.

Re:Inkscape Ray Tracing – an extension for Inkscape to draw ... by iFreilicht on Saturday February 06, 2021 @12:35PM (#26048176)
Seems like it, rays seem to be accurately refracted between object boundaries, depending on the optical index you set for that object. Pretty cool!