Commit graph

168 commits

Author SHA1 Message Date
Quantum 50426a5cfa OpenGL 3.2 core profile compatibility achieved! 2018-08-29 00:51:25 -04:00
Quantum f135856762 Use VAOs for everything. 2018-08-29 00:25:32 -04:00
Quantum bf1daf5437 Switch non-model related drawing to use VAO. 2018-08-29 00:04:15 -04:00
Quantum cbc5fcb7c8 Fixup: do not attempt to render asteroid belts without glVertexAttribDivisor 2018-08-28 23:35:03 -04:00
Quantum ef25bc7f25 No need to deactivate shaders or anything now. 2018-08-28 23:26:34 -04:00
Quantum a46d5a9ff7 Shader for models. Instanced asteroid belt.
Removed all instances of legacy pipeline, hopefully. (Except for using VAOs, I guess)
2018-08-28 23:10:33 -04:00
Quantum 510dcb46a6 Convert orbits to shaders. 2018-08-28 20:34:10 -04:00
Quantum f5a2839fcf Turn the circle thing to use shaders.
It's for tiny things like that that immediate mode is useful.
2018-08-28 19:41:03 -04:00
Quantum c70738d677 Fix depth issues. 2018-08-28 18:58:28 -04:00
Quantum d5c48fb210 Converted info display to use shaders. 2018-08-28 18:30:43 -04:00
Quantum c6273a807a Fixup: do not cull rings. 2018-08-28 16:18:23 -04:00
Quantum 696591d885 Converted atmosphere to shaders. 2018-08-28 15:46:54 -04:00
Quantum a172d5bc4b Converted ring to 1D texture. 2018-08-28 14:39:15 -04:00
Quantum e33c90e9bf Sky cubemap loading progress. 2018-08-28 03:42:18 -04:00
Quantum f181ac00f5 Cube map sky and add constellation lines. 2018-08-28 03:32:25 -04:00
Quantum bbfacd55e4 Orient the sky texture more correctly. 2018-08-27 23:21:34 -04:00
Quantum 896d9d88b7 Convert rings to shaders.
Also add planet shadows onto rings.
2018-08-27 19:28:17 -04:00
Quantum f7cd7671ae Add a debug flag. 2018-08-27 16:59:17 -04:00
Quantum 5b06786960 Fixup: __wargv is not a thing unless you use wmain, in which case __argv is not a thing. 2018-08-27 05:31:05 -04:00
Quantum a27dab91df Fixup: launcher fix accidentally broke newer python 2018-08-27 04:52:29 -04:00
Quantum bccae3649d Fix launcher issues. 2018-08-27 04:41:49 -04:00
Quantum c50f85bdcd Fixup: fix mouse captures on Intel. 2018-08-27 03:39:34 -04:00
Quantum 7d35af9ceb Allow debug_gl to actually take effect. 2018-08-27 03:15:27 -04:00
Quantum a507933143 Create new punyverse launchers that will use dedicated graphics. 2018-08-27 02:53:05 -04:00
Quantum 5e8db3ffb1 Mostly working Intel integrated graphics compatibility. 2018-08-27 00:05:43 -04:00
Quantum 96c8bbff11 Switch clouds to shaders. 2018-08-26 18:11:18 -04:00
Quantum 692d2f42c8 Fixup: specular lighting. 2018-08-26 14:15:12 -04:00
Quantum 800ef38f19 Make matrices directly passable to ctypes. 2018-08-26 14:08:30 -04:00
Quantum e373a32bbe Run without debugging by default. 2018-08-26 04:53:22 -04:00
Quantum 4ebcc7e2d7 Add specular mapping. 2018-08-26 04:42:46 -04:00
Quantum 600f90175c Add emission texture for earth. 2018-08-26 04:06:09 -04:00
Quantum 426c490421 Normal mapped the earth. 2018-08-26 03:59:14 -04:00
Quantum 83c627f199 Add star shaders. 2018-08-26 03:49:02 -04:00
Quantum deee9a818b Convert planets to use shaders. 2018-08-26 03:38:26 -04:00
Quantum 0269de81c0 Move sky to shaders. 2018-08-25 20:53:21 -04:00
Quantum 4ef893c229 Manage projection matrix directly. 2018-08-25 18:12:02 -04:00
Quantum 640082212d Get rid of glMatrix since we handle all matrices manually 2018-08-25 17:47:19 -04:00
Quantum c98a40cbe7 Stop using OpenGL to do modelview matrices. 2018-08-25 17:44:00 -04:00
Quantum 8129edf3d8 Convert orbits to VBO 2018-08-25 00:06:33 -04:00
Quantum 487b17c55b Converted models to VBO.
Note that this actually makes things slower... at least until we move to shaders.
2018-08-24 23:21:28 -04:00
Quantum 5cbae25738 Significantly clean up model loader.
Temporarily disabled the cython version since improvements will be later backported.
2018-08-24 22:11:05 -04:00
Quantum 62aef6e0da Fixup: remove debug print. 2018-08-24 21:43:19 -04:00
Quantum 51078f7513 Fixup: texture coordinate is actually 1D. 2018-08-24 21:03:59 -04:00
Quantum f7b6e9a977 Turned atmosphere and rings into VBOs. 2018-08-24 20:57:48 -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