Package eu.svjatoslav.sixth.e3d.renderer.raster.shapes.basic.texturedpolygon


package eu.svjatoslav.sixth.e3d.renderer.raster.shapes.basic.texturedpolygon
Textured triangle rendering with perspective-correct UV mapping.

Textured triangles apply 2D textures to 3D triangles using UV coordinates. Quake-style subdivided perspective correction (per-scanline recovery of exact u/v from linearly interpolated u/z, v/z, 1/z) keeps textures correct at any triangle size, so no tessellation is needed.

Key classes:

See Also: