Triangulated model rasterization: light-weight Python library I have a 3D model, which consists of ~50 thousand vertices and 100 thousand triangles. Format is: there's array of vertices' coordinates and array of triangles, which has numbers of vertices (e.g., [1, 2, 5] -- triangle, which consists of first, second and fifth vertex from vertices' array).

I calculate color of each triangle and rotate the model by myself.
Also I "render" it manually, putting vertices as pixels on PIL image, but matrix with colors is enough for my purpose (I need only the matrix).

I don't know, whether I will implement robust and correct rendering function, but I cannot find light-weight library as well.
All I need is to display the set of triangles with specified colors and  background image fast (far less than for a second).
I've found VTK library and used bindings to Python  3 available from different Anaconda organizations: anaconda itself, conda-forge, clinicalgraphics and menpo.
Also it can be compiled from sources.

Works fast (I've rendered a mesh with half a million vertices without any problems) and easier in use than low-level OpenGL shaders with GLUT.

menpo has its own wrapper for VTK and mayavi called menpo3d.
I have not tried it yet, but examples look very simple.