dibyendumajumdar / goptical

GNU Optical modified to work on Windows, Mac OSX and Linux
GNU General Public License v3.0
19 stars 7 forks source link
cplusplus lens-design optical-design optics raytracing

build

NOTICE This project is now superceded by Beam42

This is derivative of Goptical - GNU Optical design and simulation library by Alexandre Becoulet. Forked via Goptical fork by Dmitry Galchinsky.

Changes from original (done by Dmitry)

Additional changes (this project)

Changes to programming API

Issues

Building on Linux

Create a directory build and cd there:

     $ mkdir build
     $ cd build
     $ cmake ..
     $ make

Building on Windows

Similar to above except that cmake creates Visual Studio solution, so you can build using Visual Studio 2019.

Running Goptical on example lenses

See the data files in data folder. The lens prescriptions are taken from Photons To Photos site.

To run Goptical on these data files, execute the gopt command line utility built under cmd. Just provide a data file as an argument. Output will be generated in the current folder.

Documentation

Literature

Related Projects

Here are some other projects that I have not personally tried out

LICENSE

Copyright (C) 2010-2011 Free Software Foundation, Inc

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.