Optimize rendering for photorealistic 3D animation