Lecture 01: Computer graphics in Game development. Output devices

Computer graphics in Game development

Ivan Belyavtsev

22.01.2021

Who I am

Ivan Belyavtsev

Computer Graphics Developer technology engineer at Nvidia

Researcher and educator in Computer science

djbelyak.ru

Disclaimer

This course was prepared or accomplished by Ivan Belyavtsev in his personal capacity. The opinions expressed in this course are the author’s own and do not represent official policy or position of Nvidia corporation.

Schedule

  1. 01/22-10/23 - 5 classes
  2. 02/05-02/06 - 5 classes
  3. 02/19-02/20 - 5 classes
  4. 03/05-03/06 - 5 classes + Final assessment

Syllabus

  1. 01/22-10/23 - Basics of rendering
  2. 02/05-02/06 - Basics of ray tracing
  3. 02/19-02/20 - Basics of DirectX 12
  4. 03/05-03/06 - Advanced technics and algorithms

Caution

This course requires a lot of discipline and energy!

Expectations vs reality

How we will work

  • During classes
    • Little portion of useful information
    • Practical exercises based on lab
  • At home
    • Repeating of materials
    • Complete labs
    • Make something creative
    • Submit you your labs before the next block
  • Final
    • Test in Moodle

What we won’t cover

  • 3D modeling as art
  • Animation
  • Game engines
  • Music and sounds
  • Game design
  • Network

Hardware requirements

PC with Windows 10 or VM

Software requirements

These slides

Communication channels

How we will dive into computer graphics

From: https://i.imgur.com/6qgzdkE.jpg

Viktor Kanke

From: https://obninsk-discovery.ru/besedka/metod-kanke

Types of sciences

  • Social
  • Natural
  • Axiological [1]

Aim and principles of applied sciences

  • Aim to make something the most effective way
  • Efficiency maximization principle [2]

Aim and principles of computer science

  • Is computer science an applied science? [1]
  • Aim to process, store, and transfer information by the most effective way [3]

Aim and principles of computer graphics

  • Is computer graphics a computer science?
  • Aim to create, process, store, and transfer visual information by the most effective way

Aim and principles computer graphics in game development

  • Aim to create, process, store, and transfer of visual representation of an in-game world to a player by the most effective way
  • What’s mean “the most effective way” here?

Let’s define what is the visual representation

Physics and anatomy will help us

What is the light

From: https://www.color-management-guide.com/eye-and-colors.html

[4]

Human eye

  • Rods - light quantity
  • Cones - light quality
    • S-cones - blue
    • M-cones - green
    • L-cones - red

[5]

Color perception

From: https://www.color-management-guide.com/eye-and-colors.html

[4]

Pixels in depth

From: https://www.color-management-guide.com/eye-and-colors.html

[4]

Pixels in depth (iPad 2 and iPad 3)

From: https://www.extremetech.com/computing/122725-what-the-ipad-3s-retina-display-looks-like-under-a-microscope

[6]

sRGB gamut

From: https://upload.wikimedia.org/wikipedia/commons/a/a8/CIExy1931_sRGB.png

[7]

Let’s dive into labs

  1. Create your own repo base upon the template: https://github.com/djbelyak/computer-graphics-in-game-development-s2021/
  2. Don’t forget git submodule update --init --recursive to get dependencies

Using premake

  1. Download Premake5 and put in to PATH
  2. Run premake in your repo:
premake vs2019

Lab: Clearing of resources

References

1.
Kanke V.A. Istoriya, filosofiya i metodologiya tehniki i informatiki. uchebnik. Uriat, 2014.
2.
Kanke V.A. Metascientific foundations of understanding of status of technology // Nuclear Energy and Technology. 2017. Vol. 3.
3.
Kanke V.A. Metascientific and philosophical reasons to define the status of computer science // Automatic Documentation and Mathematical Linguistics. 2017. Vol. 51. P. 101–107.
4.
Frich A. The human eye and colour perception [Electronic resource]. 2015. URL: https://www.color-management-guide.com/eye-and-colors.html.
5.
McGuire M. The graphics codex. 2.14 ed. Casual Effects, 2018.
6.
Anthony S. What the iPad 3’s retina display looks like under a microscope [Electronic resource]. 2012. URL: What the iPad 3’s Retina display looks like under a microscope.
7.
Hunt R.W.G., Pointer M.R. Measuring colour. Wiley, 2011.
// reveal.js plugins