implemented hardware rendering, fixed perspective projection (near/far plane) calculation