TrueType

Some More Debug Readouts

I added some more debug readouts in the top left that I can easily enable and disable. Also changed the clear color to white for the time being so we can see which faces are actually being drawn. I've also gone and sped up the rendering a little bit more. We used to drop to about 24FPS is large open areas. Now we can always stay above 30 since our early out in the loop is when the block we are checking is solid. We get a consistent 60 inside cave-like areas which is good.

2016 Gallery 6: Other OpenGL Stuff

A side project that never developed into anything. Simply got some rendering stuff copied over and then it was abandoned

I worked on making a rasterizer for shapes defined by quadratic curves. It works off the assumption that, taken any point you can cast a ray in any direction, count the number of intersections going one way and going the other and the resulting numb…

I worked on making a rasterizer for shapes defined by quadratic curves. It works off the assumption that, taken any point you can cast a ray in any direction, count the number of intersections going one way and going the other and the resulting number determines whether the point is inside the shape or not. The white interior here is actually a rasterized bitmap created using the curves. I looped through each pixel and performed the containment test to determine whether it was white or transparent. There was no antialiasing and it was painfully slow and unusable but it was a great educational project.