SlideShare uma empresa Scribd logo
1 de 38
So how does the computer do it? MoonLander  one of the earliest computer games. Originally commissioned by Digital Equipment Corporation to demonstrate a dedicated graphics display in  1973 . Based on a text only game written in Basic.
 
Principles of Computer Graphics COMP3004 2011/2012 Introduction Dr. John Carter (jnc@ecs.soton.ac.uk)
[object Object],[object Object],[object Object],[object Object],[object Object],Introduction
Structure ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
[object Object],[object Object],[object Object],[object Object],[object Object]
Why are we doing this? ,[object Object],[object Object],[object Object],[object Object]
Applications in Review 2D With 3D effects?? Line, text & rectangles Complex API Not really graphics Science & Engineering gnuplot VTK Data >> 1 TByte Near Real-time Rendering Workstations & Clusters (Visit) Photo Realistic Expensive Cost vs. Quality Real 3-D Workstation farms ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],User Interface Visualisation Movies Games
Application Areas
Synthetic Actors
Animated Movies. ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Games
Visualisation Example
More Data Visualisation.
GnuPlot a Scientific Graphing tool set yrange [0:1.1] set logscale x set key outside set rmargin 15 set xlabel 'Time between measurements (days)' set ylabel 'Recognition rate' set grid plot '-'  using 2:1 /  title 'Rate' with linespoints, '-'  / using 1:2 title 'Average' with lines 0.974025974 0.083333333 0.932481752 1 0.992307692 2 0.592436975 216.00 0.738589212 275.00 0.432773109 491.00 e 0.01 0.98 999 0.98 e
User Interface Example Using Python and TKInter, user interfaces can be fun. from  Tkinter  import  * root = Tk() t = "Hello, world!" w = Label(root,text = t) w.pack() root.mainloop()
Early Games Console ,[object Object],[object Object],[object Object],1955 Sage Early Warning Anti-Missile System. Sketchpad by Ivan Sutherland on TX-2 (MIT) in 1963.
More History: Spacewar!
Prehistory ,[object Object],[object Object],[object Object],[object Object],[object Object]
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],|  X |  X |  X |  X |  X +---------------
Early Days
Graphics API ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Some SVG <?xml version=&quot;1.0&quot;?>  <svg xmlns=&quot;http://www.w3.org/2000/svg&quot;>  <g style=&quot;fill-opacity:0.7; stroke:black; stroke-width:0.1cm;&quot;>  <circle cx=&quot;6cm&quot; cy=&quot;2cm&quot; r=&quot;100&quot; style=&quot;fill:red;&quot; transform=&quot;translate(0,50)&quot; /> <circle cx=&quot;6cm&quot; cy=&quot;2cm&quot; r=&quot;100&quot; style=&quot;fill:blue;&quot; transform=&quot;translate(70,150)&quot; />  <circle cx=&quot;6cm&quot; cy=&quot;2cm&quot; r=&quot;100&quot; style=&quot;fill:green;&quot; transform=&quot;translate(-70,150)&quot;/> </g>  </svg>   Now Mozilla and family can draw SVG
OpenGl is cross-platform standard ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Angle E  “ Interactive Computer Graphics: A top-down approach with Shader-Based OpenGL ”, Addison Wesley 2009, (5 th  Edition) Th is   is  the official course text . (5 th  edition is ok, but not OpenGL 3+) F.S. Hill, Jr “ Computer Graphics Using OpenGL ” Prentice-Hall 2001 (and later) This is a good alternative. J., D., Foley et al., &quot; Introduction to Computer Graphics &quot;, Addison Wesley 1994. So is this one but it doesn't speak OpenGl M. Woo et al. “ OpenGL Programming Guide ” Addison Wesley 1999 The so called Red Book, the official how-to guide, free electronic copies available, use Google.
 
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Lectures ? ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
GP2X Open Hardware See  http://gp2x.co.uk/ordergp2x.html Note that this course is almost the only way that you can get you play with a GP2X.
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
What can we ignore at the moment? ,[object Object],[object Object],[object Object],[object Object],[object Object]
What do we need to know? ,[object Object],[object Object],[object Object],[object Object],[object Object]
Real work starts next lecture.
Questions? Principles of Computer Graphics COMP3004 Introduction Dr. John Carter (jnc@ecs.soton.ac.uk)
 

Mais conteúdo relacionado

Destaque

Research on Apple Inc. after the demise of Steve Jobs
Research on Apple Inc. after the demise of Steve JobsResearch on Apple Inc. after the demise of Steve Jobs
Research on Apple Inc. after the demise of Steve Jobseeaadil
 
