Вы находитесь на странице: 1из 5

Lovely Professional University, Punjab

Course Code CSE309 Course Category Course Title COMPUTER GRAPHICS LABORATORY Practical Course Course Planner 14621::Gaurav Raj Lectures 0.0 Tutorials Practicals Credits 0.0 2.0 1.0

TextBooks Sr No T-1 Title Computer Graphics Reference Books Sr No R-1 R-2 Title Computer Graphics Introduction to Computer Graphics Author Zhigang Xiang, Roy Plastock Edition 1st Year 2004 1994 Publisher Name Tata McGraw Hill Addison Wisely Author Hearn and Baker Edition 1st Year 2007 Publisher Name Pearson Education

J.D. Foley, A.V. Dam, S.K. 2nd Feiner, J.F. Hughes, R.L. Phillips Kelvin Sung, Petter Shirley 1st

R-3

Interactive Computer Graphics: with CD - Paperback edition

2009

Cengage Learning

Relevant Websites Sr No RW-1 RW-2 Virtual Labs Sr No VL-1 (VL) (only if relevant to the course) http://deploy.virtual-labs.ac.in/labs/cse18/index.php Salient Features Go through understanding the concepts of 3D Coordinate systems, Transformations, Hierarchical modelling and Cameras. (Web address) (only if relevant to the course) Salient Features http://ggnindia.dronacharya.info/CSEDept/Downloads/Labmanuals/Aug09-Dec09/CSE Referenced Lab Manual with Full Source Code of the relevant programs %20%26%20IT/V%20Sem/CGLab_CSE-V.pdf http://gyan.fragnel.ac.in/~roshni/cgmanualnewfinal.html Referenced Lab Manual with brief introduction of the relevant programs

Scheme for CA:


Component Lab Program Evaluation Mini project Frequency 6 1 Total :Out Of 8 Each Marks Total Marks 5 10 15 30 10 40

Details of Academic Task(s)


