Commit Graph

13 Commits

Author SHA1 Message Date
2193a0e7fd added normals to shader 2014-01-06 21:13:58 +01:00
8622881a13 Misc movement
- Scrollwheel now zooms in/out
- Arrow-Keys now move map correctly
- removed most Debug-Output
2014-01-05 20:23:22 +01:00
2b2108ab87 merged .. but colors broken.. 2014-01-05 19:09:01 +01:00
tpajenka
ee9a8c455a Misc: lookAt corrected (previous: transformation standard camera -> local
camera, now: transformation local camera -> standard camera)
2014-01-05 02:20:49 +01:00
df9b37429c cameraaaaaaa -.- 2014-01-04 23:47:07 +01:00
6cc9177082 wiered camera 2014-01-04 17:57:30 +01:00
7db4bff2e4 moooaaarrr work on triangles ... still nothing 2014-01-04 02:45:13 +01:00
a2214082ca minor stuff .. STILL NO TRIANGLE -.- 2014-01-03 23:19:39 +01:00
2fc28adfd1 Triiiiangleeeeesss!!!! *narf* 2014-01-03 22:31:01 +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