SlideShare a Scribd company logo
RENDERING
ALGORITHMS
Sherin Rappai
What is rendering
Rendering is the process involved in the generation of a
two-dimensional or three-dimensional image from a model
by means of application programs. Rendering is mostly
used in architectural designs, video games, and animated
movies, simulators, TV special effects and design
visualization. The techniques and features used vary
according to the project. Rendering helps increase
efficiency and reduce cost in design.
RENDERING ALGORITHM
2
Categories of rendering
3
• There are two categories of rendering: pre-rendering and real-time rendering. The
striking difference between the two lies in the speed at which the computation
and finalization of images takes place.
• Real-Time Rendering: The prominent rendering technique using in interactive
graphics and gaming where images must be created at a rapid pace. Because user
interaction is high in such environments, real-time image creation is required.
Dedicated graphics hardware and pre-compiling of the available information has
improved the performance of real-time rendering.
• Pre-Rendering: This rendering technique is used in environments where speed is
not a concern and the image calculations are performed using multi-core central
processing units rather than dedicated graphics hardware. This rendering
technique is mostly used in animation and visual effects, where photorealism
needs to be at the highest standard possible.
Computational techniques
4
• For these rendering types, the three major computational techniques used are:
Ray Casting
Ray Tracing
Shading
Ray Tracing
• Ray tracing is a rendering technique that can realistically simulate the lighting of a
scene and its objects by rendering physically accurate reflections, refractions,
shadows, and indirect lighting.
• Ray tracing generates computer graphics images by tracing the path of light from
the view camera (which determines your view into the scene), through the 2D
viewing plane (pixel plane), out into the 3D scene, and back to the light sources.
As it traverses the scene, the light may reflect from one object to another (causing
reflections), be blocked by objects (causing shadows), or pass through transparent
or semi-transparent objects (causing refractions).
• All of these interactions are combined to produce the final color and illumination
of a pixel that is then displayed on the screen. This reverse tracing process of
eye/camera to light source is chosen because it is far more efficient than tracing all
light rays emitted from light sources in multiple directions.
5
• Another way to think of ray tracing is to look around you, right now. The objects
you’re seeing are illuminated by beams of light. Now turn that around and follow
the path of those beams backwards from your eye to the objects that light interacts
with. That’s ray tracing.
• The primary application of ray tracing is in computer graphics, both non-real-time
(film and television) and real-time (video games). Other applications include those
in architecture, engineering, and lighting design.
6
Ray Tracing Model
7
Ray Tracing Fundamentals
• Ray casting is the process in a ray tracing algorithm that shoots one or more rays
from the camera (eye position) through each pixel in an image plane, and then
tests to see if the rays intersect any primitives (triangles) in the scene.
• If a ray passing through a pixel and out into the 3D scene hits a primitive, then the
distance along the ray from the origin (camera or eye point) to the primitive is
determined, and the color data from the primitive contributes to the final color of
the pixel.
• The ray may also bounce and hit other objects and pick up color and lighting
information from them.
• Ray casting is the most basic of many computer graphics rendering algorithms that
use the geometric algorithm of ray tracing. Ray tracing-based rendering algorithms
operate in image order to render three-dimensional scenes to two-dimensional
images.
• Geometric rays are traced from the eye of the observer to sample the light
(radiance) travelling toward the observer from the ray direction. The speed and
simplicity of ray casting comes from computing the color of the light without
recursively tracing additional rays that sample the radiance incident on the point
that the ray hit.
• This eliminates the possibility of accurately rendering reflections, refractions, or
the natural falloff of shadows; however all of these elements can be faked to a
degree, by creative use of texture maps or other methods. The high speed of
calculation made ray casting a handy rendering method in early real-time 3D
video games.
9
• The idea behind ray casting is to trace rays from the eye, one per pixel, and find
the closest object blocking the path of that ray – think of an image as a screen-
door, with each square in the screen being a pixel. This is then the object the eye
sees through that pixel.
• Using the material properties and the effect of the lights in the scene, this
algorithm can determine the shading of this object. The simplifying assumption is
made that if a surface faces a light, the light will reach that surface and not be
blocked or in shadow. The shading of the surface is computed using traditional 3D
computer graphics shading models.
• One important advantage ray casting offered over older scanline algorithms was
its ability to easily deal with non-planar surfaces and solids, such
as cones and spheres. If a mathematical surface can be intersected by a ray, it can
be rendered using ray casting. Elaborate objects can be created by using solid
modelling techniques and easily rendered.
10
• Path Tracing is a more intensive form of ray tracing that traces hundreds or
thousands of rays through each pixel and follows the rays through numerous
bounces off or through objects before reaching the light source in order to collect
color and lighting information.
• Bounding Volume Hierarchy (BVH) is a popular ray tracing acceleration
technique that uses a tree-based “acceleration structure” that contains multiple
hierarchically-arranged bounding boxes (bounding volumes) that encompass or
surround different amounts of scene geometry or primitives.
• Testing each ray against every primitive intersection in the scene is inefficient and
computationally expensive, and BVH is one of many techniques and optimizations
that can be used to accelerate it. The BVH can be organized in different types of
tree structures and each ray only needs to be tested against the BVH using a depth-
first tree traversal process instead of against every primitive in the scene.
• Prior to rendering a scene for the first time, a BVH structure must be created
(called BVH building) from source geometry. The next frame will require either a
new BVH build operation or a BVH refitting based on scene changes.
11
• Denoising Filtering is an advanced filtering techniques that can improve
performance and image quality without requiring additional rays to be cast.
Denoising can significantly improve the visual quality of noisy images that might
be constructed of sparse data, have random artifacts, visible quantization noise, or
other types of noise.
• Denoising filtering is especially effective at reducing the time ray traced images
take to render, and can produce high fidelity images from ray tracers that appear
visually noiseless. Applications of denoising include real-time ray tracing and
interactive rendering. Interactive rendering allows a user to dynamically interact
with scene properties and instantly see the results of their changes updated in the
rendered image.
12
Ray Tracing Algorithm
13
14
Shading algorithm
• Shading is referred to as the implementation of the illumination model at the pixel points or
polygon surfaces of the graphics objects.
• Shading model is used to compute the intensities and colors to display the surface. The shading
model has two primary ingredients: properties of the surface and properties of the illumination
falling on it. The principal surface property is its reflectance, which determines how much of the
incident light is reflected. If a surface has different reflectance for the light of different
wavelengths, it will appear to be colored.
• An object illumination is also significant in computing intensity. The scene may have to save
illumination that is uniform from all direction, called diffuse illumination.
15
• Shading models determine the shade of a point on the surface of an object in terms
of a number of attributes. The shading Mode can be decomposed into three parts, a
contribution from diffuse illumination, the contribution for one or more specific
light sources and a transparency effect.
• Each of these effects contributes to shading term E which is summed to find the
total energy coming from a point on an object. This is the energy a display should
generate to present a realistic image of the object. The energy comes not from a
point on the surface but a small area around the point.
• The simplest form of shading considers only diffuse illumination:
• where Epd is the energy coming from point P due to diffuse illumination. Id is the
diffuse illumination falling on the entire scene, and Rp is the reflectance
coefficient at P which ranges from shading contribution from specific light sources
will cause the shade of a surface to vary as to its orientation concerning the light
sources changes and will also include specular reflection effects.
16
9/3/20XX 17
PRESENTATION
TITLE
THANK YOU
Presenter name
Email address
Website

