Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nadaamohhamed/3d-shapes-computer-graphics
A Computer Graphics application that generates 3D building and 3D bicycles within a virtual environment.
https://github.com/nadaamohhamed/3d-shapes-computer-graphics
glut-library opengl
Last synced: 8 days ago
JSON representation
A Computer Graphics application that generates 3D building and 3D bicycles within a virtual environment.
- Host: GitHub
- URL: https://github.com/nadaamohhamed/3d-shapes-computer-graphics
- Owner: nadaamohhamed
- Created: 2024-05-12T21:44:35.000Z (6 months ago)
- Default Branch: master
- Last Pushed: 2024-05-16T20:56:41.000Z (6 months ago)
- Last Synced: 2024-05-23T01:41:11.460Z (6 months ago)
- Topics: glut-library, opengl
- Language: C++
- Homepage:
- Size: 63.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 3D Shapes Computer Graphics
- A Computer Graphics application that generates 3D building and 3D bicycles within a virtual environment.
- Users can interact with the scene by spinning bicycles around the building, rotating bicycle wheels, and opening/closing the building's door/windows.
- It's designed to demonstrate various concepts of Computer Graphics, including 3D modeling, transformations, rotation, and user interaction using OpenGL Utility Toolkit - GLUT.## Controls
### Camera Movement
- **X-axis**
- Press `x` to move the camera along the negative x-axis
- Press `X` to move the camera along the positive x-axis
- **Y-axis**
- Press `y` to move the camera along the negative y-axis
- Press `Y` to move the camera along the positive y-axis
- **Z-axis**
- Press `z` to move the camera along the negative z-axis
- Press `Z` to move the camera along the positive z-axis
### Door and Window Controls
- **Door**
- Press `o` to open the door
- Press `c` to close the door
- **Windows**
- Press `O` to open the windows
- Press `C` to close the windows
### Bicycle Controls
- **Movement**
- Press `f` to move the bicycle forward
- Press `b` to move the bicycle backward
- **Wheel Rotation**
- Press `r` to rotate the front wheel right
- Press `l` to rotate the front wheel left
- **Spinning**
- Press the `left mouse button` to start spinning the bicycle
- Press the `right mouse button` to stop spinning the bicycle
- Press `+` to increase the spinning speed
- Press `-` to decrease the spinning speed
### Mode Change
- Press `s` to change the camera movement mode to rotation mode
### General Controls
- Press `Esc` to exit
- Press `q` to reset all values to default## Preview