Tuesday, 15 July 2014

Computer Graphics

21:58 Posted by Unknown No comments


Syllabus :




UNIT – 1

Introduction: Applications of computer graphics; A graphics system;
Images: Physical and synthetic; Imaging Systems; The synthetic camera
model; The programmer’s interface; Graphics architectures; Programmable
Pipelines; Performance Characteristics
Graphics Programming: The Sierpinski gasket; Programming Two Dimensional
Applications.

UNIT – 2
The OpenGL: The OpenGL API; Primitives and attributes; Color; Viewing;
Control functions; The Gasket program; Polygons and recursion; The threedimensional
gasket; Plotting Implicit Functions

UNIT – 3
Input and Interaction: Interaction; Input devices; Clients and Servers; Display
Lists; Display Lists and Modeling; Programming Event Driven Input; Menus;
Picking; A simple CAD program; Building Interactive Models; Animating
Interactive Programs; Design of Interactive Programs; Logic Operations

UNIT – 4
Geometric Objects and Transformations-I: Scalars, Points, and Vectors;
Three-dimensional Primitives; Coordinate Systems and Frames; Modeling a
Colored Cube; Affine Transformations; Rotation, Translation and Scaling;

PART – B

UNIT – 5
Geometric Objects and Transformations-II: Geometric Objects and
Transformations; Transformation in Homogeneous Coordinates; Concatenation
of Transformations; OpenGL Transformation Matrices; Interfaces to threedimensional
applications; Quaternion’s.

UNIT – 6
Viewing : Classical and computer viewing; Viewing with a Computer;
Positioning of the camera; Simple projections; Projections in OpenGL; Hiddensurface
removal; Interactive Mesh Displays; Parallel-projection matrices;
Perspective-projection matrices; Projections and Shadows.

UNIT – 7
Lighting and Shading: Light and Matter; Light Sources; The Phong Lighting
model; Computation of vectors; Polygonal Shading; Approximation of a sphere
by recursive subdivisions; Light sources in OpenGL; Specification of materials
in OpenGL; Shading of the sphere model; Global Illumination.

UNIT – 8
Implementation: Basic Implementation Strategies; Four major tasks; Clipping;
Line-segment clipping; Polygon clipping; Clipping of other primitives;
Clipping in three dimensions; Rasterization; Bresenham’s algorithm; Polygon
Rasterization; Hidden-surface removal; Antialiasing; Display considerations.


Text books: 

  






Notes:

Unit 1,3,4,5,8





 



Tuesday, 8 July 2014

Unix System Programming

23:21 Posted by Unknown No comments



Syllabus :


UNIT – 1
Introduction: UNIX and ANSI Standards: The ANSI C Standard, The
ANSI/ISO C++ Standards, Difference between ANSI C and C++, The POSIX
Standards, The POSIX.1 FIPS Standard, The X/Open Standards.
UNIX and POSIX APIs: The POSIX APIs, The UNIX and POSIX
Development Environment, API Common Characteristics.

UNIT – 2
UNIX Files: File Types, The UNIX and POSIX File System, The UNIX and
POSIX File Attributes, Inodes in UNIX System V, Application Program
Interface to Files, UNIX Kernel Support for Files, Relationship of C Stream
Pointers and File Descriptors, Directory Files, Hard and Symbolic Links.

UNIT – 3
UNIX File APIs: General File APIs, File and Record Locking, Directory
File APIs, Device File APIs, FIFO File APIs, Symbolic Link File APIs,
General File Class, regfile Class for Regular Files, dirfile Class for Directory
Files, FIFO File Class, Device File Class, Symbolic Link File Class, File
Listing Program.

UNIT – 4
UNIX Processes: The Environment of a UNIX Process: Introduction, main
function, Process Termination, Command-Line Arguments, Environment
List, Memory Layout of a C Program, Shared Libraries, Memory Allocation,
49
Environment Variables, setjmp and longjmp Functions, getrlimit, setrlimit
Functions, UNIX Kernel Support for Processes.

PART - B
UNIT – 5
Process Control : Introduction, Process Identifiers, fork, vfork, exit, wait,
waitpid, wait3, wait4 Functions, Race Conditions, exec Functions, Changing
User IDs and Group IDs, Interpreter Files, system Function, Process
Accounting, User Identification, Process Times, I/O Redirection.
Process Relationships: Introduction, Terminal Logins, Network Logins,
Process Groups, Sessions, Controlling Terminal, tcgetpgrp and tcsetpgrp
Functions, Job Control, Shell Execution of Programs, Orphaned Process
Groups.

UNIT – 6
Signals and Daemon Processes: Signals: The UNIX Kernel Support for
Signals, signal, Signal Mask, sigaction, The SIGCHLD Signal and the
waitpid Function, The sigsetjmp and siglongjmp Functions, Kill, Alarm,
Interval Timers, POSIX.lb Timers.
Daemon Processes: Introduction, Daemon Characteristics, Coding Rules,
Error Logging, Client-Server Model.

UNIT – 7
Interprocess Communication – 1: Overview of IPC Methods, Pipes, popen,
pclose Functions, Coprocesses, FIFOs, System V IPC, Message Queues,
Semaphores.

UNIT – 8
Interprocess Communication – 2: Shared Memory, Client-Server
Properties, Stream Pipes, Passing File Descriptors, An Open Server-Version
1, Client-Server Connection Functions.


Text books: 

There are two text books you need to refer
1.     Terrence Chan: UNIX System Programming Using C++, Prentice Hall India, 1999

Notes: