[go: up one dir, main page]

0% found this document useful (0 votes)
34 views3 pages

CG and V Lab Introduction

The course 'Computer Graphics and Visualization' (BCG402) aims to teach students about computer graphics concepts, mathematical applications for 2D and 3D graphics, and the use of OpenGL APIs. Students will learn to apply geometric transformations, understand color and illumination models, and demonstrate visualization techniques. The course also covers practical execution steps for creating graphics applications in Linux/Ubuntu.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
34 views3 pages

CG and V Lab Introduction

The course 'Computer Graphics and Visualization' (BCG402) aims to teach students about computer graphics concepts, mathematical applications for 2D and 3D graphics, and the use of OpenGL APIs. Students will learn to apply geometric transformations, understand color and illumination models, and demonstrate visualization techniques. The course also covers practical execution steps for creating graphics applications in Linux/Ubuntu.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

Course Name: Computer Graphics and Visualization

Course Code: BCG402

Course Learning Objectives:


This course will enable students to
CLO 1. Understand concepts of Computer Graphics along with its applications.
CLO 2. Exploring mathematics for 2D and 3D graphics along with OpenGL API’s.
CLO 3. Use of Computer graphics in animation and GUI design.
CLO 4. Demonstrate Geometric transformations, viewing on both 2D and 3D objects.
CLO 5. Infer the representation of curves, surfaces, Color and Illumination models.

Course Outcomes:
At the end of the course, the student will be able to:
CO 1. Demonstrate simple algorithms using OpenGL Graphics primitives and attributes.
CO 2. Apply mathematical concepts for 2-D and 3-D geometric transformations.
CO 3. Make use of OpenGL functions for Interactive Input, GUI and animations.
CO 4. Explain clipping algorithms, color models and illumination models.
CO 5. Demonstrate visualization of surfaces and 3D objects.
About Computer graphics and visualization
Computer graphics and visualization involve techniques and technologies to create,
manipulate, and render images and visual content. This field encompasses various
applications, including scientific visualization, which uses images to model complex
phenomena, and computer-aided design, where objects are drawn and analyzed using
software tools. Careers in this field can range from graphic designers to software
developers, and it plays a crucial role in various industries, including entertainment,
engineering, and education.
Computer Graphics including digital images, animations, and interactive graphics used
in various sectors such as entertainment, education, scientific visualization, and virtual
reality. Computer Graphics can be used in UI design, rendering, geometric objects,
animation, and many more. In most areas, computer graphics is an abbreviation of CG.

About OpenGL
OpenGL is a software interface that allows the programmer to create 2D and 3D
graphics images. OpenGL is both a standard API and the implementation of that API. You
can call the functions that comprise OpenGL from a program you write and expect to see
the same results no matter where your program is running.

OpenGL is independent of the hardware, operating, and windowing systems in use. The
fact that it is windowing-system independent, makes it portable. OpenGL program must
interface with the windowing system of the platform where the graphics are to be
displayed. Therefore, a number of windowing toolkits have been developed for use with
OpenGL.

OpenGL Primitives
GLUT - Windowing toolkit (key, mouse handler, window events)
GLU - Viewing –perspective/orthographic, Image scaling, polygon tessellation, Sphere,
cylinders, quadratic surfaces
GL - Primitives - points, line, polygons, Shading and Colour, Translation, rotation, scaling,
Viewing, Clipping, Texture, Hidden surface removal
Execution steps for executing the CG applications in Linux/Ubuntu
Step 1: In command prompt, type gedit filename.c to create a file for writing the
application program.
Step 2: Type the program in the file created in step 1.
Step 3: Save the file with the extension .c/.cpp
Step 4: Compile the application using the command
gcc filename.c -lglut -lGL -lGLU
Step 5: If there are errors in the application program, debug them and then compile
once again. Repeat this step until all the errors are resolved.
Step 6: Execute the application program using the command ./a.out

You might also like