500 Lines or Less A 3D Modeller
Summary
This article explains how to build a tiny 3D modeller in Python using OpenGL and GLUT. It covers a scene-graph approach with Node, Primitive, and HierarchicalNode classes, a SnowFigure composite, an Interaction callback system, and simple ray picking with AABB for object selection. It also shows how to translate, scale, place, and rotate objects through matrix operations and real-time rendering.