Monday 28 March 2016

Constructive Solid Geometry using OpenGL


 Constructive Solid Geometry using OpenGL

Program to demonstrate basic use of 3D shapes and transformations. Uses calls to glut to draw the shapes. Click on the right mouse button which displays the menu, left button selects the option. Also illustrates the rotation of CSG in 3dimensional space. The program uses variable angle of rotation for different objects. The objects are in the shape of cone and sphere.

This is a simple interactive graphics program. It is extremely user friendly and has the features, which makes an OpenGL application. It mainly helps in demonstrating the basic use of 3D shaped and transformations.

It has an open source code and no security features have been included. The user is free to alter the code for further enhancements to either the front end or the back end. The basic minimal features such as built-in functions have been included in this simple graphics program.

Screen Shots

  • Object A only(Cone) with Menu








  •  Object B only(Sphere).


  • A or B


  • A and B



  • A Sub B


  • B sub A


  • CSG representations Changing Positions of Objects.

  1. A or B

2.   A and B




3.  A sub B


4.  B sub A



Download Program Source Source Code here
Download Full Project Report here 

No comments:

Post a Comment