Presentation is loading. Please wait.

Presentation is loading. Please wait.

How to Create a Thousand Lights Stephen Smithbower Computer Science Undergraduate.

Similar presentations


Presentation on theme: "How to Create a Thousand Lights Stephen Smithbower Computer Science Undergraduate."— Presentation transcript:

1 How to Create a Thousand Lights Stephen Smithbower Computer Science Undergraduate

2 Lighting is an Artistic Tool - Creates mood and atmosphere - Colours can be calming - Useful for both realism and surrealism or abrasive

3 Author: Brooks Elliot @ 3drender.com

4 Author: Dan Konieczka @ 3drender.com

5 Author: Hans Tetzloff @ 3drender.com

6 Author: Michal Kotek @ 3drender.com

7 Lighting is Complex And is therefore slow to render.. - Each frame of video = 1/24th of a second - Each frame takes on average 6 hours to render Some frames take up to 90 hours! Pixar Authorship: Disney Pixar Studios

8 Real-Time Is a Bit More Restrictive For smooth movement, the entire frame must be rendered in... 16 milliseconds (1/60th of a second, or 60 frames per second)

9 Don’t Be Pixar Aesthetically plausible, not physically accurate

10 The Graphics Processing Unit (GPU) - Excels at parallel tasks - Much more processing power than the CPU - Built specifically for real-time graphics

11 Forward Shading 11 Yellow Light 11 Blue Light

12 Forward Shading 11 Yellow Light Render this, GPU! 1 Draw Call

13 Forward Shading 11 Blue Light Render this, GPU! 2 Draw Calls

14 Forward Shading 11 Yellow Light Render this, GPU! 3 Draw Calls

15 Forward Shading 11 Blue Light Render this, GPU! 4 Draw Calls

16 So What’s the Problem? Bottleneck !

17 You’ve got a relay team.. GPU

18 Bottleneck! CPU

19 Forward Rendering Scene Complexity Most Video Games In Here

20 New Approach - Don’t send redundant data - Don’t worry about what is not in view - Decouple Light and Geometry data Current Complexity: # Objects x # Lights Desired Complexity: # Objects + # Lights

21 Light Pre-Pass Step 1: Encode Visible Geometry into a Texture Depth Normals 5

22 Light Pre-Pass Step 2: Draw Lights as Spheres

23 Light Pre-Pass Step 3: Render Scene Again - Modulate Lighting x=

24 Comparison of Rendering Scene Complexity

25

26

27

28 Rendered on a 2.4ghz dual-core processor, Geforce 8600gts video card About $500 total, at time of purchase Questions? http://www.youtube.com/watch?v=MYMMgI9CDow

29 Acknowledgements Dr. Ramon Lawrence Computer Science Department


Download ppt "How to Create a Thousand Lights Stephen Smithbower Computer Science Undergraduate."

Similar presentations


Ads by Google