An open API service indexing awesome lists of open source software.

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

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.

![the utah teapot rendered using this renderer](./teapot.png)

## 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
```