Skip to content
/ planetz Public

Planetary system simulator utilizing fast GPU calculations.

Notifications You must be signed in to change notification settings

jkotur/planetz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Planetz

This project was created for BSc diploma. Its main goal was to develop real-time planetary system simulator that can handle over 10 000 planets with good visualisation. This was successfully achieved on computers from year 2010 (geforce 9800GTX+). It is important that all calculations are preformed on GPU and practically no data transfer is required during actual simulation. We used OpenGL and CUDA technologies to make full use of GPU capabilities.

Overview

Cloud Sun

Gravity simulation

Duet Trajectory

Deferred rendering

Rendering system is based on deferred rendering technique which allows to render huge amount of planets with relatively big number of light sources. Planets are rendered as 2D circles on buffer with additional information about depth and texture color. Based on these informations deferred lighting is calculated. Moreover, light sources have finite range, so if sun is far away from planets, no calculations are performed.

Lighting 1 Lighting 2

About

Planetary system simulator utilizing fast GPU calculations.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published