A simple ThreeJS project for my Fundamental of Visual Computing module at University of Bath.
You can read the full report I wrote as part of this coursework here.
Skybox generated by https://github.com/wwwtyro/space-3d
From the specification:
• Construct appropriate mathematical operations to manipulate 3D objects
• Use an industry standard graphics programming API (ThreeJS)
• Develop code to interact with JavaScript events (mouse clicks, key presses etc.)
• Test and document a graphics interaction system
This project has also taught how orbiting cameras work, as we weren't allowed to use the provided OrbitCamera.js module from ThreeJS.
https://alex-dawkins.com/threejs_arcball/WebGL-Coursework.html
Controls | Key |
---|---|
Orbit camera | MOUSE |
Pan camera | SHIFT+MOUSE |
Zoom | SCROLL |
Fly | ARROW KEYS , Q , A |
Rotate objects | X ,Y ,Z |
Cube face render mode | F |
Cube vertex render mode | V |
Cube wireframe render mode | E |
Peter face render mode | J |
Peter vertex render mode | K |
Peter wireframe render mode | L |
Reset camera | 0 |
Help | H |