Перейти к содержанию
ИГРЫ · ОБЗОРЫ · БАЗА ДАННЫХ
Форум

Физическая основа извлечения исника: модель, противоположная реальному пути исника

Опубликовано:

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

The Forward Ray Tracing method is a model in which rays are assumed to be emitted linearly from a light source and to be reflected or refracted by objects before reaching the eye. The way we perceive the real world corresponds to this model. 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 value of t greater than 0 is returned. Otherwise, t is 0. Based on 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 an iterative algorithm with the desired depth value.

Choose Gamer24H as a preferred source on Google

This explanation is adapted from Wikipedia and is available under CC BY-SA 4.0.

Related Article: Star Wars Galactic Racer devs prototyped its roguelite progression as a board game →
Source: Wikipedia (Wikipedia) ↗
Спросить / обсудить на форуме
СООБЩЕСТВО / ОБСУЖДЕНИЕ

Присоединяйтесь к обсуждению

Поделитесь мнением

Искать на Gamer24H

Введите не менее 3 символов.

Исследовать

ВНЕШНИЙ ВИД

Выберите цветовую тему

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

🌍 ВЫБОР ЯЗЫКА 25 Языков
🔍