27 Commits

Author SHA1 Message Date
8bd8db922e
added shadow-map
- added shadow-map
- compiles and smap gets initialized/generated
- generation ist stil incorrect (cam, light-dir, ...)
2014-05-13 10:40:35 +02:00
e4fec7c3de forgot change, fixed compiling 2014-05-10 17:35:56 +02:00
a91aad5daa
better noise-function 2014-05-07 10:12:18 +02:00
7dd79f095c Merge branch 'iqm' into tessallation
Conflicts:
	src/Render/Render.hs
	src/Types.hs
2014-05-07 09:58:43 +02:00
91fbbb7350 started to render iqm - nothing visible now. 2014-05-03 15:17:51 +02:00
1f6551cf08 WIP DOES NOT WORK 2014-05-02 16:15:58 +02:00
f76da4b5f6 moved generation of GLMapState
GLMapState now get generated inside the renderer and takes the
map-data as argument

GLMapState got extended by (up to now) uninitialized and unused textures.
2014-04-24 14:21:25 +02:00
a1389ba524 prepared overview-texture 2014-04-22 16:25:29 +02:00
45e2f3578c moved draw-method into render and cleaned up imports 2014-04-21 20:25:47 +02:00
3de372f83f added fog. 2014-04-21 15:55:22 +02:00
f7dea8e964 haddock now works as well.. 2014-04-15 17:28:38 +02:00
d0ce4dcf6a fixed compiler warnings.
most of them .. not all are my modules.
2014-04-15 17:03:54 +02:00
189f9f84fa Textures work now.
Scene gets rendered and alpha-overlayed with HUD-Texture.

fixes #472 @2h
2014-04-05 15:53:49 +02:00
ba84ede01d HUD-Texture renders.
HUD-Texture renders and the whole screen is black.

Still TODO:

- Will have to sort out alpha
- Clean up

refs #472 @5h
2014-04-04 11:15:00 +02:00
c1e074934e WIP-Commit. DOES NOT WORK. 2014-03-24 08:21:30 +01:00
080776b25c keyboard-controls for tessellation 2014-01-21 16:44:42 +01:00
3b8d3f8f9e tessellationgit status 2014-01-21 16:18:48 +01:00
2193a0e7fd added normals to shader 2014-01-06 21:13:58 +01:00
2b2108ab87 merged .. but colors broken.. 2014-01-05 19:09:01 +01:00
df9b37429c cameraaaaaaa -.- 2014-01-04 23:47:07 +01:00
602b20eb6c it works... 2014-01-04 16:55:59 +01:00
fd4d2a0d14 TRIANGLEEEEESS!!!!11!!
finally.
2014-01-04 14:09:42 +01:00
tpajenka
33b1ec5534 flickering triangle (rendering cube) 2014-01-04 02:53:12 +01:00
7d201cf216 shaders now compile and link correctly
- map still invisible
- frustum defined
- shaders fixed
- attrib-link to shaders fixed
- lookat now generates a frustum-projected look-at matrix
- smaller test-map for debug
2014-01-03 17:46:41 +01:00
e5193fc7c5 Migrated to OpenGL3.x - compiles but renders nothing
- added simple shader
- rewrote map to cater BufferArray
- completele rewrote Main
- Split off stuff into Render-Module
- cleaned up .cabal-file to bare minimum
- created RenderObjects for the purpose of moving rendering there
2014-01-03 03:01:54 +01:00
306381c4ed little cleanup
- some formatting
- changed y/z-Coords on Map (y is height now, map is in x/z-plane)
2014-01-02 13:02:01 +01:00
2ff7534ede wrote some render-functions and shaders
- rudimentary vertex and fragment-shader in shaders/..
- created new Render-Module (unfinished and untested)
2014-01-02 03:35:38 +01:00