More Related Content

What's hot

line attributes.pptx
line attributes.pptxline attributes.pptx
line attributes.pptx
RubaNagarajan
 
Projection In Computer Graphics
Projection In Computer GraphicsProjection In Computer Graphics
Projection In Computer Graphics
Sanu Philip
 
3D transformation in computer graphics
3D transformation in computer graphics3D transformation in computer graphics
3D transformation in computer graphics
SHIVANI SONI
 
Graphic hardware and software
Graphic hardware and softwareGraphic hardware and software
Graphic hardware and softwarerafhat
 
Unit 3
Unit 3Unit 3
Unit 3
ypnrao
 
Polygon clipping
Polygon clippingPolygon clipping
Polygon clippingMohd Arif
 
GRPHICS06 - Shading
GRPHICS06 - ShadingGRPHICS06 - Shading
GRPHICS06 - Shading
Michael Heron
 
Polygon Fill
Polygon FillPolygon Fill
Polygon Fillwahab13
 
HSL & HSV colour models
HSL & HSV colour modelsHSL & HSV colour models
HSL & HSV colour models
Vishnu RC Vijayan
 
Window to viewport transformation&matrix representation of homogeneous co...
Window to viewport transformation&matrix representation of homogeneous co...Window to viewport transformation&matrix representation of homogeneous co...
Window to viewport transformation&matrix representation of homogeneous co...
Mani Kanth
 
