3D Fundamentals Tutorial 7

From Chilipedia
Jump to: navigation, search

Textures. Put purdy pictures onto your triangles. Lot of interpolation and stuff.

Video

The tutorial video is on YouTube here.

[Expand]
  • What is texture mapping and why do we want it? 0:14
  • How to approach texture mapping 2:45
  • Interpolating between three vertices 5:33
  • Pre-stepping 7:20
  • Implementing these concepts into code 8:42
  • Demonstration on screen 23:00
  • Improving the interpolation algorithm 26:32
  • Consolidating flat top & flat bottom triangle drawing routines 31:15
  • Adding features: texture clamping and texture wrapping 33:15
  • Fixing texture mapping of top & bottom: unfolding the geometry of the cube 36:00
  • Implementing unfolding & full surface mapping in the code 38:40
  • Creating a skin for a cube 39:56
  • Advantages of using normalized texture coordinates 41:30
  • Improving texture image quality: bilinear filtering, (isotropic) mip mapping, normal mapping 43:25
  • Recap: you are now master of texture mapping, reverse lookup & interpolation 45:30

Downloads

The GitHub repository for the tutorial code is here.

See also