3D Computer Graphics with Python
summary
Shows concrete workflows: use bpy scripting to generate meshes from vertex and face lists (example builds a tetrahedron and cubes), and a few lines of Python reduce one city chunk from 125,000 triangles to 56,000 by removing doubles and interior faces. For realtime graphics use PyOpenGL or pyglet but write GLSL vertex and fragment shaders. For web delivery use OpenWebGlobe style preprocessing: Python + Flask converts terabytes of textures into image tiles (example dataset 3 GB geometry, 500 GB textures) and a JS viewer renders depth/normal/color maps in WebGL.
AI-written summary · about
