Lecture 1: Introduction
COMP5822M – High Perf. Graphics
– Courseinformationandstructure – HighPerformanceGraphics?
Copyright By PowCoder代写 加微信 powcoder
COMP5822M – High Perf. Graphics
COMP5822M – High Performance Graphics
– Twocomponents
COMP5822M – High Perf. Graphics
COMP5822M – High Performance Graphics
– Twocomponents
– Modernlow-levelgraphics – In practice: with Vulkan
COMP5822M – High Perf. Graphics
COMP5822M – High Performance Graphics
– Twocomponents
– Modernlow-levelgraphics – In practice: with Vulkan
– Renderingtechniques
– Shading & Materials
– Framebuffer techniques
– Data and acceleration structures
– “Specialized” approaches
COMP5822M – High Perf. Graphics
COMP5822M – High Performance Graphics
– Twocomponents
– Modernlow-levelgraphics – In practice: with Vulkan
– Renderingtechniques
– Shading & Materials
– Framebuffer techniques
– Data and acceleration structures
– “Specialized” approaches
– If time permits: Real-time ray tracing etc.
COMP5822M – High Perf. Graphics
– Lectures twice a week
– “Labs” – need to be planned
– In-person and online support
– Vis. Teaching Lab (2.16 Bragg)
– Practicalwork
– Exercises(ungraded)
– 4xCoursework(graded)
COMP5822M – High Perf. Graphics
– Scheduled:8weeks
– 16 total lectures
– A bit less than last year…
COMP5822M – High Perf. Graphics
– Topics(preliminary)
– Texturing and shading (attrib. maps, …)
– Anti-aliasing
– Framebuffer techniques / render-to-texture
– Deferred rendering
– Post processing & screen-space tech. -…
– Terrain, water, atmosphere
– Advanced Illumination (LTC, skin/subsurface, GI)
– Ray tracing and similar (?)
COMP5822M – High Perf. Graphics
– “Tutorial style”
– Build up towards courseworks
– Optional (and ungraded)
– But you are allowed to use code provided
with the exercises or that you have written yourself for the exercises in the CW submissions.
– If you’ve completed the exercises, you should pass the CWs.
COMP5822M – High Perf. Graphics
Coursework
– Fourcourseworks,25%each
– Preliminary:
– 2. Shading (PBR)
– 3. Render-to-texture
– 4. Shadowmapping
– (No exam.)
COMP5822M – High Perf. Graphics
– MachinesinVis.TeachingLab(2.16Bragg)
– Windows + Visual Studio 2022
– Limited spaces, need to coordinate
– Yourownmachines
– Windows or Linux
– Vulkan 1.2 capable GPU
– (Other OSs may work with some effort, but I
can’t provide support for setting things up.)
COMP5822M – High Perf. Graphics
Equipment – Your own machines
– See“SoftwareSetup”onMinerva – Learning Resources -> Exercises
– Exercise 1.1 will allow you to “test” your machine / installation.
– If you do not have a sufficient machine, get in touch.
COMP5822M – High Perf. Graphics
– Real-time rendering
– VulkanProgrammingGuide
– See links in “Learning Resources”
COMP5822M – High Perf. Graphics
– Learn to use the official Vulkan resources
– Vulkan Specification
– Vulkan manual pages
– Very technical, but define Vulkan
– The resource on Vulkan
– Avoid relying on SO overmuch. – And don’t copy-paste code.
COMP5822M – High Perf. Graphics
– Teamschannel – Email
– Individualsupportquestions:emailfirst – The better you describe your problem, the
more likely you’ll get a quick reply.
COMP5822M – High Perf. Graphics
Advertisement: MSc. Projects
– Want to know more?
– A few proposals online
– If you have your own idea relating to
rendering (offline or real-time), GPU programming or similar, get in touch, and we can take a look at it!
– Doing it in Vulkan is not a requirement…
COMP5822M – High Perf. Graphics
Lab arrangements?
– Need to decide on time slots – In person in 2.16
– Can somebody post your schedule in Teams?
– Everybody: check that it matches yours.
– I’ll come up with a suggestion
COMP5822M – High Perf. Graphics
Lab arrangements?
– Limitedspacesin2.16
– 6 with COVID restrictions, 5+1 during support
– For now: “ad-hoc”
– Do something more complicated if that
doesn’t work out.
– Rotate in and out during in-person support – Again, more complicated if that doesn’t work
COMP5822M – High Perf. Graphics
Questions/comments on the practical aspects?
COMP5822M – High Perf. Graphics
High Performance Graphics?
– Differentaspects
– Processing speed/rate
– Large data
– Low power – Latency
COMP5822M – High Perf. Graphics
High Performance Graphics?
– Differentaspects
– Processing speed/rate
– Large data
– Low power – Latency
COMP5822M – High Perf. Graphics
High Performance Graphics?
– Real-time rendering?
– Traditionally: 20-30 Hz
– Recently: >= 60 Hz, 120 Hz
– Even faster screens exist (360 Hz) – VR
– 60 Hz = 16.8 ms
– 120 Hz = 8.3 ms
COMP5822M – High Perf. Graphics
High Performance Graphics?
– Real-time rendering?
– Traditionally: 20-30 Hz
– Recently: >= 60 Hz, 120 Hz
– Even faster screens exist (360 Hz) – VR
– 60 Hz = 16.8 ms
– 120 Hz = 8.3 ms
COMP5822M – High Perf. Graphics
High Performance Graphics?
– Largedata
– Harder to pin down.
– >= VRAM, >= RAM, …?
– Games ~= 100GB
– Visualization: can be much larger
– Lowpower
– Mobile applications on battery
– Heat is a big issue
COMP5822M – High Perf. Graphics
High Performance Graphics?
– Time from last update to image on screen
– Rendering time
– Hardware processing (e.g., send to screen) -…
COMP5822M – High Perf. Graphics
High Performance Graphics?
– Focus tends to be speed
– Noticeable and easy to measure
– Efficiency affects all other aspects too.
COMP5822M – High Perf. Graphics
– Efficientmethods
– Efficientimplementation – Hardware(GPU,…)
COMP5822M – High Perf. Graphics
– Efficientmethods
– Efficientimplementation – Hardware(GPU,…)
COMP5822M – High Perf. Graphics
You will learn relevant techniques and methods.
– Efficientmethods
– Efficientimplementation – Hardware(GPU,…)
COMP5822M – High Perf. Graphics
You will learn Vulkan, one of the modern APIs.
You will learn about the HW – this explains why things are done the way they are.
Modern Graphics APIs
– Problem?
– GPU runs asynchronous
COMP5822M – High Perf. Graphics
Modern Graphics APIs
– SubmitcommandsfortheGPU to execute
– As efficiently as possible (“draw calls”)
COMP5822M – High Perf. Graphics
Modern Graphics APIs
– GPU is parallel
– Multiple tasks at once
– API: don’t prevent this
COMP5822M – High Perf. Graphics
Modern Graphics APIs
– Prepareresourcesheadoftime
– Queue up commands & dependencies
– Let GPU run commands
COMP5822M – High Perf. Graphics
Modern Graphics APIs
– ModernOpenGL:
– “AZDO” – more efficient command
submission
– Asynchronous, but not always parallel
(Compute is, though.)
– Vulkan,DirectXetc
– Make this very explicit
COMP5822M – High Perf. Graphics
Next time.
– Start with introducing Vulkan – E.g.Thursday
– Start with the “Software Setup”
– Exercise1.1laterthisweek
– Start with it as soon as possible
COMP5822M – High Perf. Graphics
Thank you for your attention
COMP5822M – High Perf. Graphics
System Overview
Application
Driver Driver Driver
GPU Input Devices …
COMP5822M – High Perf. Graphics
System Overview
Application
Driver Driver Driver
GPU Input Devices …
COMP5822M – High Perf. Graphics
System Overview
Application
OS Services
Driver Driver Driver
GPU Input Devices …
COMP5822M – High Perf. Graphics
System Overview
Application
Window Subsystem
Driver Driver Driver
GPU Input Devices …
COMP5822M – High Perf. Graphics
System Overview
Application
Window Subsystem
Graphics API
Driver Driver Driver
GPU Input Devices …
COMP5822M – High Perf. Graphics
System Overview
Application
Window Subsystem
Graphics API
Driver Driver Driver
GPU Input Devices …
COMP5822M – High Perf. Graphics
System Overview
Application
Window Subsystem
Graphics API
Driver Driver Driver
GPU Input Devices …
COMP5822M – High Perf. Graphics
System Overview
Vulkan WSI
Application
Window Subsystem
Graphics API
Driver Driver Driver
GPU Input Devices …
COMP5822M – High Perf. Graphics
程序代写 CS代考 加微信: powcoder QQ: 1823890830 Email: powcoder@163.com