AT No. Objective Topic of the Academic Task Nature of Academic Task (group/individuals/field work Evaluation Mode Allottment / submission Week 3 / 12

Mini project 1

To check Design and Implementation of Conceptual topics in Course

1. Design Different Software development Life Cycles in Group Computer graphics using c. 2. Design A Screen saver in c on Moving Air plane at runway. 3. Design A Screen saver in c on Moving Train with Side view. 4. Design A Screen saver in c on Republic day Scenario on Red Fort. 5. Design A Screen Saver in c with Sea Beach Scenario. 6. Design A Presentation in c of Different type of Transformations. 7. Design A Presentation in c on Different type of Clipping Methods. 8. Design a Paint Shop in c with implementing filling algorithm to fill pre defined shapes with optional colors. 9. Design a Paint Shop in c with implementing different transformations on predefine shapes. 10. Design a Presentation in c to demonstrate Different Projections 11. Design a Presentation in c to Demonstrate Different Light Effects on Objects. 12. Design a Screen Saver in c of Fish pond. 13. Design a Screen Saver in c on non overlapping floating bubbles in water. 14. Design a Paint shop in c to draw basic graphics shapes like line, circle, ellipse, polygon, arcs and curves. 15. Design a paint shop in c to implement color petal with different color models in computer graphics.

Execution, Design and written Report, individual Viva

*Each experiment of the lab will be evaluated using following relative scheme:
Component J/E WR VIVA % of Marks 50 20 30

Detailed Plan For Practicals


Practical No Practical 1 Broad topic (Subtopic) Line , circle and ellipse Drawing (Implementing DDA Line Drawing Algorithm) Line , circle and ellipse Drawing (Implementing Mid-Point Line Drawing Algorithm) Practical Description Writing a program for DDA line Drawing Writing a program for Mid point line Drawing Learning Outcomes Implement some of the learned techniques and concepts using C/C++ for drawing various Graphical shapes. Implement some of the learned techniques and concepts using C/C++ for drawing various Graphical shapes. Equipment Used Turbo C/C++ Compiler

Turbo C/C++ Compiler

Practical 1

Line , circle and ellipse Drawing (Implementing Bresenham's Line Drawing Algorithm) Line , circle and ellipse Drawing (Implementing Bresenham's Circle Drawing Algorithm)

Writing a program for Bresenham''s line Drawing

Implement some of the learned techniques and concepts using C/C++ for drawing various Graphical shapes.

Turbo C/C++ Compiler

Writing a program for Bresenham's circle Implement some of the learned Drawing techniques and concepts using C/C++ for drawing various Graphical shapes. Writing a program for Bresenham's circle Implement some of the learned Drawing techniques and concepts using C/C++ for drawing various Graphical shapes. Implement some of the learned techniques and concepts using C/C++ for drawing various Graphical shapes. Implement some of the learned techniques and concepts using C/C++ for drawing various Graphical shapes.

Turbo C/C++ Compiler

Practical 2

Line , circle and ellipse Drawing (Implementing Bresenham's Circle Drawing Algorithm)

Turbo C/C++ Compiler

Line , circle and ellipse Drawing Writing a program for Mid- Point circle (Implementing Mid-Point Circle Drawing Drawing Algorithm) Line , circle and ellipse Drawing (Implementing Bresenham's Ellipse Drawing Algorithm) Line , circle and ellipse Drawing (Implementing Mid-Point Ellipse Drawing Algorithm) Practical 3 Writing a program for Bresenham's ellipse Drawing

Turbo C/C++ Compiler

Turbo C/C++ Compiler

Writing a program for Mid - Point ellipse Implement some of the learned Drawing techniques and concepts using C/C++ for drawing various Graphical shapes. Implement some of the learned techniques and concepts using C/C++ for filling various Graphical shapes. Implement some of the learned techniques and concepts using C/C++ for filling various Graphical shapes. Implement some of the learned techniques and concepts using C/C++ for filling various Graphical shapes. Implement some of the learned techniques and concepts using C/C++ for filling various Graphical shapes. Implement some of the learned techniques and concepts using C/C++ for transformation in 2D object shapes Implement some of the learned techniques and concepts using C/C++ for transformation in 2D object shapes Implement some of the learned techniques and concepts using C/C++ for transformation in 2D object shapes Implement some of the learned techniques and concepts using C/C++ for transformation in 2D object shapes Implement some of the learned techniques and concepts using C/C++ for transformation in 2D object shapes Implement some of the learned techniques and concepts using C/C++ for transformation in 2D object shapes

Turbo C/C++ Compiler

Polygon Filling Algorithm(Implementing Writing a program for implementing Flood Fill polygon filling algorithm using Flood filling algorithm 4 connect neighbour) Polygon Filling Algorithm(Implementing Writing a program for implementing Flood Fill polygon filling algorithm using Flood filling algorithm 8 connect neighbour) Polygon Filling Algorithm(Implementing Writing a program for implementing Boundary Fill polygon filling algorithm Boundary filling algorithm using 4 connect neighbour) Polygon Filling Algorithm(Implementing Writing a program for implementing Boundary Fill polygon filling algorithm Boundary filling algorithm using 8 connect neighbour)

Turbo C/C++ Compiler

Turbo C/C++ Compiler

Turbo C/C++ Compiler

Turbo C/C++ Compiler

Practical 4

2D Transformation(Implementing 2D Scaling Transformation) 2D Transformation(Implementing 2D Rotation Transformation) 2D Transformation(Implementing 2D Translation Transformation) 2D Transformation(Implementing 2D Shearing Transformation)

Writing a program for 2D Scaling Transformation Writing a program for 2D rotation Transformation Writing a program for 2D translation Transformation Writing a program for 2D Shearing Transformation Writing a program for 2D Shearing Transformation Writing a program for 2D Reflection Transformation

Turbo C/C++ Compiler

Turbo C/C++ Compiler

Turbo C/C++ Compiler

Turbo C/C++ Compiler

Practical 5

2D Transformation(Implementing 2D Shearing Transformation) 2D Transformation(Implementing 2D Reflection Transformation)

Turbo C/C++ Compiler

Turbo C/C++ Compiler

Practical 5

2D Transformation(Use homogeneous coordinates in 2D Composite Transformation) 2D Transformation(Rotate a Triangle about Origin)

Writing a program for composite Transformation

Implement some of the learned techniques and concepts using C/C++ for transformation in 2D object shapes

Turbo C/C++ Compiler

Writing a program for composite Implement some of the learned Transformation to rotate a Triangle about techniques and concepts using C/C++ Origin for transformation in 2D object shapes Writing a program for composite Implement some of the learned Transformation to rotate a Triangle about techniques and concepts using C/C++ Origin for transformation in 2D object shapes Writing a program for composite Implement some of the learned Transformation to rotate a Triangle about techniques and concepts using C/C++ a fix point for transformation in 2D object shapes Implement some of the learned techniques and concepts using C/C++ for transformation in 2D object shapes Implement some of the learned techniques and concepts using C/C++ for transformation in 2D object shapes Implement some of the learned techniques and concepts using C/C++ for 2D line clipping in given window Implement some of the learned techniques and concepts using C/C++ for 2D line clipping in given window Implement some of the learned techniques and concepts using C/C++ for 2D polygon clipping in given window Implement some of the learned techniques and concepts using C/C++ for 2D polygon clipping in given window Implement some of the learned techniques and concepts using C/C++ for 3D line clipping in given window Implement some of the learned techniques and concepts using C/C++ for 3D polygon clipping in given window Implement some of the learned techniques and concepts using C/C++ for transformation in 3D object shapes Implement some of the learned techniques and concepts using C/C++ for transformation in 3D object shapes

Turbo C/C++ Compiler

Practical 6

2D Transformation(Rotate a Triangle about Origin) 2D Transformation(Rotate a Triangle about a fix point)

Turbo C/C++ Compiler

Turbo C/C++ Compiler

2D Transformation(Shear the cube with x Writing a program for composite and y axis) Transformation to Shear the cube with x and y axis 2D Transformation(Reflect the Triangle about an arbitrary line) Practical 7 Writing a program for composite Transformation to reflect the Triangle about an arbitrary line

Turbo C/C++ Compiler

Turbo C/C++ Compiler

2D and 3D Clipping(Implementing 2D Writing a program for 2D 2D Cohen Cohen Sutherland line clipping methods) Sutherland line Clipping 2D and 3D Clipping(Implementing MidPoint line clipping methods) 2D and 3D Clipping(Implementing Weiler Atherton polygon clipping methods) Writing a program for 2D Mid point line Clipping Writing a program for 2D Weiler Atherton polygon Clipping Writing a program for 2D Sutherland Hodgeman polygon Clipping Writing a program for 3D Cohen Sutherland line Clipping Writing a program for 3D Cohen Sutherland polygon Clipping Writing a program for 3D Scaling Transformation Writing a program for 3D rotation Transformation

Turbo C/C++ Compiler

Turbo C/C++ Compiler

Turbo C/C++ Compiler

Practical 8

2D and 3D Clipping(Implementing Sutherland Hodgeman polygon clipping methods) 2D and 3D Clipping(Implementation of 3D Cohen Sutherland line Clipping method) 2D and 3D Clipping(Implementation of 3D Cohen Sutherland polygon Clipping method) 3D Transformation and Projection (Implementing 3D Scaling Transformation,)

Turbo C/C++ Compiler

Turbo C/C++ Compiler

Turbo C/C++ Compiler

Turbo C/C++ Compiler

Practical 9

3D Transformation and Projection (Implementing 3D Rotation Transformation)

Turbo C/C++ Compiler

Practical 9

3D Transformation and Projection (Implementing 3D Translation Transformation) 3D Transformation and Projection(Use homogeneous coordinates in 3D Composite Transformation)

Writing a program for 3D translation Transformation Writing a program for 3D composite Transformation using homogeneous coordinates Writing a program for 3D composite Transformation using homogeneous coordinates Write a program for visualizing orthographic projections

Implement some of the learned techniques and concepts using C/C++ for transformation in 3D object shapes Implement some of the learned techniques and concepts using C/C++ for transformation in 3D object shapes Implement some of the learned techniques and concepts using C/C++ for transformation in 3D object shapes

Turbo C/C++ Compiler

Turbo C/C++ Compiler

Practical 10

3D Transformation and Projection(Use homogeneous coordinates in 3D Composite Transformation) 3D Transformation and Projection (Visualized orthographic projection)

Turbo C/C++ Compiler

Implement some of the learned Turbo C/C++ Compiler techniques and concepts using C/C++ for visualizing projections in computer graphics Implement some of the learned Turbo C/C++ Compiler techniques and concepts using C/C++ for visualizing projections in computer graphics Implement some of the learned Turbo C/C++ Compiler techniques and concepts using C/C++ for visualizing projections in computer graphics

3D Transformation and Projection (Visualized Axonometric projection)

Write a program for visualizing Axonometric projections

3D Transformation and Projection (Visualized Obligue projection)

Write a program for visualized Obligue projections

SPILL OVER
Practical 11 Hierarchical Transformations: 2D Demo This experiment demonstrates the result Virtual Lab of different sequences of transformation on a simple triangle.

Вам также может понравиться