Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/haschka/3d-wireframe
A tool to render and view basic 3D wireframes
https://github.com/haschka/3d-wireframe
3d 3d-graphics 3d-graphics-renderer c-language sdl2 unix-tool wireframe
Last synced: about 1 month ago
JSON representation
A tool to render and view basic 3D wireframes
- Host: GitHub
- URL: https://github.com/haschka/3d-wireframe
- Owner: haschka
- License: gpl-3.0
- Created: 2024-09-14T08:09:18.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-09-14T12:10:11.000Z (3 months ago)
- Last Synced: 2024-10-19T21:06:03.636Z (2 months ago)
- Topics: 3d, 3d-graphics, 3d-graphics-renderer, c-language, sdl2, unix-tool, wireframe
- Language: C
- Homepage:
- Size: 85.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 3D-wireframe
A tool to render and view basic 3D wireframes.(c) Thomas Haschka 2024 - GPL-3 license.
### Installation:
You need sdl2 libraries and headers installed, as well as a c compilier.
On a debian based system you can accomplish this by:
```
sudo apt-get install build-essential libsdl2-dev
```
Compilation of the tool works as follows:
```
./build.sh
```
You might edit `build.sh` in order to compile the tool on your choice of operating system.### Usage:
In order to render an object you need two basic files.
One contains the vertices or nodes, the other the edges or links.
For examples look at `cube-nodes` and `cube-links`.You can run the program by execting for instance:
```
./simple-3d cube-nodes cube-links
```Rotate around:
- x axes with `q` and `e` keys
- y axes with `a` and `d` keys
- z axes with `z` and `c` keys![](screenshot.png)