summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2014-01-17Make control points for O track counter-clockwisePeter Wu1-20/+20
2014-01-16Bézier spline track! (WIP)Peter Wu2-6/+160
Initial implementation of a O race track. WIP, the robots still need to walk on the track and the dummy track and control points should be changed.
2014-01-16Low zNear value to prevent distortion in FP modeFrank v/d Haterd1-1/+1
2014-01-16Remove duplicate functionalityPeter Wu2-22/+2
2014-01-16Merge branch 'master' of git.lekensteyn.nl:tue/2iv60-robotsPeter Wu5-5/+28
2014-01-16Add toggle to get the focused robotPeter Wu2-3/+27
2014-01-16Better document SmarterWalkAnimation, remove DumbWalkAnimationPeter Wu2-91/+43
The arm rotation angles are now based on the feet position. Better explain rationale instead of writing the implementation in comments.
2014-01-16New track textureFrank v/d Haterd1-0/+0
2014-01-16Camera:Frank v/d Haterd1-4/+6
FPS mode now follows last robot in race (see assignment). New getLastRobot method and getter in Robot.java RaceTrack: Track texture now has a start line and every 20 segments shows a distance line.
2014-01-16Camera:Frank v/d Haterd1-0/+7
FPS mode now follows last robot in race (see assignment). New getLastRobot method and getter in Robot.java
2014-01-16Camera:Frank v/d Haterd1-1/+15
FPS mode now follows last robot in race (see assignment). New getLastRobot method and getter in Robot.java
2014-01-15New heightmapFrank v/d Haterd1-0/+0
2014-01-15Heightmap fileFrank v/d Haterd1-0/+0
2014-01-15New heightmap file support.Frank v/d Haterd1-18/+88
Updated methods to support this. When no heightmap is found, the formula is used. heightAt modified to work with this.
2014-01-15Smoother camera transitionPeter Wu1-4/+99
Transitions will now move to target with an animation of 500ms.
2014-01-15rotate armsPeter Wu1-3/+9
2014-01-15Initial working implementation of SmarterWalkAnimationPeter Wu4-5/+212
2014-01-15Third primitive (assignment) for tree, small fix for terrainFrank v/d Haterd2-2/+4
2014-01-15Small things and class treeFrank v/d Haterd2-143/+143
2014-01-15Terrain class revisited:Frank v/d Haterd1-3/+3
Normals fixed ! 1D texture fixed! Tree drawing functionallity added Code cleanup New class tree added describing tree Small tweek in Robot.java +3FPS (sphere segments decreased not noticeble)
2014-01-15Terrain class revisited:Frank v/d Haterd1-86/+186
Normals fixed ! 1D texture fixed! Tree drawing functionallity added Code cleanup New class tree added describing tree Small tweek in Robot.java +3FPS (sphere segments decreased not noticeble)
2014-01-15Terrain class revisited:Frank v/d Haterd1-0/+142
Normals fixed ! 1D texture fixed! Tree drawing functionallity added Code cleanup New class tree added describing tree Small tweek in Robot.java +3FPS (sphere segments decreased not noticeble)
2014-01-13Merge branch 'master' of git.lekensteyn.nl:tue/2iv60-robotsFrank v/d Haterd9-12/+1015
2014-01-13Whole terrain addedFrank v/d Haterd1-3/+5
Todo: 1D textures instead of colors new heightAt function instead of default one (however it works) normals improved ??
2014-01-13Whole terrain addedFrank v/d Haterd1-5/+214
Todo: 1D textures instead of colors new heightAt function instead of default one (however it works) normals improved ??
2014-01-12Workaround for slow HW renderingPeter Wu1-9/+16
GLJPanel thinks it is a great idea to use glReadPixels. The Intel i965 DRI driver thinks otherwise and does no get more than 2 FPS on a i5-460M CPU (HD Graphics). With Mesa software rendering (LIBGL_ALWAYS_SOFTWARE=1), the performance gets stuck on 20 FPS or something. Unfortunately, the software renderer crashes since Mesa 10[1]. This workaround improves performance by replacing GLJPanel by GLCanvas as mentioned in the Jogamp wiki[2]. FPS now caps on 30 (but this can be bumped to 42 by changing Base.FPS to 60). [1]: https://bugs.freedesktop.org/show_bug.cgi?id=72926 [2]: http://jogamp.org/wiki/index.php/Using_JOGL_in_AWT_SWT_and_Swing
2014-01-12Added unmodified robotrace sourcesPeter Wu4-0/+773
For testing purposes.
2014-01-10Walk animation WIPPeter Wu3-7/+143
DumbWalkAnimator implementation is for testing purposes. Its constants are hard-coded.
2014-01-10Allow camera mode to be toggled with O, H and MPeter Wu1-0/+18
FP and auto are not interesting, hence not added.
2014-01-09Fix reset detection with pausePeter Wu1-4/+22
2014-01-09RobotRace: implement pause functionalityPeter Wu2-1/+52
2014-01-09Camera: Implement auto modePeter Wu1-1/+21
Quite arbitrary stuff here.
2014-01-09Fix robot speed calculationPeter Wu1-14/+23
robot.getTimePos() returns a distance in "race pos" unit, avg_pos is the distance in meters. Convert the former to meters and use adjust weights for speed calculation (care less about previous speed, that one could be braindead).
2014-01-09Fix confusion of meters, time pos and GSTPeter Wu2-9/+35
Robots get a speed of 19 km/s (average human speed).
2014-01-09TexturesFrank v/d Haterd4-0/+0
2014-01-09Some commentsFrank v/d Haterd1-1/+4
2014-01-09Allow textures to be disabledPeter Wu3-10/+49
Minor other change for consistency, even though 180 + 180 is a full rotation, use 180 - 180 to emphasize "revert".
2014-01-09Implement randomized speedPeter Wu2-6/+38
2014-01-09Fix reset buttonPeter Wu2-0/+17
2014-01-09Head is now textured too. Frank v/d Haterd1-2/+17
2014-01-08Robot textures and trackFrank v/d Haterd4-24/+114
2014-01-08Replace glut by glFrank v/d Haterd1-1/+83
2014-01-08Make RobotRace instance available to RobotPeter Wu2-2/+8
2014-01-08Print GlobalState on pressing SPeter Wu1-6/+9
2014-01-06Fix center point for FP viewing modePeter Wu1-5/+3
2013-12-23Fix FP view eye point, whitespace fixes.Peter Wu2-16/+11
2013-12-22New commit of the rotation, seems to be working now. Frank v/d Haterd1-3/+10
2013-12-22Helicopter mode seems to be fixed, some changes to FPS view, but not working ↵Frank v/d Haterd1-5/+17
properly.
2013-12-22Robot rotation (I think?) fixedFrank v/d Haterd1-2/+10
2013-12-20FPS mode: Look from head of robotPeter Wu1-0/+2