Computer graphics codes in C++ Language


These Computer graphics codes are the part of Computer Graphics and Object-oriented programming Lab of Computer Science Engineering and Information technology Subject. You can Download Computer graphics codes from these below links.

Computer graphics codes

Boundary-fill and flood-fill algorithms Code Boundary & Flood Fill Algorithms
Transformations computer graphics Transformations computer graphics
DDA and Bresenham line drawing algorithm Bressenham & DDA Line Drawing algorithms
Computer Graphics Editor Graphics Editor


Computer graphics codes Lab Syllabus

2D and 3D Transformations in Computer Graphics

2D Geometric Transformations, Basic transformations- translation,3D transformation Polygon filling methods, shearing, matrix representation and homogeneous coordinate system, Composite transformation, scaling, rotation, other transformations such as reflection.

Color models & animation in Computer Graphics

Animation sequences ,functions & Languages, RGB, YIQ, CMY, HSV,Color Mixing. Key-frame systems, Motion Specifications.

Ray Tracing

Ray tracing methods,Local Illumination and shading.Transformation,algorithms, ray surface intersection calculations Hierarchy.

3D object representation and 3D Viewing in Computer Graphics

Projections, Examples of 3D viewing .curved lines & surfaces, quadratic surfaces, Spline, Polygon surfaces, polygon tables, plane equation, polygon meshes, representation, Specifying an arbitrary 3D View.

Advanced Topics

Rendering equation and Monte Carlo methods, GPU, Bezier curves. Interactive Graphics & usage of at least two tools of computer graphics, , anti-aliasing, texture mapping, shadows,Fractals, fractal lines and surfaces

Basic Concepts of Computer Graphics

Introduction to computer graphics, Basics of Graphics systems, algorithms and display file interpreter,Stroke Principle, Starburst Principle, Bit map method, display of frame buffer. Raster scan and random scan displays, display processor.Scan conversions, lines, line segments, vectors, pixels and frame buffers, vector generation, DDA and Bresenham’s line and circle drawing algorithms.