Commit graph

41 commits

Author SHA1 Message Date
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 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 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 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 e579086ec5 Move non-UI logic from game to world. 2018-08-24 15:32:17 -04:00
Quantum e33fad8bbb Make sun a real light source. 2018-08-23 22:08:47 -04:00
Quantum 63d42bca55 Moved drawing logic to the entities themselves. 2018-08-23 00:24:57 -04:00
Quantum 2348e1d275 Added hardware normal mapping, usable with -n/--normal option. 2014-02-02 18:22:45 -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 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 a2198937c3 Added normal map for earth as proof of concept. 2013-11-21 20:47:29 -05:00
Quantum 8416ed64e6 Added Cassini around Saturn. 2013-11-20 18:38:53 -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 c0f4807d88 New clouds that actually looks realistic. Closes #99. 2013-11-09 14:27:35 -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 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 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 ad1970d2d2 Added the main asteroid belt. 2013-11-01 18:42:50 -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
Quantum 614ac617cf Added the sun.
Note that its texture is at minimum size.
2013-10-31 18:17:32 -04:00
Quantum 2c1344d799 Optimized surface division for speed. 2013-10-31 17:56:16 -04:00
Quantum b4ef56a2c0 Added better handling of orbits. 2013-10-28 22:03:49 -04:00
Quantum 8c03a9250b Added Saturn's moons. 2013-10-28 19:20:16 -04:00
Quantum debd37e908 Removed the hack module framedata. 2013-10-28 18:01:58 -04:00
Quantum fb70fcf797 Added proper rotation and proper camera moving. 2013-10-27 19:51:55 -04:00
Quantum 2a7103b25d Added the Galilean moons, and fixed extreme sphere subdivision. 2013-10-27 18:29:11 -04:00
Quantum efedc3c981 Allow adjustment in speed. 2013-10-27 17:32:17 -04:00
Quantum 7c92bc1315 Now uses km as radius. 2013-10-27 16:59:23 -04:00
Quantum 43636c1eb7 Used two different definitions of distance so objects can have realistic orbital speed but not huge orbits. 2013-10-26 16:35:47 -04:00
Quantum 5312c4f1dd Used mass to calculate orbital speed. Added phobos. 2013-10-26 16:25:45 -04:00
Quantum fc7c8601e6 Attempts to maintain the balance between correctness and appearance.
Added mip mapping due to the increase in distance.
2013-10-25 20:48:03 -04:00
Quantum 412387cc71 Added proper orbit calculations, and limited orbital plane calculations (only inclination is used). 2013-10-25 19:14:32 -04:00
Quantum f87524916e Initial version. 2013-10-22 20:38:37 -04:00