Skip to content

v0.0.5

Compare
Choose a tag to compare
@archibate archibate released this 01 Oct 06:53
· 503 commits to master since this release

New in v0.0.5

Support smooth shading by interpolating colors at vertices.
Support t3.ModelPP for per-pixel light samping instead of color interpolation.
Support specifying normal map as textures, by using t3.ModelPP.from_obj(obj, texture, normtex).
Support overriding model.pixel_shader and model.vertex_shader for customized shader.

API breaking changes

t3.Model now must take faces, pos, tex, and nrm as input, use an array with size 1 to dummy them.
Use t3.Model.from_obj instead to initialize Model from .obj files.