rendering using the quad tree