Unit 3 Notes_unit3
Unit 3 Notes_unit3
Unit -3
Based on '3D Graphics for Game Programming' by Jung
Hyun Han (Delmar Cengage Learning, 2011)
Presenter Name – Shiv Tripathi
March 2025
Importance of 3D Graphics in Modern Games
Types of Rendering
• Forward Rendering: Simple but expensive in processing.
• Deferred Rendering: Optimized for complex scenes with
multiple light sources.
• Ray Tracing: Uses real-time light simulation for ultra-
realistic reflections and shadows.
GPU Role in Rendering
• Modern GPUs accelerate rendering through parallel
processing.
• Uses APIs like DirectX, OpenGL, Vulkan.
Scene Graph
What is LOD?
• Technique to reduce polygon count for objects based on camera
distance.
• Maintains performance while keeping visual quality intact.
Types of LOD
• Geometric LOD: Uses multiple versions of a model (high-poly to
low-poly).
• Texture LOD: Reduces texture resolution for distant objects.
• Impostor Rendering: Uses 2D sprites instead of complex 3D
models at long distances.
Level of Detail (LOD)
Implementation in Games
• Open-world games (GTA, Assassin’s Creed) use LOD to
render vast landscapes.
• Unity & Unreal Engine provide built-in LOD systems.
Sorting in Rendering
Animation Pipeline
1.Modeling & Rigging: Create character models and skeletal rigs.
2.Keyframe or Motion Capture Animation: Define animations or
record real movement.
3.Blending & Inverse Kinematics (IK): Adjust transitions
dynamically.
4.Real-Time Execution: Runs animations efficiently during gameplay.
Game Examples
• Motion-captured animations in FIFA, GTA.
• AI-driven animations in Red Dead Redemption 2.
Collision Detection and Rigid Body Dynamics