Treci la conținut
JOCURI · RECENZII · BAZĂ DE DATE
Forum

Baza fizică a înțelegerii: modelul care este urmărit în sens invers față de calea reală

Publicat:

The basic principle of ray tracing is to create a graphic that depicts the image of a scene by considering how light travels in the real world. In this method, the operations follow the path in reverse to that in the real world. In the real world, light rays emanate from a light source and illuminate objects. Luminos is reflected from or passes through transparent objects. The reflected light hits our eyes or the camera lens.

Forward Ray Tracing is a model that assumes that light rays are emitted from a light source in a straight line and that they are reflected or refracted by objects before reaching the eye. In the real world, only a small fraction of the billions of photons emitted from the light source reach the eye. When this model is implemented in a computer environment, a large number of unnecessary calculations will be performed for the photons that do not reach the eye. Therefore, it is very difficult to implement the Forward Ray Tracing method in a computer environment.

In ray tracing, the intersection of the ray with the surface is investigated. If there is an intersection, a t value greater than 0 is returned. Otherwise, the t value is 0. Using this calculated t value, the coordinates of the intersection point on the surface are determined. If the ray will be reflected or refracted from this intersection point and continue its path, the intersection point becomes the new starting point, i.e. R0. These rays are called Secondary Rays. Secondary rays are recalculated until they reach the light source using a recursive algorithm with the desired depth value.

Choose Gamer24H as a preferred source on Google
Întreabă / discută pe forum
COMUNITATE / DISCUȚII

Alătură-te conversației

Împărtășește-ți gândurile

Căutare pe Gamer24H

Introduceți cel puțin 3 caractere.

Explorează

ASPECT

Alege tema de culori

Automat mode follows your device and switches to Xbox, PlayStation, or Nintendo colors on matching stories. Your manual choice stays on this device.

🌍 ALEGE LIMBA 25 Limbi
🔍