tpajenka
8e59e10b86
will use HashMap to reference ui widgets
2014-04-23 12:21:32 +02:00
e2da50b6d9
defined camera in abstract sense
2014-04-21 19:21:13 +02:00
6104e7349b
changed cabal-version back to 1.16
2014-04-14 19:48:40 +02:00
40e3b6ed4d
started iqm-parser
...
- can parse header
- can parse initial texts
- can parse mesh-structure
- cannot parse everything else.
2014-04-09 20:04:06 +02:00
5077bfd793
changed cabal-info
2014-04-09 17:42:07 +02:00
5ec9db8534
changed x-lens to _x-lens and cabal-info
2014-04-07 17:32:13 +02:00
38d807b9b1
Merge remote-tracking branch 'origin/Mapping' into tessallation
...
Conflicts:
Pioneers.cabal
2014-04-05 23:12:33 +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
jbetzend
23f75f7ff1
Merge branch 'tessallation' into Mapping
2014-03-05 15:10:17 +01:00
jbetzend
1c1bd66d30
Removed Data.Label from code and dependencies.
2014-03-05 15:09:05 +01:00
e6c6442c85
Merge branch 'tessallation' into mapmerge
...
Conflicts:
src/Main.hs
src/Map/Graphics.hs
2014-03-05 15:02:30 +01:00
tpajenka
be0da410a0
started creating a GUI overlay image
2014-03-05 13:27:48 +01:00
tpajenka
734cabb759
system dependant ghc-options
2014-03-04 14:31:00 +01:00
tpajenka
ddb99e3592
removed llvm dependency
2014-02-28 14:56:00 +01:00
517f2eb0b6
removed SDL-ttf as it breaks for now
2014-02-28 14:44:58 +01:00
d5310478c0
converted Types to Labels
...
- Types is converted to Lebles (monomorphic lenses)
- Main initializes type now
- All other stuff in Main still calls old syntax.
refs #467 @3h
2014-02-23 13:32:20 +01:00
Jonas Betzendahl
3a8d9d2fa2
Fixed Master
2014-02-10 21:13:54 +01:00
1126cfc25a
moved types to types
...
- moved types to types
- added callback
- included sdl-ttf
2014-02-05 16:33:32 +01:00
2d97d4e8ca
added performance-compile-options
...
- added various GHC-Option to perform a better compile
- Using LLVM to optimize further
2014-02-04 14:15:15 +01:00
ce055339ec
should work - but GL crashes internally somewhere with unlimited allocation of memory
2014-01-20 19:28:02 +01:00
c01c776e94
sdl2 (raw) not used due to clash with SDL2 (hsSDL2), packet-dependencies removed until further problems reoccour
2014-01-20 15:03:20 +01:00
cf4658a42b
changed dependencies, refined dependencie-script
2014-01-20 14:31:17 +01:00
602b20eb6c
it works...
2014-01-04 16:55:59 +01:00
42e7bd65ac
new projection
2014-01-04 03:10:06 +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
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
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
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
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
47788b4ef0
started work on Coordinate-System for the Map
2013-12-29 01:05:01 +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