12
DOC/LP/01/28.02.02 LESSON PLAN LP –CS2401 Rev. No:02 Date:27.06 .13 Page: 01 of 06 Sub Code & Name : CS2401 COMPUTER GRAPHICS Unit: I Branch: IT Semester :VII Unit syllabus: 2D PRIMITIVES Output primitives – Line, Circle and Ellipse drawing algorithms - Attributes of output primitives – Two dimensional Geometric transformations - Two dimensional viewing – Line, Polygon, Curve and Text clipping algorithms. Objective: In this Unit Students will acquire knowledge about device level algorithm for displaying two dimensional o/p primitives for raster graphics system. Sess ion No Topics to be covered Time Ref Teachi ng Method 2D Output Primitives 1 Introduction to computer graphics – applications, Overview of graphics systems- Display devices. 50m 1(22- 76) BB/PPT 2 Basic Line Drawing algorithm-DDA algorithm, Bresenham’s line algorithm, Parallel line algorithms. 50m 1(104- 116) 3(96- 104) BB/OHP 3 Circle generating algorithms. 50m 1(117- 121) BB/OHP 4 Ellipse generating algorithms. 50m 1(122- 130) BB/OHP 5 Boundary & Flood-Fill Algorithms. 50m 1(147- 150) BB/OHP

Web view · 2013-06-27CS2401 COMPUTER GRAPHICS L T P C 3 0 0 3 . UNIT I 2D PRIMITIVES 9. Output primitives – Line, Circle and Ellipse drawing algorithms - Attributes of output primitives

Embed Size (px)

Citation preview

Page 1: Web view · 2013-06-27CS2401 COMPUTER GRAPHICS L T P C 3 0 0 3 . UNIT I 2D PRIMITIVES 9. Output primitives – Line, Circle and Ellipse drawing algorithms - Attributes of output primitives

DOC/LP/01/28.02.02

LESSON PLAN LP –CS2401

Rev. No:02

Date:27.06.13

Page: 01 of 06

Sub Code & Name : CS2401 COMPUTER GRAPHICS Unit: I Branch: IT Semester :VII

Unit syllabus:

2D PRIMITIVES

Output primitives – Line, Circle and Ellipse drawing algorithms - Attributes of output primitives – Two dimensional Geometric transformations - Two dimensional viewing – Line, Polygon, Curve and Text clipping algorithms.

Objective:In this Unit Students will acquire knowledge about device level algorithm for displaying

two dimensional o/p primitives for raster graphics system.

SessionNo

Topics to be covered Time RefTeaching Method

2D Output Primitives1 Introduction to computer graphics – applications,

Overview of graphics systems- Display devices.50m 1(22-76) BB/PPT

2 Basic Line Drawing algorithm-DDA algorithm, Bresenham’s line algorithm, Parallel line algorithms.

50m 1(104-116)3(96-104)

BB/OHP

3 Circle generating algorithms. 50m 1(117-121) BB/OHP4 Ellipse generating algorithms. 50m 1(122-130) BB/OHP5 Boundary & Flood-Fill Algorithms. 50m 1(147-150) BB/OHP6 Attributes-line, curve, color, Area fill, character,

Bundled, Inquiry function, Antialiasing.50m 1(164-197) BB/OHP

7 2’D transformation- translation, rotation, scaling , Matrix Representation.

50m 1(203-210)3(225-232)

BB/OHP

8 Composite transformation, Reflection and shearing. 50m 1(211-224)3(232-234)

BB/OHP

9 2D viewing- viewing pipeline, Viewing Coordinate Reference frame, Window to viewport coordinate transformation, 2D viewing functions.

50m 1(237-243) BB/OHP

10 Clipping Operation, Point clipping, Line clipping-Cohen –Sutherland.

50m 1(244-250)3(135-141)

BB/OHP

11 Line clipping-Liang Barsky,Nicholl-Lee-Nicholl. 50m 1(250-255) BB/OHP

12 Polygon clipping ,Curve clipping, Text clipping , Exterior clipping.

50m 1(257-265) BB/OHP

