tamara-schmitz / CPPsoftwareRenderer

3D SoftwareRenderer written in C++11 using SDL
MIT License
0 stars 0 forks source link

Implement DrawFarPlane() / DrawNearPlane() debug functions #15

Closed tamara-schmitz closed 7 years ago

tamara-schmitz commented 7 years ago

In Renderer class implement DrawFarPlane() and DrawNearPlane() as described right here:

Generate 2 big triangles in perspective space that the screen and z = far_z or z = near_z. Apply screenspace matrix to triangles and add to out_vpoos vector.