SlideShare a Scribd company logo
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)
 

More Related Content

Viewers also liked

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
eeaadil
 
There is more to C 2013
There is more to C 2013There is more to C 2013
There is more to C 2013
Juraj Michálek
 
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 2011
UNESCOmhok
 
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
Eric Basile
 
The indo european family of languages
The indo european family of languagesThe indo european family of languages
The indo european family of languages
Abdel-Fattah Adel
 

Viewers also liked (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
 

Similar to 01 first

CS 354 Introduction
CS 354 IntroductionCS 354 Introduction
CS 354 Introduction
Mark Kilgard
 
Graphical User Interface or GUI
Graphical User Interface or GUIGraphical User Interface or GUI
Graphical User Interface or GUI
Jakaria Hossain Ridoy
 
Graphics1 introduction
Graphics1 introductionGraphics1 introduction
Graphics1 introduction
lokesh503
 
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
kuwizotuji
 
GPU Programming: CocoaConf Atlanta
GPU Programming: CocoaConf AtlantaGPU Programming: CocoaConf Atlanta
GPU Programming: CocoaConf Atlanta
Janie Clayton
 
OpenGL_Programming_Guide.pdf
OpenGL_Programming_Guide.pdfOpenGL_Programming_Guide.pdf
OpenGL_Programming_Guide.pdf
RavinderKSingla
 
VisionizeBeforeVisulaize_IEVC_Final
VisionizeBeforeVisulaize_IEVC_FinalVisionizeBeforeVisulaize_IEVC_Final
VisionizeBeforeVisulaize_IEVC_Final
Masatsugu 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 2015
Janie Clayton
 
Om Pawar MP AJP.docx
Om Pawar MP AJP.docxOm Pawar MP AJP.docx
Om Pawar MP AJP.docx
Ompawar61
 
GPU Programming 360iDev
GPU Programming 360iDevGPU Programming 360iDev
GPU Programming 360iDev
Janie 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 Programming
kemal678348
 
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_terminologyhj
Shaz Riches
 
1 introduction computer graphics
1 introduction computer graphics1 introduction computer graphics
1 introduction computer graphics
cairo 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 Tycoon
mochimedia
 
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
Ibrahim Omar
 
Introduction to F#
Introduction to F#Introduction to F#
Introduction to F#
Talbott Crowell
 

Similar to 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#
 

Recently uploaded

Liberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdfLiberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdf
WaniBasim
 
How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17
Celine George
 
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Dr. Vinod Kumar Kanvaria
 
Hindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdfHindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdf
Dr. Mulla Adam Ali
 
Pride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School DistrictPride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School District
David Douglas School District
 
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective UpskillingYour Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Excellence Foundation for South Sudan
 
clinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdfclinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdf
Priyankaranawat4
 
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
RitikBhardwaj56
 
A Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdfA Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdf
Jean Carlos Nunes Paixão
 
How to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRMHow to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRM
Celine George
 
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat  Leveraging AI for Diversity, Equity, and InclusionExecutive Directors Chat  Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
TechSoup
 
Types of Herbal Cosmetics its standardization.
Types of Herbal Cosmetics its standardization.Types of Herbal Cosmetics its standardization.
Types of Herbal Cosmetics its standardization.
Ashokrao Mane college of Pharmacy Peth-Vadgaon
 
Digital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments UnitDigital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments Unit
chanes7
 
The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
History of Stoke Newington
 
Advanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docxAdvanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docx
adhitya5119
 
How to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP ModuleHow to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP Module
Celine George
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
heathfieldcps1
 
PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.
Dr. Shivangi Singh Parihar
 
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptxC1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
mulvey2
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
Peter Windle
 

Recently uploaded (20)

Liberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdfLiberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdf
 
How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17
 
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
 
Hindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdfHindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdf
 
Pride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School DistrictPride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School District
 
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective UpskillingYour Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective Upskilling
 
clinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdfclinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdf
 
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
 
A Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdfA Independência da América Espanhola LAPBOOK.pdf
A Independência da América Espanhola LAPBOOK.pdf
 
How to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRMHow to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRM
 
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat  Leveraging AI for Diversity, Equity, and InclusionExecutive Directors Chat  Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
 
Types of Herbal Cosmetics its standardization.
Types of Herbal Cosmetics its standardization.Types of Herbal Cosmetics its standardization.
Types of Herbal Cosmetics its standardization.
 
Digital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments UnitDigital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments Unit
 
The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
 
Advanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docxAdvanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docx
 
How to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP ModuleHow to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP Module
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
 
PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.
 
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptxC1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
 

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.  

Editor's Notes

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