3D Visualization and Collision Detection