Graphics a buffer
Graphics a bufferGraphics a buffer
Graphics a buffer
ajeela mushtaq
 
Parallel projection
Parallel projectionParallel projection
Parallel projection
Prince Shahu
 
2 d viewing computer graphics
2 d viewing computer graphics2 d viewing computer graphics
2 d viewing computer graphics
KALESHWAR KUMAR
 
Scan line method
Scan line methodScan line method
Scan line method
Pooja Dixit
 
Polygon filling algorithm
Polygon filling algorithmPolygon filling algorithm
Polygon filling algorithm
Aparna Joshi
 
Depth Buffer Method
Depth Buffer MethodDepth Buffer Method
Depth Buffer Method
Ummiya Mohammedi
 
Cohen-Sutherland Line Clipping Algorithm
Cohen-Sutherland Line Clipping AlgorithmCohen-Sutherland Line Clipping Algorithm
Cohen-Sutherland Line Clipping Algorithm
Maruf Abdullah (Rion)
 
Input of graphical data
Input of graphical dataInput of graphical data
Input of graphical data
Rajapriya82
 
Presentation on Parallel projection.pptx
Presentation on Parallel projection.pptxPresentation on Parallel projection.pptx
Presentation on Parallel projection.pptx
GoutamSharma33
 

What's hot (20)

line attributes.pptx
line attributes.pptxline attributes.pptx
line attributes.pptx
 
Projection In Computer Graphics
Projection In Computer GraphicsProjection In Computer Graphics
Projection In Computer Graphics
 
3D transformation in computer graphics
3D transformation in computer graphics3D transformation in computer graphics
3D transformation in computer graphics
 
Graphic hardware and software
Graphic hardware and softwareGraphic hardware and software
Graphic hardware and software
 
Unit 3
Unit 3Unit 3
Unit 3
 
Polygon clipping
Polygon clippingPolygon clipping
Polygon clipping
 
GRPHICS06 - Shading
GRPHICS06 - ShadingGRPHICS06 - Shading
GRPHICS06 - Shading
 
Unit 1
Unit 1Unit 1
Unit 1
 
Polygon Fill
Polygon FillPolygon Fill
Polygon Fill
 
HSL & HSV colour models
HSL & HSV colour modelsHSL & HSV colour models
HSL & HSV colour models
 
Window to viewport transformation&matrix representation of homogeneous co...
Window to viewport transformation&matrix representation of homogeneous co...Window to viewport transformation&matrix representation of homogeneous co...
Window to viewport transformation&matrix representation of homogeneous co...
 
Graphics a buffer
Graphics a bufferGraphics a buffer
Graphics a buffer
 
Parallel projection
Parallel projectionParallel projection
Parallel projection
 
2 d viewing computer graphics
2 d viewing computer graphics2 d viewing computer graphics
2 d viewing computer graphics
 
Scan line method
Scan line methodScan line method
Scan line method
 
Polygon filling algorithm
Polygon filling algorithmPolygon filling algorithm
Polygon filling algorithm
 
Depth Buffer Method
Depth Buffer MethodDepth Buffer Method
Depth Buffer Method
 
Cohen-Sutherland Line Clipping Algorithm
Cohen-Sutherland Line Clipping AlgorithmCohen-Sutherland Line Clipping Algorithm
Cohen-Sutherland Line Clipping Algorithm
 
Input of graphical data
Input of graphical dataInput of graphical data
Input of graphical data
 
Presentation on Parallel projection.pptx
Presentation on Parallel projection.pptxPresentation on Parallel projection.pptx
Presentation on Parallel projection.pptx
 

Similar to Rendering Algorithms.pptx

Copy of 3 d report
Copy of 3 d reportCopy of 3 d report
Copy of 3 d report
Virajjha
 
