LabA11 Picking and Collision Detection

Source Code
Tasks
1. Play with the code
Picking
Use your mouse to click on the scene rendering
Collision Detection (CD)
Use the keyboard arrow keys and "+", "-" to move along the major axes in the world space
2. Read the code
3. Try to use picking and CD in your coursework
You are encouraged to use GenAI to help your work.
Notice of Limitations of the Code
Only intended for demonstration of basic picking and collision detection.
For simplicity, it only uses a mesh list and build the grid/octree into each mesh model itself.
No support of Scenegraph.
Picking does not take occlusion into account.
Very rudimentary class design.
Improvements needed for memory efficiency.
Tutorial
Last updated