Commit graph

155 commits

Author SHA1 Message Date
Quantum b4c96ebf90 No need to deactivate shaders or anything now. 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 7023ed83ea Fix depth issues. 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 91fce520b9 Converted ring to 1D texture. 2018-08-29 02:20:38 -04:00
Quantum 9d73059ad0 Sky cubemap loading progress. 2018-08-29 02:20:38 -04:00
Quantum f11e0b6fc7 Cube map sky and add constellation lines. 2018-08-29 02:20:38 -04:00
Quantum 168434ce37 Orient the sky texture more correctly. 2018-08-29 02:20:37 -04:00
Quantum d41fcb7d7f Convert rings to shaders.
Also add planet shadows onto rings.
2018-08-29 02:20:37 -04:00
Quantum 1319514cdc Add a debug flag. 2018-08-29 02:20:36 -04:00
Quantum a28074558b Create new punyverse launchers that will use dedicated graphics. 2018-08-29 02:20:36 -04:00
Quantum 9608d30462 Mostly working Intel integrated graphics compatibility. 2018-08-29 02:20:07 -04:00
Quantum f7797949d9 Switch clouds to shaders. 2018-08-29 02:18:17 -04:00
Quantum 3770ec617b Make matrices directly passable to ctypes. 2018-08-29 02:18:15 -04:00
Quantum ac7a4d0f13 Run without debugging by default. 2018-08-29 02:18:15 -04:00
Quantum 04758850f5 Add specular mapping. 2018-08-29 02:18:15 -04:00
Quantum 25e28c3c12 Add emission texture for earth. 2018-08-29 02:18:14 -04:00
Quantum c3176ce7f6 Normal mapped the earth. 2018-08-29 02:18:14 -04:00
Quantum 3f927427ae Add star shaders. 2018-08-29 02:18:13 -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 999dc78410 Manage projection matrix directly. 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 8b070726c3 Significantly clean up model loader.
Temporarily disabled the cython version since improvements will be later backported.
2018-08-29 02:18:10 -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 338b7fb66c Use anisotropic filtering, if possible. 2018-08-24 17:08:55 -04:00
Quantum 1524a6f27e Use proper texture loading techniques. 2018-08-24 17:02:58 -04:00
Quantum 9193f1bc57 Get rid of GLU in _cyopengl.pxi.
Note that only libGL and not libGLu is supported by manylinux wheels.
2018-08-24 15:38:49 -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 e579086ec5 Move non-UI logic from game to world. 2018-08-24 15:32:17 -04:00
Quantum cbe3c3dd7e Use a proper format for main module. 2018-08-24 15:32:16 -04:00
Quantum 054721fc0f Allow travis to build tags. 2018-08-23 22:45:03 -04:00
Quantum 1b6d422447 Release punyverse 0.5, with major clean ups to the codebase. 2018-08-23 22:31:26 -04:00
Quantum b094dd8905 Clean up game loading code. 2018-08-23 22:30:37 -04:00
Quantum e33fad8bbb Make sun a real light source. 2018-08-23 22:08:47 -04:00
Quantum 13867d7fd0 Properly handle background objects. 2018-08-23 22:05:56 -04:00
Quantum b54601f9f7 We don't need a torus function... 2018-08-23 21:58:10 -04:00
Quantum a862302408 Use the faster Newton's method for eccentric anomaly.
Newton's method also converges quickly for highly eccentric orbits.
2018-08-23 21:49:38 -04:00
Quantum 2aed23c4ae Get rid of gencheap.bat when we have punyverse-small-images. 2018-08-23 21:28:44 -04:00
Quantum 3079c612f6 Clean up texture handing. 2018-08-23 21:27:19 -04:00
Quantum f9d83a2add Show better renderer information. 2018-08-23 00:38:14 -04:00
Quantum 63d42bca55 Moved drawing logic to the entities themselves. 2018-08-23 00:24:57 -04:00
Quantum 1b973b0082 Removed cheap texture hacks. 2018-08-23 00:24:57 -04:00