290 likes | 818 Views
Computer Graphics & Animation. Contents. Introduction Usage, Application & Advantages Video Display Devices Output Devices Input Devices Soft wares Graphics in C/C++ (graphics.h) Attributes. Contents (contd.). DMA Text Processing. Interrupts & Services. Pixel (DMA, Interrupt).
E N D
Contents • Introduction • Usage, Application & Advantages • Video Display Devices • Output Devices • Input Devices • Soft wares • Graphics in C/C++ (graphics.h) • Attributes
Contents (contd.) • DMA Text Processing. • Interrupts & Services. • Pixel (DMA, Interrupt). • Put Char. • Line, Rectangle, Polygon, Bar. • Circle, Ellipse & Arc. • Filling • Save Area, Save Screen.
Contents (contd.) • Transformation, Rotation & Scaling. • Clipping
History of Computers (Modern) • 1980 XT [DOS] • 1990 XT, AT(286, 386) [Win 3.x,OS2] • 1995 286, 386SX, 386DX, 486, . 486DX, 486DX2, 486DX4, . Pentium (50~166 MHz) . Pentium (166~200 MMX) Windows 95, OS2, WARP • Today Pentium I, II, III, IV, Cyrix . Windows 9x, WinNT x Win XP
Uses of CGA • Computer Aided Design ( CAD ) • Architecture • Animation • Virtual Reality • Presentation Graphics • Reports • Slides • Transparencies • Computer Art • Fine Art • Commercial Art
Uses of CGA (contd.) • Entertainment • Motion Pictures • Videos • TV Shows • Education and Training • Students • Scientists • Visualization • Data to visual form
Uses of CGA (contd.) • Image Processing • Interpretation • Enhancement • Graphical User Interface • User’s View of Computer • WYSIWYG • Pointing Device • Touch Sensitive
Video Display Devices • Cathode Ray Tube • Electrons from Gun focused by coils to screen coated by Phosphor • Luminance
Video Display Devices • Raster Scan Technique • Line by line • Television Technology • Frame buffer or refresh buffer • Double buffering • Depth depends on color storing method • 32 bit, 24bit, 16 bit, 8bit and 1 bit • Bitmap / Pixmap • Refresh rate 60~80 Frames / Second or Hz • Horizontal Retrace / Vertical Retrace • Flickering
Video Display Devices • Interlacing • Enhanced Raster Scan System • Horizontal Retrace at end • Horizontal Retrace at start of alternate lines • Vertical Retrace twice in a frame • No Flickering • Better Speed • Better View
Video Display Devices • Random Scan Technique • Object by Object • Refresh display file • Display list • Display program • Refresh buffer • Non Realistic • Smooth lines • Constant Curves
Video Display Devices • Color Monitors • Different color emitting Phosphors • Use of same CRT • Mixing of Phosphors • Beam Penetration • Shadow Masking
Video Display Devices • Beam Penetration • Random Scan Method • Two Layers • Red • Green • Depth decides the color • Two Secondary colors • Orange / Yellow • Bad Quality / Four available colors • Speed Slow Red • Speed Fast Green