Game Development using SDL and the PDK
Game Development using SDL and the PDK Game Development using SDL and the PDK
Game Development using SDL and the PDK ardiri
 
In Defense of Linguistic Diversity. EXPOLINGUA 2011
In Defense of Linguistic Diversity. EXPOLINGUA 2011In Defense of Linguistic Diversity. EXPOLINGUA 2011
In Defense of Linguistic Diversity. EXPOLINGUA 2011UNESCOmhok
 
SDL2 Game Development VT Code Camp 2013
SDL2 Game Development VT Code Camp 2013SDL2 Game Development VT Code Camp 2013
SDL2 Game Development VT Code Camp 2013Eric Basile
 
The indo european family of languages
The indo european family of languagesThe indo european family of languages
The indo european family of languagesAbdel-Fattah Adel
 

Destaque (6)

Research on Apple Inc. after the demise of Steve Jobs
Research on Apple Inc. after the demise of Steve JobsResearch on Apple Inc. after the demise of Steve Jobs
Research on Apple Inc. after the demise of Steve Jobs
 
There is more to C 2013
There is more to C 2013There is more to C 2013
There is more to C 2013
 
Game Development using SDL and the PDK
Game Development using SDL and the PDK Game Development using SDL and the PDK
Game Development using SDL and the PDK
 
In Defense of Linguistic Diversity. EXPOLINGUA 2011
In Defense of Linguistic Diversity. EXPOLINGUA 2011In Defense of Linguistic Diversity. EXPOLINGUA 2011
In Defense of Linguistic Diversity. EXPOLINGUA 2011
 
SDL2 Game Development VT Code Camp 2013
SDL2 Game Development VT Code Camp 2013SDL2 Game Development VT Code Camp 2013
SDL2 Game Development VT Code Camp 2013
 
The indo european family of languages
The indo european family of languagesThe indo european family of languages
The indo european family of languages
 

Semelhante a 01 first

CS 354 Introduction
CS 354 IntroductionCS 354 Introduction
CS 354 IntroductionMark Kilgard
 
Graphics1 introduction
Graphics1 introductionGraphics1 introduction
Graphics1 introductionlokesh503
 
Computer Graphics Through OpenGL: From Theory to Experiments
Computer Graphics Through OpenGL: From Theory to ExperimentsComputer Graphics Through OpenGL: From Theory to Experiments
Computer Graphics Through OpenGL: From Theory to Experimentskuwizotuji
 
GPU Programming: CocoaConf Atlanta
GPU Programming: CocoaConf AtlantaGPU Programming: CocoaConf Atlanta
GPU Programming: CocoaConf AtlantaJanie Clayton
 
OpenGL_Programming_Guide.pdf
OpenGL_Programming_Guide.pdfOpenGL_Programming_Guide.pdf
OpenGL_Programming_Guide.pdfRavinderKSingla
 
VisionizeBeforeVisulaize_IEVC_Final
VisionizeBeforeVisulaize_IEVC_FinalVisionizeBeforeVisulaize_IEVC_Final
VisionizeBeforeVisulaize_IEVC_FinalMasatsugu HASHIMOTO
 
Mini Project final report on " LEAKY BUCKET ALGORITHM "
Mini Project final report on " LEAKY BUCKET ALGORITHM "Mini Project final report on " LEAKY BUCKET ALGORITHM "
Mini Project final report on " LEAKY BUCKET ALGORITHM "Nikhil Jain
 
GPU Programming: Chicago CocoaConf 2015
GPU Programming: Chicago CocoaConf 2015GPU Programming: Chicago CocoaConf 2015
GPU Programming: Chicago CocoaConf 2015Janie Clayton
 
Om Pawar MP AJP.docx
Om Pawar MP AJP.docxOm Pawar MP AJP.docx
Om Pawar MP AJP.docxOmpawar61
 
GPU Programming 360iDev
GPU Programming 360iDevGPU Programming 360iDev
GPU Programming 360iDevJanie Clayton
 
Ball Collecting game report
Ball Collecting game report Ball Collecting game report
Ball Collecting game report Dileep Maurya
 
Computer Graphics Power Point using Open GL and C Programming
Computer Graphics Power Point using Open GL and C ProgrammingComputer Graphics Power Point using Open GL and C Programming
Computer Graphics Power Point using Open GL and C Programmingkemal678348
 
