Commit graph

164 commits

Author SHA1 Message Date
Quantum d5297d3619 Release 1.1 with higher resolution textures.
After all, it doesn't exactly make sense for saturn's moons and mercury to have more detailed textures than larger objects like the sun or venus.

Also used one single texture to do the transparency mask for the glow, instead of having separate textures for each glowy object.
2018-08-29 17:55:06 -04:00
Quantum 4d58450429 Release punyverse 1.0. 2018-08-29 16:54:55 -04:00
Quantum 2a9eacf37e We should include shaders in the build. 2018-08-29 15:42:33 -04:00
Quantum 98b894c846 We don't actually use _model.pyx anymore.
punyverse.model was optimized to be fast enough.
2018-08-29 14:22:21 -04:00
Quantum 7c3c644a6a Set all shaders to GLSL 3.30 core profile. 2018-08-29 13:50:37 -04:00
Quantum 85d4bd4efc Outright require OpenGL 3.3.
pyglet seems to detect MESA as 3.0 even though it supports 3.3, even when I create a 3.3 context.
2018-08-29 03:10:27 -04:00
Quantum 52c1a328aa OpenGL 3.2 core profile compatibility achieved! 2018-08-29 02:29:45 -04:00
Quantum 4430eb7d75 Use VAOs for everything. 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 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