Dip lect2-Machine Vision Fundamentals
Dip  lect2-Machine Vision Fundamentals Dip  lect2-Machine Vision Fundamentals
Dip lect2-Machine Vision Fundamentals
Abdul Abbasi
 
Computer Graphics Full Tutorial.pptx
Computer Graphics Full Tutorial.pptxComputer Graphics Full Tutorial.pptx
Computer Graphics Full Tutorial.pptx
AOUNHAIDER7
 
3d machine-vision-systems-paper-presentation
3d machine-vision-systems-paper-presentation3d machine-vision-systems-paper-presentation
3d machine-vision-systems-paper-presentationChidananda M
 
Image processing.pptx
Image processing.pptxImage processing.pptx
Image processing.pptx
Mattupallipardhu
 
Rendering Techniques in Virtual Reality.pdf
Rendering Techniques in Virtual Reality.pdfRendering Techniques in Virtual Reality.pdf
Rendering Techniques in Virtual Reality.pdf
aditya800563
 
Globalillumination
GlobalilluminationGlobalillumination
Globalilluminationmeheng1001
 
3d Machine Vision Systems Paper Presentation
3d  Machine Vision Systems Paper Presentation3d  Machine Vision Systems Paper Presentation
3d Machine Vision Systems Paper Presentation
guestac67362
 
Understanding neural radiance fields
Understanding neural radiance fieldsUnderstanding neural radiance fields
Understanding neural radiance fields
Varun Bhaseen
 
visual realism in geometric modeling
visual realism in geometric modelingvisual realism in geometric modeling
visual realism in geometric modeling
sabiha khathun
 
3-d interpretation from single 2-d image III
3-d interpretation from single 2-d image III3-d interpretation from single 2-d image III
3-d interpretation from single 2-d image III
Yu Huang
 
TASK 2
TASK 2TASK 2
TASK 2
10metzm
 
Computer Graphics lecture.pptx
Computer Graphics lecture.pptxComputer Graphics lecture.pptx
Computer Graphics lecture.pptx
NishkaSharma5
 
A Review on Deformation Measurement from Speckle Patterns using Digital Image...
A Review on Deformation Measurement from Speckle Patterns using Digital Image...A Review on Deformation Measurement from Speckle Patterns using Digital Image...
A Review on Deformation Measurement from Speckle Patterns using Digital Image...
IRJET Journal
 
Robot Vision ,components for robot vision
Robot Vision ,components for robot visionRobot Vision ,components for robot vision
Robot Vision ,components for robot vision
KRSavinJoseph
 
Image segmentation using wvlt trnsfrmtn and fuzzy logic. ppt
Image segmentation using wvlt trnsfrmtn and fuzzy logic. pptImage segmentation using wvlt trnsfrmtn and fuzzy logic. ppt
Image segmentation using wvlt trnsfrmtn and fuzzy logic. ppt
RCC Institute of Information Technology
 
Radiosity in CAD and 3D, informative.
Radiosity in CAD and 3D, informative.Radiosity in CAD and 3D, informative.
Radiosity in CAD and 3D, informative.
meheng1001
 
From Experimentation to Production: The Future of WebGL
From Experimentation to Production: The Future of WebGLFrom Experimentation to Production: The Future of WebGL
From Experimentation to Production: The Future of WebGL
FITC
 

Similar to Rendering Algorithms.pptx (20)

Copy of 3 d report
Copy of 3 d reportCopy of 3 d report
Copy of 3 d report
 
Dip lect2-Machine Vision Fundamentals
Dip  lect2-Machine Vision Fundamentals Dip  lect2-Machine Vision Fundamentals
Dip lect2-Machine Vision Fundamentals
 
Computer Graphics Full Tutorial.pptx
Computer Graphics Full Tutorial.pptxComputer Graphics Full Tutorial.pptx
Computer Graphics Full Tutorial.pptx
 
3d machine-vision-systems-paper-presentation
3d machine-vision-systems-paper-presentation3d machine-vision-systems-paper-presentation
3d machine-vision-systems-paper-presentation
 
Image processing.pptx
Image processing.pptxImage processing.pptx
Image processing.pptx
 
Rendering Techniques in Virtual Reality.pdf
Rendering Techniques in Virtual Reality.pdfRendering Techniques in Virtual Reality.pdf
Rendering Techniques in Virtual Reality.pdf
 
