OpenGLMilkyWay icon indicating copy to clipboard operation
OpenGLMilkyWay copied to clipboard

An attempt to create a realistic model of the Milky Way in OpenGL.

OpenGL Milky Way

Milky Way

This is an example project to show how to render a Galaxy in OpenGL on the iPhone. To simulate interstellar dust realistically with unsorted point sprites in OpenGL, I've implemented a GPU based ray tracing algorithm. This Milky Way model is used in the Exoplanet App. The Exoplanet App is available for free on the AppStore and contains several other datasets.

I gave a talk about this project at the New York iOS Meetup in January 2013. The slides of the talk are included in this repository. If you have any comments, questions or suggestions for improvements, please send me an e-mail: [email protected].

License

OpenGL Milky Way 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.

OpenGL Milky Way 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 OpenGL MilkyWay. If not, see http://www.gnu.org/licenses/.