Commit graph

46 commits

Author SHA1 Message Date
Andreas Ortmann
544282dd84 adding event stuff to renderer to notify of new explosions 2016-10-03 00:23:21 +02:00
Andreas Ortmann
9ce106c179 added test script to lauch rockets, nicer explosions. 2016-10-02 21:06:02 +02:00
Andreas Ortmann
4712926be2 nicer particles, adding code so that particles don't penetrate through planets. added not-yet compeleted intersection code. 2016-10-02 20:10:43 +02:00
Andreas Ortmann
57e6e56217 making code for particle batch modular. 2016-10-02 17:22:47 +02:00
Andreas Ortmann
4353609580 improving aspect ratio and window resize/scaling. done for game objects. 2016-10-02 11:00:03 +02:00
Andreas Ortmann
1562dbe8a7 adding another rocket model. 2016-10-02 03:10:47 +02:00
Andreas Ortmann
0b71aad1f7 planet distribution is nice now and one sun is always placed with bigger radius and space nearby. 2016-09-30 23:15:51 +02:00
Andreas Ortmann
f2bdadd49f one planet is always the sun and rendering the sun dynamically now. 2016-09-30 22:47:28 +02:00
Andreas Ortmann
e1102e3231 more fine tuning and removed test code. 2016-09-30 22:30:50 +02:00
Andreas Ortmann
03998dc74a fine tuned explosion parameters. 2016-09-30 22:25:37 +02:00
Andreas Ortmann
c950d6a54d particles are even nicer now. 2016-09-30 22:04:14 +02:00
Andreas Ortmann
3a30a20043 maxAge of particle is now halfAge and it lives for 5*halfAge time. 2016-09-30 21:48:15 +02:00
Andreas Ortmann
a6b9078c21 very nice particles with heat in the center of the explosion and moving in 3d space. 2016-09-30 21:24:06 +02:00
Andreas Ortmann
067cfb6203 finally fixed the particle system. 2016-09-30 20:19:10 +02:00
Andreas Ortmann
5a4e6aaaed added switch for developer mode and fixed crash with removing missiles 2016-09-30 19:03:22 +02:00
Andreas Ortmann
b6f99e6498 minor improvements for gl error checcking/printing and shot defaults. 2016-09-29 18:11:00 +02:00
Andreas Ortmann
c06e138b3e merged 2016-09-29 17:54:01 +02:00
Andreas Ortmann
677e749ac2 redesigned model a bit. 2016-09-29 13:11:01 +02:00
end
2568c13b15 * shader are now dynamically loaded 2016-09-29 12:28:35 +02:00
end
aff49c268b * fixed 2016-09-29 12:00:08 +02:00
Andreas Ortmann
26e1d4fd19 merge + trace fade out fix 2016-09-29 11:43:00 +02:00
Andreas Ortmann
9c1ce0d935 refactoring. 2016-09-29 11:38:26 +02:00
Andreas Ortmann
11fb091b34 nicer traces 2016-09-29 09:36:57 +02:00
Andreas Ortmann
b15cc1304d adding nice trace-fadeout. 2016-09-29 09:32:56 +02:00
end
ebe9fda67d * sun now behind 2016-09-29 09:22:15 +02:00
Andreas Ortmann
1a3fd63250 simple (but inefficent) traces added. 2016-09-29 09:16:34 +02:00
Andreas Ortmann
70b7233043 nicer explosion effects 2016-09-29 09:05:35 +02:00
Andreas Ortmann
1123be9860 adding rendered ufo 2016-09-29 08:47:32 +02:00
Andreas Ortmann
0f52038a8e fixed light. 2016-09-29 08:30:32 +02:00
Andreas Ortmann
44a7048c4a light working. 2016-09-29 08:28:56 +02:00
end
d7970ed797 + added light shit 2016-09-29 04:24:14 +02:00
end
1ee349e1fb * fixes, refactoring & color attribute for planets 2016-09-29 02:50:51 +02:00
Andreas Ortmann
6b8227b0c3 ups 2016-09-29 00:52:58 +02:00
Andreas Ortmann
6168407973 yeah, particle rendering is working. 2016-09-29 00:50:14 +02:00
Andreas Ortmann
61a7f6f9ba added working particle engine. needs improvement. 2016-09-28 21:26:11 +02:00
Andreas Ortmann
b71cb5cc52 refactored code for positions to use matrix only. 2016-09-28 16:12:25 +02:00
Andreas Ortmann
ff74da1c03 rockets rotate in their direction now. 2016-09-28 15:33:35 +02:00
Andreas Ortmann
3b5b5da02f rotations working :) 2016-09-28 15:22:16 +02:00
Andreas Ortmann
07437fac3c try to get rotation model matrix working. 2016-09-28 15:10:57 +02:00
Andreas Ortmann
4906777e9a adding simple dummy ship model. 2016-09-28 14:41:15 +02:00
Andreas Ortmann
1ad020dbd4 can render models with scale and translation and color now. 2016-09-28 14:19:05 +02:00
Andreas Ortmann
722e9f53cd model rendering is working :) 2016-09-28 13:38:31 +02:00
Andreas Ortmann
85b8139872 got minimal vertex shader working. 2016-09-28 13:36:22 +02:00
Andreas Ortmann
92c27a1ef8 added model loading into opengl. not yet seeing output. 2016-09-28 13:16:11 +02:00
Andreas Ortmann
0105bfe430 fixed much stuff with bad usage of constructor mixed with virtual functions in gl stuff. added model loading with assimp. 2016-09-28 13:00:40 +02:00
Andreas Ortmann
aedda9d48e grouped files in subdirs. 2016-09-28 11:50:35 +02:00