Currently browsing tag

generation

20. OpenGL MipMap Generation

OpenGL Mipmap Tutorial PreviewMip maps are an essential texture extension, which creates scaled down versions of a texture and uses them when an object gets further away, or closer to the near plane. This scaled down version of the texture, makes for nicer, smoother looking textures.

17. OpenGL Texture Coordinate Generation

OpenGL Texture Coordinate Generation Tutorial PreviewWhen assigning a texture to an object, you need to declare the texture coordinates, little values between 0 and 1 that tell us which part of the image maps to which part of the 3D model. OpenGL has some texture coordinate methods for generic texturing.