Posts

Showing posts with the label openGL

CLIPPING POLYGONS : SUTHERLAND-HODGMAN'S PLOYGON-CLIPPING ALGORITHM

Image
Algorithm  Take input edges (Edges contain two vertices ) successively for a given polygon. Output is a new vertices Don't panic see the description of wonderful explanation. 

Project a 3D Hexognal using perspective projection OpenGL in C++

Image
Figure 1 Perspective in the graphic arts, such as drawing, is an approximate representation, on a flat surface (such as paper), of an image as it is seen by the eye.(wikipedia)

3D Rotation using OpenGL in C++

Image
3D Roataion in OpenGL in C++ Code Updated : 25/07/2014 @ 06:16 AM There are small changes occur...

Projection of a CUBE using OpenGL in C++

Image
Using OpenGL Library in C++ to projecting the cube. Projection mean show 3D points in 2D plan.

Projection of a Barn

Image
Projecting a 3D barn in 2D view plan.