Today's post features another foray into the world of computer graphics using OpenGL. This time, we're entering the third dimension and bringing some textures to make it look nice.
The first task was to load the 3D model of the fish and applying a texture to it. It was a relatively simple task that only required finding the model's texture coordinates and binding them to the mesh.
The second task was more complicated, asking to procedurally generate a Mobius Strip using parameters given by the user. Unsurprisingly, the mathematical formulas used to render a Mobius Strip are not easy. Nor was the process to apply the wooden texture to the model. But, it all seems to have worked out in the end.
Mobius Strip and the Textured Fish sounds like a low-quality Moby-Dick spin-off.
Comments