(Group 1)Ray Tracing vs Rasterization
(Group 1)Ray Tracing vs Rasterization
VS
TRACING
RASTERIZATIO
N
exploring the difference between ray
tracing and rasterization
• Rendering
• Graphic pipline
POINTS YO BE
• Rasterization
DISCUSSED
• Ray Tracing
• Comparison table
• Hybrid Rendering
• Conclusion
WHAT
IS RENDERING ?
- Rendering is the process of
generating an image from a
3D scene
- Types of rendering: Real-
time rendering, offline
rendering
Real-time rendering generates
images instantly, making it suitable
for interactive applications like video
games and virtual reality.
Offline rendering processes
images over time, prioritizing
quality over speed. It's used for
high-quality visuals in films and
advertisements.
RENDERING
PIPLINE
* Vertex Specification: Defining the 3D
model's geometry.
* Vertex Shader: Processing individual
vertices to calculate their final position
and color.
* Tessellation: Subdividing surfaces for
more detailed rendering.
* Geometry Shader: Manipulating entire
primitives (e.g., triangles).
* Vertex Post-Processing: Clipping,
culling, and transforming vertices.
* Primitive Assembly: Combining
vertices into geometric primitives.
* Rasterization: Converting primitives
into pixels on the screen.
* Fragment Shader: Calculating the final
color of each pixel.
* Per-Sample Operations: Applying effects like depth testing and blending.
RASTERIZATION
-Strengths:
- Definition: - Fast rendering times
Rasterization is a - Low computational
overhead
rendering technique
that converts 3D
Weaknesses:
models into 2D pixels - Limited accuracy
- How it works: - Difficulty with complex
scenes
Rasterization uses a
scanline algorithm to
Applications:
render 3D models
- Video games
- Real-time simulations
RAY TRACING
- Definition: Ray
tracing is a rendering -Strengths:
- High accuracy
technique that
_ Accurat lighting
simulates the way - Realistic lighting and
light interacts with 3D shading
Weaknesses:
objects - Slow rendering times
- How it works: Ray - High computational
cost
tracing uses a
recursive algorithm to
trace the path of light
Applications:
rays - Animation and video
games
- Cinematic rendering
- Architectural visualization
Rasterization Ray Tracing
Feature
Can produce high-quality images, but Can produce highly realistic images
Image struggles with realistic lighting and with accurate lighting, shadows,
Quality reflections, especially in complex reflections, and refractions
scenes.
Examples:
- Rasterization with ray-traced
lighting
- Ray tracing with rasterized
textures
WHICH
TECHNIQUE IS
RIGHT FOR YOU?