While the mathematical modeling of optical phenomena, a computer calculation is often performed, confirming the conclusions made. To do this, a virtual computer model of the optical installation is created in the form of a 3D scene. Also, virtual scenes are often used in training when creating presentations. This paper describes the SphL library, which provides a convenient assignment of spherical lenses and the calculation of the interaction of linear polarized light rays with them. It is focused on applications that use ray tracing. It is known that light of any polarization can be represented on the basis of the mentioned one. The reflected and all rays passing through the lens that arise due to internal reflections are calculated from the ray incident on the scene object. The number of internal reflections is set by the parameter. All output rays are calculated based on the application of Fresnel’s equations and are characterized by intensity values and polarization parameters. In this version of SphL, the main objects at the end–user level are spherical lenses, since they are most often used in optic installations. They are constructed on the basis of the application of the set-theoretic intersection of geometric primitives: a half-space, a sphere, a cone, a cylinder and their complements to the scene space. An advanced user can build their own objects by analogy, for example, cylindrical lenses.
|Журнал||CEUR Workshop Proceedings|
|Состояние||Опубликовано - 2021|
|Событие||31st International Conference on Computer Graphics and Vision, GraphiCon 2021 - Nizhny Novgorod, Российская Федерация|
Продолжительность: 27 сен 2021 → 30 сен 2021
Предметные области OECD FOS+WOS
- 1.02 КОМПЬЮТЕРНЫЕ И ИНФОРМАЦИОННЫЕ НАУКИ