0% found this document useful (0 votes)
29 views

(Group 1)Ray Tracing vs Rasterization

Uploaded by

Hammad Jutt
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
29 views

(Group 1)Ray Tracing vs Rasterization

Uploaded by

Hammad Jutt
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 10

RAY

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

Simulates the path of light rays


Process Projects 3D models onto a 2D screen, through a scene, bouncing off surfaces
pixel by pixel. to create realistic lighting and
reflections.

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.

Generally more performant, especially More computationally intensive, often


Performance for real-time applications like video requiring specialized hardware for real-
games. time applications.

Real Time Well-suited for real-time applications Emerging in real-time applications


Application due to its efficiency with the help of specialized hardware
and techniques like hybrid rendering
HYBRID RENDERING:

Many modern rendering techniques


combine the strengths of both
rasterization and ray tracing.
Hybrid rendering allows for real-
time performance while
maintaining high-quality visuals.

Examples:
- Rasterization with ray-traced
lighting
- Ray tracing with rasterized
textures
WHICH
TECHNIQUE IS
RIGHT FOR YOU?

The choice between


rasterization and ray tracing
depends on the specific
requirements of your
application. For real-time
applications like video games,
rasterization is often the
preferred choice. However,
for high-quality offline
rendering or demanding real-
time applications, ray tracing
can provide superior results.
THANK YOU

You might also like