Globalillumination
GlobalilluminationGlobalillumination
Globalillumination
 
3d Machine Vision Systems Paper Presentation
3d  Machine Vision Systems Paper Presentation3d  Machine Vision Systems Paper Presentation
3d Machine Vision Systems Paper Presentation
 
ei2106-submit-opt-415
ei2106-submit-opt-415ei2106-submit-opt-415
ei2106-submit-opt-415
 
Understanding neural radiance fields
Understanding neural radiance fieldsUnderstanding neural radiance fields
Understanding neural radiance fields
 
visual realism in geometric modeling
visual realism in geometric modelingvisual realism in geometric modeling
visual realism in geometric modeling
 
3-d interpretation from single 2-d image III
3-d interpretation from single 2-d image III3-d interpretation from single 2-d image III
3-d interpretation from single 2-d image III
 
TASK 2
TASK 2TASK 2
TASK 2
 
Report
ReportReport
Report
 
Computer Graphics lecture.pptx
Computer Graphics lecture.pptxComputer Graphics lecture.pptx
Computer Graphics lecture.pptx
 
A Review on Deformation Measurement from Speckle Patterns using Digital Image...
A Review on Deformation Measurement from Speckle Patterns using Digital Image...A Review on Deformation Measurement from Speckle Patterns using Digital Image...
A Review on Deformation Measurement from Speckle Patterns using Digital Image...
 
Robot Vision ,components for robot vision
Robot Vision ,components for robot visionRobot Vision ,components for robot vision
Robot Vision ,components for robot vision
 
Image segmentation using wvlt trnsfrmtn and fuzzy logic. ppt
Image segmentation using wvlt trnsfrmtn and fuzzy logic. pptImage segmentation using wvlt trnsfrmtn and fuzzy logic. ppt
Image segmentation using wvlt trnsfrmtn and fuzzy logic. ppt
 
Radiosity in CAD and 3D, informative.
Radiosity in CAD and 3D, informative.Radiosity in CAD and 3D, informative.
Radiosity in CAD and 3D, informative.
 
From Experimentation to Production: The Future of WebGL
From Experimentation to Production: The Future of WebGLFrom Experimentation to Production: The Future of WebGL
From Experimentation to Production: The Future of WebGL
 

More from SherinRappai

Extensible markup language ppt as part of Internet Technology
Extensible markup language ppt as part of Internet TechnologyExtensible markup language ppt as part of Internet Technology
Extensible markup language ppt as part of Internet Technology
SherinRappai
 
Java script ppt from students in internet technology
Java script ppt from students in internet technologyJava script ppt from students in internet technology
Java script ppt from students in internet technology
SherinRappai
 
Building Competency and Career in the Open Source World
Building Competency and Career in the Open Source WorldBuilding Competency and Career in the Open Source World
Building Competency and Career in the Open Source World
SherinRappai
 
How to Build a Career in Open Source.pptx
How to Build a Career in Open Source.pptxHow to Build a Career in Open Source.pptx
How to Build a Career in Open Source.pptx
SherinRappai
 
Issues in Knowledge representation for students
Issues in Knowledge representation for studentsIssues in Knowledge representation for students
Issues in Knowledge representation for students
SherinRappai
 
A* algorithm of Artificial Intelligence for BCA students
A* algorithm of Artificial Intelligence for BCA studentsA* algorithm of Artificial Intelligence for BCA students
A* algorithm of Artificial Intelligence for BCA students
SherinRappai
 
Unit 2.pptx
Unit 2.pptxUnit 2.pptx
Unit 2.pptx
SherinRappai
 
COMPUTING AND PROGRAMMING FUNDAMENTAL.pptx
COMPUTING AND PROGRAMMING FUNDAMENTAL.pptxCOMPUTING AND PROGRAMMING FUNDAMENTAL.pptx
COMPUTING AND PROGRAMMING FUNDAMENTAL.pptx
SherinRappai
 
Clustering.pptx
Clustering.pptxClustering.pptx
Clustering.pptx
SherinRappai
 
neuralnetwork.pptx
neuralnetwork.pptxneuralnetwork.pptx
neuralnetwork.pptx
SherinRappai
 
