https://github.com/mateusjssilva/3d-robotic-arm
This project is an OpenGL example that demonstrates how to create and render a 3D robotic arm. It showcases the use of OpenGL for modeling and animating a multi-jointed robotic arm with realistic movements.
https://github.com/mateusjssilva/3d-robotic-arm
3d computer-graphics glut opengl robotic-arm
Last synced: 3 months ago
JSON representation
This project is an OpenGL example that demonstrates how to create and render a 3D robotic arm. It showcases the use of OpenGL for modeling and animating a multi-jointed robotic arm with realistic movements.
- Host: GitHub
- URL: https://github.com/mateusjssilva/3d-robotic-arm
- Owner: MateusjsSilva
- License: mit
- Created: 2024-04-13T19:02:45.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-08-17T12:04:10.000Z (10 months ago)
- Last Synced: 2025-02-05T09:54:02.384Z (5 months ago)
- Topics: 3d, computer-graphics, glut, opengl, robotic-arm
- Language: C++
- Homepage:
- Size: 21.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 3D Robotic Arm
This repository contains an OpenGL project for drawing a 3D robotic arm. The user can interact with the robotic arm and rotate its parts using the specified keys.
## Screenshot
![]()
## Prerequisites
To ensure the project runs correctly on different platforms, specific libraries are included based on the operating system:
```c
#ifdef __APPLE__ // MacOS
#define GL_SILENCE_DEPRECATION
#include
#include
#include
#else // Windows and Linux
#include
#include
#include
#endif
```## Features
- **Shoulder Rotation:**
- Key `o`: Rotates the shoulder clockwise.
- Key `O`: Rotates the shoulder counterclockwiseo.
- **Elbow Rotation:**
- Key `c`: Rotates the elbow clockwise.
- Key `C`: Rotates the elbow counterclockwise.- **Hand Rotation:**
- Key `m`: Rotates the hand clockwise
- Key `M`: Rotates the hand counterclockwise.- **Thumb Rotation:**
- Key `p`: Rotates the thumb clockwise.
- Key `P`: Rotates the thumb counterclockwise.
- **Index Finger Rotation:**
- Key `i`: Rotates the index finger clockwise.
- Key `I`: Rotates the index finger counterclockwise.
- **Ring Finger Rotationr:**
- Key `a`: Rotates the ring finger clockwise.
- Key `A`: Rotates the ring finger counterclockwise.
- **Full Arm Rotation Around Y-Axis:**
- Key `y`: Rotates the entire arm clockwise.
- Key `Y`: Rotates the entire arm counterclockwise.
- **Exit the Program:**
- Key `ESC`: Closes the program.## Contribution
Feel free to open issues or submit pull requests. All contributions are welcome!
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.