Module tile

Module tile 

Source
Expand description

Tile rendering algorithms.

Functionsยง

masks
Collect all masks per tile.
render_tile_depth
Render depth of a tile using a camera perspective, image resolution, tile position, tile size and triangle list with mask, into a tile depth and index buffer.
tile_grid
Calculate the grid size of tiles needed to cover image.
tile_mask
From camera perspective, tile and a list of triangles, get mask of intersecting triangles.
tile_pos
Calculate the normalized tile position.
tile_size
Calculate the normalized tile size.