Commit graph

116 commits

Author SHA1 Message Date
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
Quantum cbe3c3dd7e Use a proper format for main module. 2018-08-24 15:32:16 -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
Quantum 2baeaa5752 Fix python 2 on linux. 2018-08-22 17:42:34 -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 aa9bd685ef Switch to pip install punyverse. 2018-08-22 02:00:32 -04:00
Quantum 0fea259382 Fix sky so that it works properly. 2018-08-22 00:35:15 -04:00
Quantum 973988b911 Added collision; bounces on collision. 2014-02-21 12:45:33 -05:00
Quantum 69884816ca It is an error to use mipmapped magnification. 2014-02-02 23:21:03 -05:00
Quantum f1c961384c Rings have ripples no longer!
(Provided you don't have a 10-years-old integrated card)
2014-02-02 21:10:18 -05: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 af65c9cc6e Displays OpenGL configuration on loading screen. 2014-01-05 20:02:25 -05:00
Quantum f961b43675 Allowed depth buffer to be adjusted and multisample be enabled. 2014-01-05 19:23:31 -05:00
Quantum 54d9841d02 Updated main entry to have proper arguments. 2014-01-05 18:51:39 -05:00
Quantum 4151622b91 Allowed the screenshot to be saved to a file instead of clipboard. 2014-01-05 14:02:45 -05:00
Quantum 34d316726f Screenshots now go to clipboard on windows.
Note to self: temporary files is not nice.
2014-01-04 17:46:00 -05:00
Quantum 19da810af2 Added screenshot support, to ~/punyverse.png currently. 2014-01-04 17:19:04 -05:00
Quantum 2350fc7d26 Removed normal mapping and reduced asteroid count. FPS improves by an order of magnitude. 2014-01-02 23:50:46 -05:00
Quantum 678938ab10 The anti-aliasing is has little benefit but killed a card. It also makes text blurry. Added vsync back. 2013-12-24 17:16:53 -05:00