Page 2: Web view · 2013-06-27CS2401 COMPUTER GRAPHICS L T P C 3 0 0 3 . UNIT I 2D PRIMITIVES 9. Output primitives – Line, Circle and Ellipse drawing algorithms - Attributes of output primitives

DOC/LP/01/28.02.02

LESSON PLAN LP –CS2401

Rev. No:02

Date: 27.06.13

Page02 of 06

Sub Code & Name : CS2401 COMPUTER GRAPHICS Unit: II Branch: IT Semester :VII

Unit syllabus:

3D CONCEPTS

Parallel and Perspective projections - Three dimensional object representation – Polygons, Curved lines, Splines, Quadric Surfaces,- Visualization of data sets - 3D transformations – Viewing -Visible surface identification.

Objective:

In this Unit students will acquire knowledge about the basic concepts of how to represent the 3D objects in 2D.

SessionNo

Topics to be covered Time RefTeaching Method

3D CONCEPTS13 3D concepts – display methods: parallel projections,

perspective projections, 3D graphics packages.50m 1(317-323)

3(253-266)BB/OHP

14 3D object representation- Polygon surfaces, curved line and surfaces,Quadric surfaces.

50m 1(324-332) BB/OHP

15 Spline representation, Cubic spline interpolation. 50m 1 (335-346) BB/OHP16 Bezier curves and surfaces, B spline curves and

surfaces.50m 1(347-364) BB/OHP

17 Beta splines, Rational splines, Sweep representation, Constructive Solid –Geometry Methods, Octrees, BSP trees.

50m 1(365-382) BB/OHP

18 Visualization of data sets. 50m 1(415-423) BB/OHP19 3D geometric transformation – translation, rotation,

scaling, reflection and shear, Modeling and coordinate transformation.

50m 1(428-449) BB/OHP

20 3D viewing- Viewing pipeline, Viewing coordinates, Projections

50m 1(452-466) BB/OHP

21 View volumes and general projection transformation, clipping, viewing functions.

50m 1(467-474)1(484-487)

BB/OHP

22 Visible surface identification- Back- face detection, A-Buffer Method, Depth Sorting Method, Ray Casting Method, Curved Surfaces, Visibility Detection Functions.

50m 1(490-511)3(673-739)

BB/OHP

Continuous Assessment Test-I 75m

Page 3: Web view · 2013-06-27CS2401 COMPUTER GRAPHICS L T P C 3 0 0 3 . UNIT I 2D PRIMITIVES 9. Output primitives – Line, Circle and Ellipse drawing algorithms - Attributes of output primitives

DOC/LP/01/28.02.02

LESSON PLAN LP –CS2401

Rev. No:02

Date: 27.06.13

Page03 of 06

Sub Code & Name : CS2401 COMPUTER GRAPHICS Unit: III Branch: IT Semester :VII

Unit syllabus:

GRAPHICS PROGRAMMING

Color Models – RGB, YIQ, CMY, HSV – Animations – General Computer Animation, Raster, Keyframe - Graphics programming using OPENGL – Basic graphics primitives – Drawing three dimensional objects - Drawing three dimensional scenes.

Objective:

In this Unit students will acquire knowledge about color models and the basic concepts OPENGL.

SessionNo

Topics to be covered Time RefTeaching Method

GRAPHICS PROGRAMMING23 Color models – Properties of light, chromicity

diagram, XYZ color model, Intuitive color concepts50m 1(585-592)

3(608-622)BB

24 Various color models- RGB, YIQ, CMY, HSV, HLS, color selection and application

50m 1(592-601) BB

25 Design of Animation sequence, computer animation functions, Raster animations ,Animation Languages, Key frame systems, Morphing, Motion specification

50m 1(604-616) BB

26,27 Graphics programming using OPENGL- Basic graphics primitives

100m 2(39-70) BB/OHP

28,29 Drawing three dimensional objects 100m 2(190-208) BB/OHP30,31 Drawing three dimensional scenes 100m 2(238-259) BB/OHP

Page 4: Web view · 2013-06-27CS2401 COMPUTER GRAPHICS L T P C 3 0 0 3 . UNIT I 2D PRIMITIVES 9. Output primitives – Line, Circle and Ellipse drawing algorithms - Attributes of output primitives

