Commit Graph

280 Commits

Author SHA1 Message Date
1ad81d6ae5
scaled map correctly; fixed whacky cam
- scaled map correctly by factor 10
- fixed whacky camera (vorzeichenfehler -.-)
- adapted view-distance
- adapted scroll-speed
- adapted model-position
2014-09-24 01:14:43 +02:00
8630ef951d Merge branch 'master' into tessallation 2014-09-15 15:09:58 +02:00
24e05db27d
objects now use their position and scale.
- objects use their position and scale
- cube hacky nailed down at camera-pos.
- started working on Icons
2014-09-15 15:07:56 +02:00
Jonas Betzendahl
2a9de00213 (minor) Nodes now have record syntax 2014-09-14 14:36:44 +02:00
28e5f47596
added depth-buffer to map 2014-08-29 22:07:18 +02:00
0e13d1c5ba
fixes #503 2014-08-29 21:28:36 +02:00
c10622d506
isolated error. Map Rendering is missing Depth-Comp
- refactored a bit
2014-08-29 21:18:49 +02:00
581cb142bb
added shading, reduced debug-output 2014-08-24 23:47:17 +02:00
c21863c03a
re-enabled GUI 2014-08-24 22:59:35 +02:00
b4710797fc
mixed up vertexes and triangles .. would have been a hard to find error... 2014-08-24 22:50:49 +02:00
dc2205d3dc
it is showing something on the screen! finally! 2014-08-24 22:46:53 +02:00
53775c559d Merge branch 'rework_iqm' into tessallation 2014-08-24 16:40:20 +02:00
95b108b0c4
error is gone, object still not there. 2014-08-24 16:39:29 +02:00
cb967df9c9
reworked loader. causes OutOfMemory-Errors on GPU. 2014-08-21 22:57:36 +02:00
e5b2a7d620
chose other reference points.
- camera is smoother now
- but still a bit shaky
2014-08-17 23:50:28 +02:00
e265e5a021
fixed height-bug 2014-08-17 23:27:31 +02:00
40c0e3ef00
added ArrayBufferObject for TriangleIndex 2014-08-10 23:00:53 +02:00
1bc65c8ea7
added triangles to IQM-Parsing
- Models should now use the right "drawElements"-Method
- still no sign of our box-model
2014-08-08 20:13:31 +02:00
138d16016b
tried lot of stuff.. nothing worked. 2014-07-08 15:32:14 +02:00
aedb5b5337 Merge remote-tracking branch 'origin/ui' into iqm 2014-07-07 15:23:13 +02:00
81131de915
changed to wireframe-rendering 2014-07-07 15:22:57 +02:00
tpajenka
ae1f1d6815 ui: generalized viewport to access camera object via lens 2014-06-20 16:27:11 +02:00
tpajenka
41e75dcdeb upper bound of 0.001s for frame diff time (Main.hs), added second viewport widget to GUI (currently just an empty shell) 2014-06-20 00:19:02 +02:00
tpajenka
702ea19253 camera is recalculated on mouse action instead of at every frame 2014-06-19 22:24:58 +02:00
tpajenka
8605440539 moved GLMapState: _renderedMapTexture to State: _mapTexture 2014-06-19 17:02:49 +02:00
b095907d9b
tried with WriterT, undid most of it; compiles 2014-06-17 16:37:49 +02:00
13b814fa0a
TessallationFactor now gets updated correcty 2014-06-17 15:41:17 +02:00
5578bb401a
tessallation-factor will now change max once every 5 sec 2014-06-15 03:42:58 +02:00
e512149461
Merge branch 'ui' into iqm
Conflicts:
	src/UI/UIBase.hs
2014-06-15 03:29:03 +02:00
3cd3ba55f9
disabled culling 2014-06-11 00:07:06 +02:00
32f1043d7c
minor cleanup 2014-06-10 23:37:05 +02:00
1e9c6a24fd
minor
- fixed imports
- cleaned debug-info. now not binary anymore, but readable
2014-06-10 23:15:59 +02:00
4bbf80ecab
not changing to Data.Vector and staying on C-Array
- added Print-Function for Float-C-Arrays
2014-06-10 22:59:48 +02:00
d8747c0bd3
minor cleanup 2014-06-02 08:11:44 +02:00
ac832268ca
iqm now gets read in more correctly
before only the first vertex/normal/.. was read in.
2014-06-01 23:22:12 +02:00
eaeae7d4e2
cleanup & debug-output 2014-06-01 23:13:28 +02:00
fc72fd8095
corrected compile-mistakes due to indentation 2014-06-01 23:05:39 +02:00
3db6d6f9eb
live-Coding 2014-05-30 15:28:09 +02:00
b3323ef054
live-Coding 2014-05-30 15:26:12 +02:00
tpajenka
c7ea247b70 introducing window resize event, main viewport resizing to actual window size 2014-05-24 13:47:47 +02:00
tpajenka
9761e7c6c2 Merge branch 'master' into ui
Conflicts:
	src/UI/Callbacks.hs

caused by using TMVar for camera state
2014-05-21 14:57:39 +02:00
tpajenka
9523e733c6 new UI-Widget type: Viewport, removed old hacked code (except mouse wheel) to handle camera movement and using viewport instead 2014-05-21 14:10:47 +02:00
tpajenka
03d99c5fcc bugfix mouse motion handler: handler has been invoked with wrong coordinates, motion handler is now also called while leaving while still mouse-active 2014-05-21 14:03:28 +02:00
tpajenka
8a84e7ba95 press/release handlers receive boolean as parameter to indicate if the click is inside widget 2014-05-21 11:51:40 +02:00
tpajenka
e72e8c9333 more strictness to Types.hs: UIState 2014-05-20 20:38:02 +02:00
tpajenka
74fc3af201 haddock 2014-05-20 20:34:05 +02:00
91ad0f5e38
hlint 2014-05-20 11:09:04 +02:00
c2dc6e28f1
cleaned up 2014-05-20 11:01:37 +02:00
9c33af543c
fixed bits & pieces here and there
refs #482 @20m
refs #470 @15m
2014-05-20 08:57:42 +02:00
7c8c7cac98
a bit refactoring to get the imperative stuff shorter
refs #482 @2h
2014-05-20 00:06:53 +02:00