Introduction to Multimedia.pptx
Introduction to Multimedia.pptxIntroduction to Multimedia.pptx
Introduction to Multimedia.pptx
SherinRappai
 
Linked List.pptx
Linked List.pptxLinked List.pptx
Linked List.pptx
SherinRappai
 
Stack.pptx
Stack.pptxStack.pptx
Stack.pptx
SherinRappai
 
system model.pptx
system model.pptxsystem model.pptx
system model.pptx
SherinRappai
 
SE UNIT-1.pptx
SE UNIT-1.pptxSE UNIT-1.pptx
SE UNIT-1.pptx
SherinRappai
 
Working with data.pptx
Working with data.pptxWorking with data.pptx
Working with data.pptx
SherinRappai
 
Introduction to PHP.pptx
Introduction to PHP.pptxIntroduction to PHP.pptx
Introduction to PHP.pptx
SherinRappai
 
Aggregate functions in SQL.pptx
Aggregate functions in SQL.pptxAggregate functions in SQL.pptx
Aggregate functions in SQL.pptx
SherinRappai
 
Introduction to DBMS.pptx
Introduction to DBMS.pptxIntroduction to DBMS.pptx
Introduction to DBMS.pptx
SherinRappai
 
Input_Output_Organization.pptx
Input_Output_Organization.pptxInput_Output_Organization.pptx
Input_Output_Organization.pptx
SherinRappai
 

More from SherinRappai (20)

Extensible markup language ppt as part of Internet Technology
Extensible markup language ppt as part of Internet TechnologyExtensible markup language ppt as part of Internet Technology
Extensible markup language ppt as part of Internet Technology
 
Java script ppt from students in internet technology
Java script ppt from students in internet technologyJava script ppt from students in internet technology
Java script ppt from students in internet technology
 
Building Competency and Career in the Open Source World
Building Competency and Career in the Open Source WorldBuilding Competency and Career in the Open Source World
Building Competency and Career in the Open Source World
 
How to Build a Career in Open Source.pptx
How to Build a Career in Open Source.pptxHow to Build a Career in Open Source.pptx
How to Build a Career in Open Source.pptx
 
Issues in Knowledge representation for students
Issues in Knowledge representation for studentsIssues in Knowledge representation for students
Issues in Knowledge representation for students
 
A* algorithm of Artificial Intelligence for BCA students
A* algorithm of Artificial Intelligence for BCA studentsA* algorithm of Artificial Intelligence for BCA students
A* algorithm of Artificial Intelligence for BCA students
 
Unit 2.pptx
Unit 2.pptxUnit 2.pptx
Unit 2.pptx
 
COMPUTING AND PROGRAMMING FUNDAMENTAL.pptx
COMPUTING AND PROGRAMMING FUNDAMENTAL.pptxCOMPUTING AND PROGRAMMING FUNDAMENTAL.pptx
COMPUTING AND PROGRAMMING FUNDAMENTAL.pptx
 
Clustering.pptx
Clustering.pptxClustering.pptx
Clustering.pptx
 
neuralnetwork.pptx
neuralnetwork.pptxneuralnetwork.pptx
neuralnetwork.pptx
 
Introduction to Multimedia.pptx
Introduction to Multimedia.pptxIntroduction to Multimedia.pptx
Introduction to Multimedia.pptx
 
Linked List.pptx
Linked List.pptxLinked List.pptx
Linked List.pptx
 
Stack.pptx
Stack.pptxStack.pptx
Stack.pptx
 
system model.pptx
system model.pptxsystem model.pptx
system model.pptx
 
SE UNIT-1.pptx
SE UNIT-1.pptxSE UNIT-1.pptx
SE UNIT-1.pptx
 
Working with data.pptx
Working with data.pptxWorking with data.pptx
Working with data.pptx
 
Introduction to PHP.pptx
Introduction to PHP.pptxIntroduction to PHP.pptx
Introduction to PHP.pptx
 
Aggregate functions in SQL.pptx
Aggregate functions in SQL.pptxAggregate functions in SQL.pptx
Aggregate functions in SQL.pptx
 
Introduction to DBMS.pptx
Introduction to DBMS.pptxIntroduction to DBMS.pptx
Introduction to DBMS.pptx
 