Computer Graphics Project Report on Sinking Ship using OpenGL
Computer Graphics Project Report on Sinking Ship using OpenGL Computer Graphics Project Report on Sinking Ship using OpenGL
Computer Graphics Project Report on Sinking Ship using OpenGL Sharath Raj
 
(chapter 1) A Concise and Practical Introduction to Programming Algorithms in...
(chapter 1) A Concise and Practical Introduction to Programming Algorithms in...(chapter 1) A Concise and Practical Introduction to Programming Algorithms in...
(chapter 1) A Concise and Practical Introduction to Programming Algorithms in...Frank Nielsen
 
Y1 gd engine_terminologyhj
Y1 gd engine_terminologyhjY1 gd engine_terminologyhj
Y1 gd engine_terminologyhjShaz Riches
 
1 introduction computer graphics
1 introduction computer graphics1 introduction computer graphics
1 introduction computer graphicscairo university
 
FGS 2011: Making A Game With Molehill: Zombie Tycoon
FGS 2011: Making A Game With Molehill: Zombie TycoonFGS 2011: Making A Game With Molehill: Zombie Tycoon
FGS 2011: Making A Game With Molehill: Zombie Tycoonmochimedia
 
My summary for cs001x computer science for beginners
My summary for cs001x computer science for beginnersMy summary for cs001x computer science for beginners
My summary for cs001x computer science for beginnersIbrahim Omar
 

Semelhante a 01 first (20)

CS 354 Introduction
CS 354 IntroductionCS 354 Introduction
CS 354 Introduction
 
Graphical User Interface or GUI
Graphical User Interface or GUIGraphical User Interface or GUI
Graphical User Interface or GUI
 
Graphics1 introduction
Graphics1 introductionGraphics1 introduction
Graphics1 introduction
 
Computer Graphics Through OpenGL: From Theory to Experiments
Computer Graphics Through OpenGL: From Theory to ExperimentsComputer Graphics Through OpenGL: From Theory to Experiments
Computer Graphics Through OpenGL: From Theory to Experiments
 
GPU Programming: CocoaConf Atlanta
GPU Programming: CocoaConf AtlantaGPU Programming: CocoaConf Atlanta
GPU Programming: CocoaConf Atlanta
 
OpenGL_Programming_Guide.pdf
OpenGL_Programming_Guide.pdfOpenGL_Programming_Guide.pdf
OpenGL_Programming_Guide.pdf
 
VisionizeBeforeVisulaize_IEVC_Final
VisionizeBeforeVisulaize_IEVC_FinalVisionizeBeforeVisulaize_IEVC_Final
VisionizeBeforeVisulaize_IEVC_Final
 
Mini Project final report on " LEAKY BUCKET ALGORITHM "
Mini Project final report on " LEAKY BUCKET ALGORITHM "Mini Project final report on " LEAKY BUCKET ALGORITHM "
Mini Project final report on " LEAKY BUCKET ALGORITHM "
 
GPU Programming: Chicago CocoaConf 2015
GPU Programming: Chicago CocoaConf 2015GPU Programming: Chicago CocoaConf 2015
GPU Programming: Chicago CocoaConf 2015
 
Om Pawar MP AJP.docx
Om Pawar MP AJP.docxOm Pawar MP AJP.docx
Om Pawar MP AJP.docx
 
GPU Programming 360iDev
GPU Programming 360iDevGPU Programming 360iDev
GPU Programming 360iDev
 
Ball Collecting game report
Ball Collecting game report Ball Collecting game report
Ball Collecting game report
 
Computer Graphics Power Point using Open GL and C Programming
Computer Graphics Power Point using Open GL and C ProgrammingComputer Graphics Power Point using Open GL and C Programming
Computer Graphics Power Point using Open GL and C Programming
 
Computer Graphics Project Report on Sinking Ship using OpenGL
Computer Graphics Project Report on Sinking Ship using OpenGL Computer Graphics Project Report on Sinking Ship using OpenGL
Computer Graphics Project Report on Sinking Ship using OpenGL
 
(chapter 1) A Concise and Practical Introduction to Programming Algorithms in...
(chapter 1) A Concise and Practical Introduction to Programming Algorithms in...(chapter 1) A Concise and Practical Introduction to Programming Algorithms in...
(chapter 1) A Concise and Practical Introduction to Programming Algorithms in...
 
Y1 gd engine_terminologyhj
Y1 gd engine_terminologyhjY1 gd engine_terminologyhj
Y1 gd engine_terminologyhj
 
1 introduction computer graphics
1 introduction computer graphics1 introduction computer graphics
1 introduction computer graphics
 
