Commit graph

78 commits

Author SHA1 Message Date
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 0794cad88b Permanently banned all C files from being included in the repository. 2013-11-25 16:46:28 -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
Quantum 06dd46588c Simplified implementation according to issue. Refs #98. 2013-11-09 10:08:59 -05:00
Quantum d2a6230eb3 Completely rewrite of ticking which guarantees update per frame. Refs #98. 2013-11-06 22:12:58 -05:00
Quantum b3a2a9c298 Updated description. 2013-11-06 21:39:42 -05:00
Quantum 2dc3a2e0c7 Pointed launcher to new release. 2013-11-06 17:46:35 -05:00
Quantum 3361904aa4 Added argparse to launcher. 2013-11-06 17:37:17 -05:00
Quantum 08c12d3b4d Added support for older launchers. 2013-11-06 17:32:31 -05:00
Quantum 3b221e4339 Slightly better formatting. 2013-11-05 19:18:22 -05:00
Quantum 672b5c0462 Better time handling: configurable ticks per second, and no dropped movement.
Note: the original method involves moving on only when update() is called, which is called only between frames. Hence less than the ticks per second setting if it can't paint as fast. This made movement completely FPS independent.

TODO: remove update, merge into on_draw.
2013-11-04 17:00:15 -05:00
Quantum a069c94dab Removed the two most complained about asteroids. 2013-11-04 17:02:23 -05:00
Quantum a03b172aa0 Using hard code of 1024 asteroids in belt.
For that texture size kills modern computers.
2013-11-04 16:29:28 -05:00
Quantum 08f108a5fa Fixed fatal bugs that prevent time from stopping on demand. 2013-11-04 16:28:34 -05:00
Quantum 972e716d00 Added in the textures for corona and solar "atmosphere". 2013-11-02 15:17:30 -04:00
Quantum 46ca669ecb Attempt at making diffuse and corona not intersect. 2013-11-02 15:13:05 -04:00
Quantum 1c3abeeaa7 Added a diffuse texture on the sun. 2013-11-02 15:07:23 -04:00
Quantum 0ae75da2a7 Added a sort of corona effect. 2013-11-02 15:00:47 -04:00
Quantum 7e25a79968 Allowed control of displaying cloudmaps and atmospheres. 2013-11-02 12:57:10 -04:00
Quantum e5d55f125c Moved mouse and keyboard into dictionaries. 2013-11-02 12:50:48 -04:00
Quantum 5fd914438f Would you believe that the debug label drawing takes up 20% of drawing time? 2013-11-02 01:00:02 -04:00
Quantum f7ba375e22 Better sun texture. 2013-11-01 20:42:12 -04:00
Quantum 598132cfd6 Image shrinker now reads a list of files to resize, instead of using a hard coded list. This now doesn't need the launcher to be rebuilt for every new texture. 2013-11-01 19:26:25 -04:00
Quantum ad1970d2d2 Added the main asteroid belt. 2013-11-01 18:42:50 -04:00
Quantum 617d4913d7 Added mouse input support. 2013-11-01 12:30:10 -04:00
Quantum e0e1a619f0 Stops the sky from rotating.
Also: asteroids go front when you move back. Uranus rotates about the right axis.
2013-11-01 12:19:18 -04:00
Quantum 4e51fdaff3 Added Mercury and Venus. 2013-10-31 18:51:04 -04:00