Download presentation
Presentation is loading. Please wait.
Published byCathleen Hood Modified over 9 years ago
1
CD2012 Principles of Interactive Graphics Lecture 04 Graphics Hardware Abir Hussain www.cms.livjm.ac.uk/cmsahus1
2
© JMU, 2003CD2012-022 Previous Lecture Transformation –Translation: glTranslated ( x, y, z) –Scaling: glScaled (x, y, z) –Rotation: glRotated (angle, x, y,z) Combining transformations –glLocaIdentity() –glMartrixMode()
3
© JMU, 2003CD2012-023 Today’s lecture and lab
4
© JMU, 2003CD2012-024 Display Devices Cathode Ray Tube (CRT) A beam of electrons emitted by an electron gun, passes through the focusing system. The light output of the phosphor decays rapidly –The display processor refreshes the phosphor around 60,70 times per second (60Hz, 70Hz)
5
© JMU, 2003CD2012-025 Other Display Technologies Liquid crystal display (LCD) –The picture is displayed through light emitted from crystal –Flat screen for desktop computer and screen for laptop Light emitting diodes (LED) –The picture is displayed through light emitted from diodes –Large screen for sporting events, concerts or commercial advertising Plasma Panel display –C onstructed from filling the areas between two glasses with neon gas –For Home TV, very thin, light, expensive
6
© JMU, 2003CD2012-026 Other Display Technologies Plasma panel display CRT screen LCD touch screen LED large screen
7
© JMU, 2003CD2012-027 Other display technologies Head-Mounted displays –Use prisms and/or lens to project an image from small LCD or CRT screen –Provide an immerse experience by blocking out the real world –Fairly easy to set up –Can achieve good stereo quality –Heavy and do not fit well
8
© JMU, 2003CD2012-028 Graphics output frame butter For CRT display, a scan controller converts information from the frame buffer and controls the scanning of electrons across the screen to draw the image –The scan controller draws pixels from left-to-right and top-to-bottom across the display –The complete screen is re-drawn at a given refresh rate e.g. 60Hz, 70Hz For LCD display, data can be taken directly from the frame buffer so scan controller is not needed.
9
© JMU, 2003CD2012-029 Modern PC graphics cards Current PC graphics cards may have 16, 32 or 64Mbytes of video memory. This memory can hold one or more screen images plus textures. Some graphics cards (e.g. GeForce2) may have hardware for –Transform calculations –Lighting calculations –Moving areas of memory in the frame buffer –Applying textures These reduce load on the main system CPU
10
© JMU, 2003CD2012-0210 Hard Copy Devices Printers Originally the printers were used to produce text pages, however they are now widely accepted as graphical devices. Plotters They are devices, which produce hard-copy line drawings. The most common type of plotters use ink pens for the generation of the drawing. In now days, many plotters use ink-jet sprays, laser beams and electrostatic methods.
11
© JMU, 2003CD2012-0211 2D Input Technologies Keyboard - All computers are equipped with keyboards.They send strings of characters to the applications up on request Mouse The mouse has been around since 1968 and has evolved into - One (Apple), Two (PC) and Three (UNIX) buttons - Ball or optical movement sensors - wired and wireless operation The basic drawbacks of the mouse are as follows - Controlled by the arm and wrist muscles - not fine control - Needs space to operate - Is a relative positioning device - which is useful in some applications but not others
12
© JMU, 2003CD2012-0212 2D input technologies Pen and graphics tablet-based devices - Allow fine detail control using finger muscles - Can (with tablet) allow absolute positioning - Useful in design and engineering applications Tracker balls and tracker pads - Take up less space and useful for mobile applications - Can be difficult to control for small movements
13
© JMU, 2003CD2012-0213 3D Input Technologies 3D input devices are less common as they are - more expensive - can be hard to learn to use - can be error prone and difficult to set up Position trackers - e.g. Polhemus fastrak - Usually operate by creating a magnetic field - Sensors mounted on head, hand or elsewhere record movement in field - Can be distorted by metallic objects - Normally used for two purposes.
14
© JMU, 2003CD2012-0214 3D input technologies Cybergloves and cybersuits –Contain sensors which measure the bend of body joints –Used with position trackers to record the full range of movement –Very expensive –May need to be calibrated for each user –Can become less accurate with use
15
© JMU, 2003CD2012-0215 3D input technologies Space ball - allows movement in 3 dimensions The 3D Controller enable a whole new level of 3D interactive motion control. Can easily move or rotate 3D object by gently pushing, pulling or twisting the Power Sensor ball.
16
© JMU, 2003CD2012-0216 Coursework 1 Write a C++ program using OpenGL that presents a scene described in the coursework spec The scene will include a basic set of graphical components as specified below Plagiarised work will receive no marks. Plagiarism includes copying material from the Internet
17
© JMU, 2003CD2012-0217 Coursework 1 guidelines Cars park –Car park spaces for parking cars –A number of parked cars –A barrier on the entrance and the exit of the car park –A charging machine
18
© JMU, 2003CD2012-0218 Coursework 1 guidelines Marks 1. Design document 30% 2. C++ Code accuracy, layout and readability20% 3. C++ Code good use of OpenGL20% 4. Extra features 10% interaction, animation, 3d effects 5. Demonstration 20% How well the program meets the coursework spec Are the objects recognisable ? Are colours and shapes used appropriately?
19
© JMU, 2003CD2012-0219 Coursework 1 guidelines Use the code in L:\CD2012 as a starting point (circles, transforms etc.) The design report should properly explain how you went about constructing the scene The display function should not be a long list of glVertex() calls Split the drawing of the scene into different functions Any questions - ask the module leader.
20
© JMU, 2003CD2012-0220 Summary Display devices - CRT, LED, LCD, plasma panel display - Frame buffer/ Graphics cards Hard copy devices - printers, plotters Interactive input devices - 2D input Keyboard, mouse, tracker ball/pads, - 3D input P osition trackers, cybergloves, cybersuits, space ball Coursework1
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.