Practical Algorithms for 3D Computer Graphics