DOC/LP/01/28.02.02

LESSON PLAN LP –CS2401

Rev. No:02

Date: 27.06.13

Page04 of 06

Sub Code & Name : CS2401 COMPUTER GRAPHICS Unit: IV Branch: IT Semester :VII

Unit syllabus:

RENDERING

Introduction to Shading models – Flat and Smooth shading – Adding texture to faces – Adding shadows of objects – Building a camera in a program – Creating shaded objects – Rendering texture – Drawing Shadows.

Objective:

In this Unit students will acquire knowledge about shading models and how to create shaded objects.

SessionNo

Topics to be covered Time RefTeaching Method

RENDERING32 Introduction to Shading models-geometric ingredients for

finding reflected light,specular reflection,role of ambient light and exploiting human perception

50m 2(376-399)3(745-813)

BB/OHP

33 Add color,shading and the graphics pipeline,light sources in OpenGL,shading of scenes

50m 2(376-399) BB/OHP

34 Flat and Smooth shading 50m 2(400-405) BB/OHP 35 Adding texture to faces-paste the texture on to a Flat

surface,Render the Texture,example using OpenGL,Wrap texture on Curved surfaces,Reflection mapping

50m 2(409-433) BB/OHP

36 Adding shadows of objects-Introduction to shadows,shadows using a shadow buffer

50m 2(434-438) BB/OHP

37 Building a camera in a program 50m 2(328-340) BB/OHP38 Creating shaded objects-case study 50m 2(443) BB/OHP39 Rendering texture- case study 50m 2(444) BB/OHP40 Drawing Shadows- case study 50m Internet BB

Continuous Assessment Test-II 75m

Page 5: Web view · 2013-06-27CS2401 COMPUTER GRAPHICS L T P C 3 0 0 3 . UNIT I 2D PRIMITIVES 9. Output primitives – Line, Circle and Ellipse drawing algorithms - Attributes of output primitives

DOC/LP/01/28.02.02

LESSON PLAN LP –CS2401

Rev. No:02

Date: 27.06.13

Page05 of 06

Sub Code & Name : CS2401 COMPUTER GRAPHICS Unit: V Branch: IT Semester :VII

Unit syllabus:

FRACTALS

Fractals and Self similarity – Peano curves – Creating image by iterated functions – Mandelbrot sets – Julia Sets – Random Fractals – Overview of Ray Tracing – Intersecting rays with other primitives – Adding Surface texture – Reflections and Transparency – Boolean operations on Objects.

Objective:

In this Unit students will acquire knowledge about Fractals and Ray tracing.

SessionNo

Topics to be covered Time RefTeaching Method

FRACTALS41 Fractals and Self similarity- Peano curves, Peano curves 50m 1(382-392) BB/OHP42 Random Fractals 50m 1(393-398) /

InternetBB/OHP

43 Julia Sets ,Mandelbrot sets 50m 1(398-405) BB/OHP44 Overview of Ray Tracing-Intersection of ray with an

object50m 2(616-621) BB/OHP

45 Intersecting rays with other primitives-Intersecting with a square, tapered cylinder, cube

50m 2(629-639) BB/OHP

46 Adding Surface texture-Solid texture, paste images on to surfaces

50m 2(649-658) BB/OHP

47 Reflections and Transparency-Reflection of Light,Rrefraction in shade

50m 2(674-682) BB/OHP

48,49 Boolean operations on Objects-Ray tracing CSG objects,Data structures for Boolean objects,Intersecting rays with Boolean objects

100m 2(683-693) BB/OHP

Continuous Assessment Test-III 75m

LESSON PLAN LP –CS2401

Rev. No:02

Date:27.06.13

Page06 of 06

Sub Code & Name : CS2401 COMPUTER GRAPHICS Branch: IT Semester :VII

Page 6: Web view · 2013-06-27CS2401 COMPUTER GRAPHICS L T P C 3 0 0 3 . UNIT I 2D PRIMITIVES 9. Output primitives – Line, Circle and Ellipse drawing algorithms - Attributes of output primitives

DOC/LP/01/28.02.02

Course Delivery Plan: 