Input_Output_Organization.pptx
Input_Output_Organization.pptxInput_Output_Organization.pptx
Input_Output_Organization.pptx
 

Recently uploaded

GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
Sri Ambati
 
Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
Dorra BARTAGUIZ
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Product School
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
KatiaHIMEUR1
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
Elena Simperl
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
Cheryl Hung
 
Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*
Frank van Harmelen
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
Kari Kakkonen
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
91mobiles
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
Thijs Feryn
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
Product School
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
OnBoard
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
Alison B. Lowndes
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
ThousandEyes
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
Alan Dix
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
James Anderson
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
DanBrown980551
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
UiPathCommunity
 
Generating a custom Ruby SDK for your web service or Rails API using Smithy
Generating a custom Ruby SDK for your web service or Rails API using SmithyGenerating a custom Ruby SDK for your web service or Rails API using Smithy
Generating a custom Ruby SDK for your web service or Rails API using Smithy
g2nightmarescribd
 

Recently uploaded (20)

GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
 
Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
 
Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
 
Generating a custom Ruby SDK for your web service or Rails API using Smithy
Generating a custom Ruby SDK for your web service or Rails API using SmithyGenerating a custom Ruby SDK for your web service or Rails API using Smithy
Generating a custom Ruby SDK for your web service or Rails API using Smithy
 

