Commit graph

38 commits

Author SHA1 Message Date
Quantum 52c1a328aa OpenGL 3.2 core profile compatibility achieved! 2018-08-29 02:29:45 -04:00
Quantum 8317201492 Switch non-model related drawing to use VAO. 2018-08-29 02:29:44 -04:00
Quantum f70a725a58 Shader for models. Instanced asteroid belt.
Removed all instances of legacy pipeline, hopefully. (Except for using VAOs, I guess)
2018-08-29 02:29:43 -04:00
Quantum e91bc2c21c Convert orbits to shaders. 2018-08-29 02:29:43 -04:00
Quantum 674289a8b3 Turn the circle thing to use shaders.
It's for tiny things like that that immediate mode is useful.
2018-08-29 02:29:42 -04:00
Quantum 9e65004128 Converted info display to use shaders. 2018-08-29 02:29:41 -04:00
Quantum 4857b5487c Converted atmosphere to shaders. 2018-08-29 02:20:39 -04:00
Quantum f11e0b6fc7 Cube map sky and add constellation lines. 2018-08-29 02:20:38 -04:00
Quantum d41fcb7d7f Convert rings to shaders.
Also add planet shadows onto rings.
2018-08-29 02:20:37 -04:00
Quantum 3770ec617b Make matrices directly passable to ctypes. 2018-08-29 02:18:15 -04:00
Quantum fbcdb4d9b0 Convert planets to use shaders. 2018-08-29 02:18:13 -04:00
Quantum 66c54a9dbb Move sky to shaders. 2018-08-29 02:18:12 -04:00
Quantum 517a7584ca Get rid of glMatrix since we handle all matrices manually 2018-08-29 02:18:12 -04:00
Quantum 0607ab4d4c Stop using OpenGL to do modelview matrices. 2018-08-29 02:18:12 -04:00
Quantum bfdefe43ef Convert orbits to VBO 2018-08-29 02:18:11 -04:00
Quantum a2620fc3bc Converted models to VBO.
Note that this actually makes things slower... at least until we move to shaders.
2018-08-29 02:18:11 -04:00
Quantum dde4e1541d Turned atmosphere and rings into VBOs. 2018-08-29 02:18:10 -04:00
Quantum 825e2ecf6a Use VBOs for spheres. 2018-08-24 19:37:50 -04:00
Quantum 13e247bea3 Use dedicated loader window to perform loading.
This paves the way to use OpenGL core profile in the future while still using legacy to draw the simple loader.
2018-08-24 15:32:17 -04:00
Quantum b54601f9f7 We don't need a torus function... 2018-08-23 21:58:10 -04:00
Quantum 63d42bca55 Moved drawing logic to the entities themselves. 2018-08-23 00:24:57 -04:00
Quantum ff78a2d8a7 Fix various bugs for 64-bit and Linux. 2018-08-22 16:22:08 -04:00
Quantum b4dce48fa7 Punyverse 0.3: adding Python 3 support. 2018-08-22 04:19:04 -04:00
Quantum 0fea259382 Fix sky so that it works properly. 2018-08-22 00:35:15 -04:00
Quantum c7659c06f7 Added culling for spheres. 2014-02-02 21:04:11 -05:00
Quantum 2348e1d275 Added hardware normal mapping, usable with -n/--normal option. 2014-02-02 18:22:45 -05:00
Quantum 83d8baeb8e Used context managers to control GL attributes and matrices. No more stray GL_BLEND, much faster! 2014-02-02 16:47:05 -05:00
Quantum 55ee2ee3d2 Added loading screen. 2013-12-13 18:01:52 -05:00
Quantum 6d1506926d Implemented normal mapped sphere in Cython.
Also:
 * Writes directly into the bytes object instead of malloc'ing.
 * Converted all OpenGL functions to nogil.
2013-11-25 16:34:21 -05:00
Quantum 6138402b01 Used 3D rotation to calculate the normals. 2013-11-23 11:01:57 -05:00
Quantum 20b2141ffe Switched to a triangle strip, should be much faster. 2013-11-21 20:59:33 -05:00
Quantum a2198937c3 Added normal map for earth as proof of concept. 2013-11-21 20:47:29 -05:00
Quantum df3126e232 New asteroids and scaling. 2013-11-14 12:39:55 -05:00
Quantum 1c3abeeaa7 Added a diffuse texture on the sun. 2013-11-02 15:07:23 -04:00
Quantum 0ae75da2a7 Added a sort of corona effect. 2013-11-02 15:00:47 -04:00
Quantum ad1970d2d2 Added the main asteroid belt. 2013-11-01 18:42:50 -04:00
Quantum d1bd66f463 Added launcher generation and fixed all imports. 2013-10-29 18:52:35 -04:00
Quantum f87524916e Initial version. 2013-10-22 20:38:37 -04:00