________ .__ / _____/_____ | | _____ ___ ______.__. / \ ___\__ \ | | \__ \ \ \/ < | | \ \_\ \/ __ \| |__/ __ \_> < \___ | \______ (____ /____(____ /__/\_ \/ ____| \/ \/ \/ \/\/ a 2D Galaxy Renderer based on the density wave theory (C) 2012 Ingo Berg --------------------------------------------------------------------------------------- This Project provides source code to render a 2D Galaxy with the SDL/OpenGL. The code will compile into a small application allowing you to create 2D galaxies by modifying a set of geometrical parameters. There is only a minimalistic user interface as main purpose of the code was to render animations for the wikipedia article on dark matter: http://de.wikipedia.org/wiki/Datei:Galaxy_rotation_under_the_influence_of_dark_matter.ogv --------------------------------------------------------------------------------------- Disclaimer and Credits: The renderer is in part based on code written by John Walker (specrend.c). specrend.c was published as public domain and can be obtained from the authors web site: http://www.fourmilab.ch/documents/specrend/specrend.c --------------------------------------------------------------------------------------- The Code is published under the BSD-License: Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. OR OTHER DEALINGS IN THE SOFTWARE.
himanshugoel2797/Galaxy-Renderer
A Program for modelling a rotating galaxy based on the density wave theory.
C++