Week 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15

I II I II I II I II I II I II I II I II I II I II I II I II I II I II I II

Units  1

      2     3     4     5        

CAT I CAT II CAT III

TEXT BOOKS

1. Donald Hearn, Pauline Baker, Computer Graphics – C Version, second edition, Pearson Education,2004.

2. F.S. Hill, Computer Graphics using OPENGL, Second edition, Pearson Education, 2003.

REFERENCE

3. James D. Foley, Andries Van Dam, Steven K. Feiner, John F. Hughes, Computer Graphics- Principles and practice, Second Edition in C, Pearson Education, 2007.

Prepared by Approved bySignature

Name K.Nivethaa ShreeC.Silambarasi

Dr. D. Balasubramanian

Designation Assistant Professor HOD-ITDate 27-06-13 27-06-13

CS2401 COMPUTER GRAPHICS L T P C 3 0 0 3

UNIT I 2D PRIMITIVES 9

Page 7: Web view · 2013-06-27CS2401 COMPUTER GRAPHICS L T P C 3 0 0 3 . UNIT I 2D PRIMITIVES 9. Output primitives – Line, Circle and Ellipse drawing algorithms - Attributes of output primitives

DOC/LP/01/28.02.02

Output primitives – Line, Circle and Ellipse drawing algorithms - Attributes of output primitives – Two dimensional Geometric transformation - Two dimensional viewing – Line, Polygon, Curve and Text clipping algorithms

UNIT II 3D CONCEPTS 9

Parallel and Perspective projections - Three dimensional object representation – Polygons, Curved lines, Splines, Quadric Surfaces,- Visualization of data sets - 3D transformations – Viewing -Visible surface identification.

UNIT III GRAPHICS PROGRAMMING 9

Color Models – RGB, YIQ, CMY, HSV – Animations – General Computer Animation, Raster, Keyframe - Graphics programming using OPENGL – Basic graphics primitives – Drawing three dimensional objects - Drawing three dimensional scenes

UNIT IV RENDERING 9

Introduction to Shading models – Flat and Smooth shading – Adding texture to faces – Adding shadows of objects – Building a camera in a program – Creating shaded objects – Rendering texture – Drawing Shadows.

UNIT V FRACTALS 9

Fractals and Self similarity – Peano curves – Creating image by iterated functions – Mandelbrot sets – Julia Sets – Random Fractals – Overview of Ray Tracing – Intersecting rays with other primitives – Adding Surface texture – Reflections and Transparency – Boolean operations on Objects

TOTAL = 45 PERIODS

TEXT BOOKS:

1. Donald Hearn, Pauline Baker, Computer Graphics – C Version, second edition, Pearson Education,2004.

2. F.S. Hill, Computer Graphics using OPENGL, Second edition, Pearson Education,2003.

REFERENCE:

1. James D. Foley, Andries Van Dam, Steven K. Feiner, John F. Hughes, Computer Graphics- Principles and practice, Second Edition in C, Pearson Education, 2007.

CS2405 COMPUTER GRAPHICS LAB L T P C 0 0 3 2

1. Implementation of Bresenhams Algorithm – Line, Circle, Ellipse.

Page 8: Web view · 2013-06-27CS2401 COMPUTER GRAPHICS L T P C 3 0 0 3 . UNIT I 2D PRIMITIVES 9. Output primitives – Line, Circle and Ellipse drawing algorithms - Attributes of output primitives

DOC/LP/01/28.02.02

2. Implementation of Line, Circle and ellipse Attributes.3. Two Dimensional transformations - Translation, Rotation, Scaling, Reflection, Shear.4. Composite 2D Transformations.5. Cohen Sutherland 2D line clipping and Windowing6. Sutherland – Hodgeman Polygon clipping Algorithm.7. Three dimensional transformations - Translation, Rotation, Scaling.8. Composite 3D transformations. 9. Drawing three dimensional objects and Scenes.10. Generating Fractal images.

TOTAL = 45 PERIODS

LIST OF EQUIPMENTS:1) Turbo C2) Visual C++ with OPENGL3) Any 3D animation software like 3DSMAX, Maya, Blender