Scientific Computing and Computer Graphics with GPU: Application of Projective Geometry and Principle of Duality