-
Implemented a fabric-wind relational physics engine using verlet integration for accurate simulations, and rendered the fabric using OpenGL graphics. Designed a user-friendly interface utilizing Dear Imgui, enabling user control over various simulation physics parameters, such as wind direction and texture mapping.
Controls:
Q - Move camera up
E - Move camera down
W - Move camera forward
S - Move camera backward
A - Move camera leftward
D - Move camera rightward
T - Disallow camera movement (useful for interacting with Imgui interface)
1 - Default rendering mode
2 - Wireframe rendering mode
3 - Dot grid rendering mode
Imgui interface allows for user to:
- Change length and width of fabric
- Change camera speed
- Change fabric texture
- Change wind patterns
- Change rendering modes (wireframe, dot grid, normal)
- Disable user cursor
Rendering Modes: