camera projection with algorithm based on triangle similarity