https://github.com/jai-x/renderer
An experiment in software rendering; based on ssloy/tinyrenderer
https://github.com/jai-x/renderer
c99 software-rendering
Last synced: 5 months ago
JSON representation
An experiment in software rendering; based on ssloy/tinyrenderer
- Host: GitHub
- URL: https://github.com/jai-x/renderer
- Owner: jai-x
- Created: 2019-04-12T14:16:52.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2021-03-12T22:31:50.000Z (almost 5 years ago)
- Last Synced: 2025-03-13T02:36:34.299Z (11 months ago)
- Topics: c99, software-rendering
- Language: C
- Homepage:
- Size: 676 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# renderer
An experiment in software rendering to teach me more about it. Based on
ssloy/tinyrenderer but adapted and written in C99.

## todo
- [x] Remove SDL2 and go back to using raw PPM images
- [x] Fix inverted Y axis from OBJ file parsing
- [ ] Implement full OBJ file parsing rather than just a subset
- [ ] Texturing
- [ ] Perspective projection
## requirements
Tested to work on MacOS and Linux.
## build and run
```shell
$ mkdir build
$ make
$ ./build/renderer
```