Solar system in OpenGL using Java with JOGL

Solar system in OpenGL using Java with JOGL

nico reski

A short presentation to use in my portfolio about a solar system in OpenGL using Java with JOGL.


To learn the basics of programming computer graphics using OpenGL I created an simple solar system. OpenGL and DirectX are the two most relevant APIs for programming of real-time computer graphics. In order to run OpenGL (native in C/C++) in Java we used JOGL, Java Bindings for OpenGL, that realizes the OpenGL implementation while using Java as programming language. I realized several classes in order to display the solar system. The single planets are arranged in some kind of hierarchy. Every planet (including the sun and several moons) have a rotation around itself as well as a rotation around their mother planet. I displayed also the orbits of each planet. Using a slider you can increase the speed up to a factor of x1000. Using two radio buttons makes it possible to select whether the planets are displayed using a solid sphere or a wire sphere and if additional random stars are created or not. Furthermore I can adjust the camera and eye position using different keys of the keyboard. The exact coordinates of each position are also displayed in the upper right corner.

Essayez

    TarifsService commercialRegarder les démos

Assistance client 24 h/24 et 7 j/7

Notre équipe d'assistance client est disponible 24 h/24 et 7 j/7. Les membres Entreprise bénéficient également de l'aide d'un responsable de compte attitré et d'une disponibilité garantie.

© 2026 Vimeo.com, Inc. Tous droits réservés.

Terms
Privacy
Vos choix en matière de confidentialité
U.S State Privacy
Copyright
Cookies