mini3d
3D Software Renderer in 700 Lines
...Implementing Cropping: Simple CVV Cropping. Up to 1024 x 1024 textures. Use the depth buffer to judge the image before and after. Perspective Texture Mapping and Perspective Color Fill. Accurate polygon edge coverage calculation. The rendering engine has only 700 lines, the modules are clear, and the backbone is prominent. Detailed comments, detailed comments on the main code.