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
673a0f786a
rewriting to OpenGL4.3
...
- rewrote Map to generate Triangles for glBindBuffer
- Coordinates is not longer used AFTER the change but generates
Data until change is complete
- Size of Map in VRAM is sizeof(float)*(vert)*9 with vert = 2nm - n - m + 1
* 3 float coordinats
* 3 float color
* 3 float normal
yielding about 13.5mb VRAM for 500x500-Map
2014-01-02 03:05:35 +01:00
35f1a09d13
No shadows anymore - but shadow-map is correct
2014-01-01 21:58:43 +01:00
448bb7ac73
Shadows!!! But awful looking...
2014-01-01 21:26:54 +01:00
fbcce8f715
added design-folder
...
- explanatory Map-Design with layers
- added free Font wich can render really small (8pt - no AA)
2014-01-01 20:34:06 +01:00
7110d9404b
Scene renders better now
...
- Enabled BackCulling
- Wrote shadow-mapping-functions
- temp. changed to flat-shading for better distinction
- defined Tiles CCW for BackCulling
2014-01-01 20:32:35 +01:00
e1cad5786e
removed debug-output
2013-12-29 18:32:10 +01:00
f3b218c44e
Movement works now.
...
- Movement works. Keys are read out by KeyCode
thus independent from Keyboard-Layout
On a normal quertz-layout they map like so:
* e, s, d, f for movement
* r, w for rotation
* space/caps for up/down
2013-12-29 18:18:18 +01:00
55a873022b
fixed map
...
- map is now displayed correctly
- camera is adjusted
- created ProgramState as TVar for concurrent reading/writing
2013-12-29 14:39:01 +01:00
14ce8c5986
added light properly to scene
2013-12-29 06:12:25 +01:00
65934809d5
added primitive map-render
...
- added primitive map-template
- window now renders correctly
- height-calculation is still a bit off
2013-12-29 06:03:32 +01:00
8bca5a82df
made code compile
2013-12-29 01:23:02 +01:00
ae1ac08a6a
Merge branch 'master' of pwning.de:/pioneers
2013-12-29 01:05:03 +01:00
47788b4ef0
started work on Coordinate-System for the Map
2013-12-29 01:05:01 +01:00
jbetzend
1c07d1ed64
added module
2013-12-29 01:02:52 +01:00
f23ef3cadb
small changes
...
more reference:
http://www.haskell.org/haskellwiki/Gtk2Hs/Demos/GtkGLext/terrain.hs
2013-12-23 00:56:34 +01:00
26fc2dc711
added openGL-demo
2013-12-23 00:00:51 +01:00
c46e24befd
added empty GTK-Hello-World-Project
2013-12-22 23:29:11 +01:00
2fa501e272
initial
2013-12-22 22:54:43 +01:00