raycasting. ppt

Ganesh801355 916 views 7 slides Sep 15, 2021
Slide 1
Slide 1 of 7
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7

About This Presentation

Ray casting is a rendering technique used in computer graphics and computational geometry.
It is capable of creating a three-dimensional perspective in a two-dimensional map.
Developed by scientists at the Mathematical Applications Group in the 1960.
it is considered one of the most basic graphic...


Slide Content

. RAY CASTING METHOD IN COMPUTER GRAPHICS Presented by : RASHUN KUMAR .R \

Introduction: Ray casting is a rendering technique used in computer graphics and computational geometry . It is capable of creating a three-dimensional perspective in a two-dimensional map . Developed by scientists at the Mathematical Applications Group in the 1960 . it is considered one of the most basic graphics-rendering algorithms . Ray casting makes use of the same geometric algorithm as ray tracing.

Working: The main principle behind ray casting is that rays can be cast and traced in groups based on certain geometric constraints . In ray casting, a ray from the pixel through the camera is obtained and the intersection of all objects in the picture is computed . Next, the pixel value from the closest intersection is obtained and is further set as the base for the projection .

Ray casting is distinct from ray tracing, with ray casting being a rendering algorithm which would never recursively trace secondary rays, while ray tracing is capable of doing so.

Advantage: Ray casting is fast, as only a single computation is needed for every vertical line of the screen . Compared to ray tracing, ray casting is faster, as it is limited by one or more geometric constraints . his is one of the reasons why ray casting was the most popular rendering tool in early 3-D video games.

Drawbacks: compared to ray tracing, the images generated with ray casting are not very realistic Due to the geometric constraints involved in the process, not all shapes can be rendered by ray casting.