Update README

This commit is contained in:
Krzosa Karol
2022-07-27 12:27:31 +02:00
parent 6a06f72669
commit 00b030fd9f

View File

@@ -1,6 +1,8 @@
# Realtime Software Renderer # Realtime Software Renderer
Optimized realtime software renderer. I tried to optimize it so that it can render Sponza Palace at 30fps on my machine. It uses multithreading and vector/SIMD instructions.
![screenshot1](assets/Screenshot1.png) ![screenshot1](assets/Screenshot1.png)
![screenshot2](assets/Screenshot2.png) ![screenshot2](assets/Screenshot2.png)
@@ -40,6 +42,12 @@ Last clipping stage is performed in the 2D image space. Every triangle has a cor
box. In this box every pixel gets tested to see if it's in the triangle. In this clipping stage box. In this box every pixel gets tested to see if it's in the triangle. In this clipping stage
the box is clipped to the image metrics - 0, 0, width, height. the box is clipped to the image metrics - 0, 0, width, height.
## Building
1. Download Visual Studio and Clang
1. Run build.bat
1. Executable requires a specific Sponza obj + textures and it's not bundled with the repository, it's too big(500mb), repository is only for showcase, if someone actually wants to run this you can PM me but I doubt that anyone would want to run this...
### Things to do: ### Things to do:
- [x] Drawing triangles - [x] Drawing triangles
@@ -79,6 +87,7 @@ the box is clipped to the image metrics - 0, 0, width, height.
- [x] Simple test z clipping - [x] Simple test z clipping
- [x] Maybe should clip a triangle on znear zfar plane? - [x] Maybe should clip a triangle on znear zfar plane?
- [x] Maybe should clip out triangles that are fully z out before draw_triangle - [x] Maybe should clip out triangles that are fully z out before draw_triangle
- [ ] Proper infrustructure for transparent textures - sorting before rendering
- [ ] Effects!!! - [ ] Effects!!!
- [ ] Outlines - [ ] Outlines
- [ ] Lightning - [ ] Lightning