A New Algorithm for the Rendering of CSG Scenes