Rendering Algorithms.pptx

  • 2. What is rendering Rendering is the process involved in the generation of a two-dimensional or three-dimensional image from a model by means of application programs. Rendering is mostly used in architectural designs, video games, and animated movies, simulators, TV special effects and design visualization. The techniques and features used vary according to the project. Rendering helps increase efficiency and reduce cost in design. RENDERING ALGORITHM 2
  • 3. Categories of rendering 3 • There are two categories of rendering: pre-rendering and real-time rendering. The striking difference between the two lies in the speed at which the computation and finalization of images takes place. • Real-Time Rendering: The prominent rendering technique using in interactive graphics and gaming where images must be created at a rapid pace. Because user interaction is high in such environments, real-time image creation is required. Dedicated graphics hardware and pre-compiling of the available information has improved the performance of real-time rendering. • Pre-Rendering: This rendering technique is used in environments where speed is not a concern and the image calculations are performed using multi-core central processing units rather than dedicated graphics hardware. This rendering technique is mostly used in animation and visual effects, where photorealism needs to be at the highest standard possible.
  • 4. Computational techniques 4 • For these rendering types, the three major computational techniques used are: Ray Casting Ray Tracing Shading
  • 5. Ray Tracing • Ray tracing is a rendering technique that can realistically simulate the lighting of a scene and its objects by rendering physically accurate reflections, refractions, shadows, and indirect lighting. • Ray tracing generates computer graphics images by tracing the path of light from the view camera (which determines your view into the scene), through the 2D viewing plane (pixel plane), out into the 3D scene, and back to the light sources. As it traverses the scene, the light may reflect from one object to another (causing reflections), be blocked by objects (causing shadows), or pass through transparent or semi-transparent objects (causing refractions). • All of these interactions are combined to produce the final color and illumination of a pixel that is then displayed on the screen. This reverse tracing process of eye/camera to light source is chosen because it is far more efficient than tracing all light rays emitted from light sources in multiple directions. 5
  • 6. • Another way to think of ray tracing is to look around you, right now. The objects you’re seeing are illuminated by beams of light. Now turn that around and follow the path of those beams backwards from your eye to the objects that light interacts with. That’s ray tracing. • The primary application of ray tracing is in computer graphics, both non-real-time (film and television) and real-time (video games). Other applications include those in architecture, engineering, and lighting design. 6
  • 8. Ray Tracing Fundamentals • Ray casting is the process in a ray tracing algorithm that shoots one or more rays from the camera (eye position) through each pixel in an image plane, and then tests to see if the rays intersect any primitives (triangles) in the scene. • If a ray passing through a pixel and out into the 3D scene hits a primitive, then the distance along the ray from the origin (camera or eye point) to the primitive is determined, and the color data from the primitive contributes to the final color of the pixel. • The ray may also bounce and hit other objects and pick up color and lighting information from them.
  • 9. • Ray casting is the most basic of many computer graphics rendering algorithms that use the geometric algorithm of ray tracing. Ray tracing-based rendering algorithms operate in image order to render three-dimensional scenes to two-dimensional images. • Geometric rays are traced from the eye of the observer to sample the light (radiance) travelling toward the observer from the ray direction. The speed and simplicity of ray casting comes from computing the color of the light without recursively tracing additional rays that sample the radiance incident on the point that the ray hit. • This eliminates the possibility of accurately rendering reflections, refractions, or the natural falloff of shadows; however all of these elements can be faked to a degree, by creative use of texture maps or other methods. The high speed of calculation made ray casting a handy rendering method in early real-time 3D video games. 9
  • 10. • The idea behind ray casting is to trace rays from the eye, one per pixel, and find the closest object blocking the path of that ray – think of an image as a screen- door, with each square in the screen being a pixel. This is then the object the eye sees through that pixel. • Using the material properties and the effect of the lights in the scene, this algorithm can determine the shading of this object. The simplifying assumption is made that if a surface faces a light, the light will reach that surface and not be blocked or in shadow. The shading of the surface is computed using traditional 3D computer graphics shading models. • One important advantage ray casting offered over older scanline algorithms was its ability to easily deal with non-planar surfaces and solids, such as cones and spheres. If a mathematical surface can be intersected by a ray, it can be rendered using ray casting. Elaborate objects can be created by using solid modelling techniques and easily rendered. 10
  • 11. • Path Tracing is a more intensive form of ray tracing that traces hundreds or thousands of rays through each pixel and follows the rays through numerous bounces off or through objects before reaching the light source in order to collect color and lighting information. • Bounding Volume Hierarchy (BVH) is a popular ray tracing acceleration technique that uses a tree-based “acceleration structure” that contains multiple hierarchically-arranged bounding boxes (bounding volumes) that encompass or surround different amounts of scene geometry or primitives. • Testing each ray against every primitive intersection in the scene is inefficient and computationally expensive, and BVH is one of many techniques and optimizations that can be used to accelerate it. The BVH can be organized in different types of tree structures and each ray only needs to be tested against the BVH using a depth- first tree traversal process instead of against every primitive in the scene. • Prior to rendering a scene for the first time, a BVH structure must be created (called BVH building) from source geometry. The next frame will require either a new BVH build operation or a BVH refitting based on scene changes. 11
  • 12. • Denoising Filtering is an advanced filtering techniques that can improve performance and image quality without requiring additional rays to be cast. Denoising can significantly improve the visual quality of noisy images that might be constructed of sparse data, have random artifacts, visible quantization noise, or other types of noise. • Denoising filtering is especially effective at reducing the time ray traced images take to render, and can produce high fidelity images from ray tracers that appear visually noiseless. Applications of denoising include real-time ray tracing and interactive rendering. Interactive rendering allows a user to dynamically interact with scene properties and instantly see the results of their changes updated in the rendered image. 12
  • 14. 14
  • 15. Shading algorithm • Shading is referred to as the implementation of the illumination model at the pixel points or polygon surfaces of the graphics objects. • Shading model is used to compute the intensities and colors to display the surface. The shading model has two primary ingredients: properties of the surface and properties of the illumination falling on it. The principal surface property is its reflectance, which determines how much of the incident light is reflected. If a surface has different reflectance for the light of different wavelengths, it will appear to be colored. • An object illumination is also significant in computing intensity. The scene may have to save illumination that is uniform from all direction, called diffuse illumination. 15
  • 16. • Shading models determine the shade of a point on the surface of an object in terms of a number of attributes. The shading Mode can be decomposed into three parts, a contribution from diffuse illumination, the contribution for one or more specific light sources and a transparency effect. • Each of these effects contributes to shading term E which is summed to find the total energy coming from a point on an object. This is the energy a display should generate to present a realistic image of the object. The energy comes not from a point on the surface but a small area around the point. • The simplest form of shading considers only diffuse illumination: • where Epd is the energy coming from point P due to diffuse illumination. Id is the diffuse illumination falling on the entire scene, and Rp is the reflectance coefficient at P which ranges from shading contribution from specific light sources will cause the shade of a surface to vary as to its orientation concerning the light sources changes and will also include specular reflection effects. 16