Cad Cam Development

13 steps to perform CSG Tree Raycasting

There are numerous examples of normal ray casting. Almost everyone has heard about CSG. Each computer graphics book has printed a csg ray traced image. Performing Constructive Solid Geometrical operations is crucial in CAD/CAM and almost in every computer graphics application. I’m going to explain you some main ideas on csg ray casting that will help you to develop your own code. The article covers only implicit representation of surfaces does not present any knowledge about parametrical. Source code is included.