Real-time Rendering with Multiprocessing: A Deep Dive into Graphics Pipelines and OpenGL -, Study notes of Electrical and Electronics Engineering

This lecture outline explores real-time rendering, focusing on graphics apis, pipelines, multiprocessing, and parallel processing. Real-time rendering is essential for interactive applications, including games and simulators. Opengl and opengl with java, discussing their advantages and disadvantages. It also delves into the pipeline stages, optimization techniques, and multicore utilization.

Typology: Study notes

Pre 2010

Uploaded on 11/08/2009

koofers-user-ov1
koofers-user-ov1 🇺🇸

10 documents

1 / 29

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Kerey Howard
EEL 6897
Multiprocessor Graphic
Rendering
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d

Partial preview of the text

Download Real-time Rendering with Multiprocessing: A Deep Dive into Graphics Pipelines and OpenGL - and more Study notes Electrical and Electronics Engineering in PDF only on Docsity!

Kerey Howard EEL 6897

Multiprocessor Graphic

Rendering

Lecture Outline Real time Rendering Introduction Graphics API Pipeline Multiprocessing Parallel Processing Threading OpenGL with Java

Illustration: FSX Screen Capture

Illustration: Halflife 2 ep2 Screen Capture

Graphics API OpenGL Open Graphics Library http://www.opengl.org/ Native Multi OS support Hardware Accelerated GLSL Shader Language Direct 3D Part of the Microsoft Direct X API package http://www.microsoft.com/directx Windows support only (DirectX 10 only on Vista) Hardware Accelerated HLSL Shader Language

Pipeline Render Pipeline Slowest Stage determines Rendering Speed (fps) Application Stage Input Control Collision Detection Geometry Stage Model & View Transform Lighting Projection Clipping Screen Mapping Rasterizer Stage Assign Colors to all pixels Anti-Aliasing, Z-buffer,and other filtering

Illustration: Multiple Processor Utilization

Multiprocessing Temporal Parallelism Requires Multiple Processing Cores No Hyperthreading Focus: Application Stage APP is the Control Advantages: Implementation (Stages are already divided) Throughput is increased Higher Frame rate Disadvantages: Latency Increases Synchronization Penalty

Illustration: Threading approaches

Illustration: Threading approaches

Optimization Make it Run FIRST! Know the Architecture Find the Bottleneck (the slow stage) Optimize for Performance Reduce latency Increase Frame Rate Optimize for Quality Make use of stall time

Illustration: Balancing the pipeline APP^ GEOM^ RAST 10 ms 0 ms 20 ms 30 ms 40 ms 50 ms APP^ GEOM^ RAST 10 ms 0 ms 20 ms 30 ms 40 ms 50 ms balance