Jumble 'o Junk
First off, I’ve finished Castlevania: Portrait of Ruin. It’s rubbish. I have the makings of a writeup on my computer somewhere, and now I just need to be bothered to finish it.
Next, an annoying flash game, Jinseiowata no daibouken. The title could be said to translate to “Life-over super-adventure.” I didn’t even make it past the first screen.
Uhh, I was going to put some other stuff here too. Ah, yes, OpenGL’s polygon offset feature. In many “programmer designed” games (i.e. stuff by Kenta Cho) polygon models are outlined to provide greater contrast. A simple way of doing this is drawing a filled poly, then drawing the same polygon as a wireframe over top. The problem with this, however, is that the wireframe will sometimes move in and out of the poly, resulting in “stitching.” Notice how the lines around the back edges of the cube are kinda spotty? Yeah, we don’t want that. So, by invoking a polygon offset, we can slightly reduce the size of the red cube, which means the wireframe is always on top. Slight difference, but it’s definitely noticeable. I hacked up this tutorial to produce the above images.
Comments