FGS 2011: Making A Game With Molehill: Zombie Tycoon
FGS 2011: Making A Game With Molehill: Zombie TycoonFGS 2011: Making A Game With Molehill: Zombie Tycoon
FGS 2011: Making A Game With Molehill: Zombie Tycoon
 
My summary for cs001x computer science for beginners
My summary for cs001x computer science for beginnersMy summary for cs001x computer science for beginners
My summary for cs001x computer science for beginners
 
Introduction to F#
Introduction to F#Introduction to F#
Introduction to F#
 

Último

Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...pradhanghanshyam7136
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibitjbellavia9
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxDr. Ravikiran H M Gowda
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...ZurliaSoop
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024Elizabeth Walsh
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and ModificationsMJDuyan
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17Celine George
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Jisc
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfSherif Taha
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxDr. Sarita Anand
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxJisc
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfPoh-Sun Goh
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jisc
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structuredhanjurrannsibayan2
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxPooja Bhuva
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxannathomasp01
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxPooja Bhuva
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.MaryamAhmad92
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...Nguyen Thanh Tu Collection
 

Último (20)

Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 

01 first

  • 1. So how does the computer do it? MoonLander one of the earliest computer games. Originally commissioned by Digital Equipment Corporation to demonstrate a dedicated graphics display in 1973 . Based on a text only game written in Basic.
  • 2.  
  • 3. Principles of Computer Graphics COMP3004 2011/2012 Introduction Dr. John Carter (jnc@ecs.soton.ac.uk)
  • 4.
  • 5.
  • 6.
  • 7.
  • 8.
  • 9.
  • 10.
  • 13.
  • 14. Games
  • 17. GnuPlot a Scientific Graphing tool set yrange [0:1.1] set logscale x set key outside set rmargin 15 set xlabel 'Time between measurements (days)' set ylabel 'Recognition rate' set grid plot '-' using 2:1 / title 'Rate' with linespoints, '-' / using 1:2 title 'Average' with lines 0.974025974 0.083333333 0.932481752 1 0.992307692 2 0.592436975 216.00 0.738589212 275.00 0.432773109 491.00 e 0.01 0.98 999 0.98 e
  • 18. User Interface Example Using Python and TKInter, user interfaces can be fun. from Tkinter import * root = Tk() t = &quot;Hello, world!&quot; w = Label(root,text = t) w.pack() root.mainloop()
  • 19.
  • 21.
  • 22.
  • 24.
  • 25. Some SVG <?xml version=&quot;1.0&quot;?> <svg xmlns=&quot;http://www.w3.org/2000/svg&quot;> <g style=&quot;fill-opacity:0.7; stroke:black; stroke-width:0.1cm;&quot;> <circle cx=&quot;6cm&quot; cy=&quot;2cm&quot; r=&quot;100&quot; style=&quot;fill:red;&quot; transform=&quot;translate(0,50)&quot; /> <circle cx=&quot;6cm&quot; cy=&quot;2cm&quot; r=&quot;100&quot; style=&quot;fill:blue;&quot; transform=&quot;translate(70,150)&quot; /> <circle cx=&quot;6cm&quot; cy=&quot;2cm&quot; r=&quot;100&quot; style=&quot;fill:green;&quot; transform=&quot;translate(-70,150)&quot;/> </g> </svg> Now Mozilla and family can draw SVG
  • 26.
  • 27. Angle E “ Interactive Computer Graphics: A top-down approach with Shader-Based OpenGL ”, Addison Wesley 2009, (5 th Edition) Th is is the official course text . (5 th edition is ok, but not OpenGL 3+) F.S. Hill, Jr “ Computer Graphics Using OpenGL ” Prentice-Hall 2001 (and later) This is a good alternative. J., D., Foley et al., &quot; Introduction to Computer Graphics &quot;, Addison Wesley 1994. So is this one but it doesn't speak OpenGl M. Woo et al. “ OpenGL Programming Guide ” Addison Wesley 1999 The so called Red Book, the official how-to guide, free electronic copies available, use Google.
  • 28.  
  • 29.
  • 30.
  • 31.
  • 32. GP2X Open Hardware See http://gp2x.co.uk/ordergp2x.html Note that this course is almost the only way that you can get you play with a GP2X.
  • 33.
  • 34.
  • 35.
  • 36. Real work starts next lecture.
  • 37. Questions? Principles of Computer Graphics COMP3004 Introduction Dr. John Carter (jnc@ecs.soton.ac.uk)
  • 38.  

Notas do Editor

  1. Quality equates to detail Final Fantasy 40% of CG on 1 characters hair. Throwaway farms