Commit graph

95 commits

Author SHA1 Message Date
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
Quantum 55ee2ee3d2 Added loading screen. 2013-12-13 18:01:52 -05:00
Quantum dc6d0c6c67 Put world parsing into World constructor. 2013-12-13 16:12:40 -05:00
Quantum db61f5cb59 Fixed handling of textures without fallback.
Earth now has same colour as atmosphere without a texture.
2013-11-25 17:04:27 -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 bb855ec759 Backported all of Cython model loader to Python. 2013-11-23 12:36:27 -05:00
Quantum d1599eb511 Added compression support to wavefront loader.
Removed massive generated C file.
2013-11-23 12:12:48 -05:00
Quantum 6138402b01 Used 3D rotation to calculate the normals. 2013-11-23 11:01:57 -05:00
Quantum e138e2d382 Upgraded the normal map to 2048x1024. Should look better. 2013-11-21 23:22:24 -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 1b2bd928cc Objects no longer flicker when being far (10x improvement). Close objects are not displayed very well. 2013-11-21 16:45:38 -05:00
Quantum 8416ed64e6 Added Cassini around Saturn. 2013-11-20 18:38:53 -05:00
Quantum 0198fba591 The atmosphere now always faces the camera. 2013-11-20 16:43:54 -05:00
Quantum 8900255b4d Added Hubble Space Telescope. 2013-11-17 01:09:53 -05:00
Quantum 321f0582fa Fixed world.json. Closes #100. 2013-11-12 16:43:53 -05:00
Quantum df3126e232 New asteroids and scaling. 2013-11-14 12:39:55 -05:00
Quantum 6fa6bf0429 Shrunk cursor greatly. 2013-11-09 18:57:07 -05:00
Quantum c6ba1ffdc8 gluBuild2DMipmaps doesn't seem to do anything. 2013-11-09 17:42:50 -05:00
Quantum f15af40729 Filtered cloud texture to remove noise. 2013-11-09 17:38:01 -05:00
Quantum c0f4807d88 New clouds that actually looks realistic. Closes #99. 2013-11-09 14:27:35 -05:00
Quantum 59b6f2c7c0 Removed stray glEnable(GL_BLEND). 2013-11-09 10:13:56 -05:00