ENERGETICALLY CORRECT REFLECTANCE MODEL BASED ON THE CALCULATION OF THE ANGLE BETWEEN VECTORS
DOI:
https://doi.org/10.31649/1999-9941-2023-56-1-75-82Keywords:
Schlick BRDF, Phong BRDF, Blinn-Phong BRDF, glow attenuation, glow epicenterAbstract
Computer graphics allows to significantly increase the bandwidth of the information channel, through which two-way communication between the user and the computer is created, and therefore the value of graphical presentation of calculation results in industry and research practice is increasing. While creating the three-dimensional graphic images, a great attention is paid to realism, which makes it possible to adequately display objects and processes. During the formation of such images it is important to realistically reproduce colors, the gradation of which creates the effect of volume. During the reproduction the specular component of color the bidirectional reflectance distribution function is used, which shows how much light is reflected from the surface to the observer. The most common are the Blinn and Fong models. Unfortunately, these models do not comply with the law of conservation of energy, which certainly affects the realism of the formation of graphic scenes. The work provides a detailed analysis of the most widespread reflectance models. As a base for the modification, the distribution function is chosen, which uses an angle between the median vector and the normal vector. The article describes the search of the normalized coefficient formula for the reflectance model based on the calculation of the angle between the vectors that approximates the Blinn-Fong model. The features of the approximated model are analyzed. The initial data for finding the normalizing coefficient formula on the selected intervals were calculated. Using the Python gplearn library, a program for selecting the normalizing coefficient formula has been developed. The parameters of the genetic algorithm for selecting formulas have been adjusted. The approximation accuracy of the training set is calculated. A table of absolute errors of the hemispherical integral reflectivity is given. The resulting surface reflectance model can be used in highly realistic computer graphics systems to create three-dimensional scenes.
References
References
O. N. Romaniuk, Kompiuterna hrafika: Navchalnyi posibnyk. Vinnytsia, Ukraina: VNTU, 1999 [In Ukrainian].
Ye. K. Zavalniuk, O. N. Romaniuk, S. V. Pavlov, R. P. Shevchuk ta T. I. Korobeinikova, «Rozrobka fizychno korektnoi modeli vidbyttia druhoho stepenia», Optyko-elektronni informatsiino-enerhetychni tekhnolohii, vyp. 44, №2, s. 19 – 25. 2022 [In Ukrainian].
Ye. K. Zavalniuk, O. N. Romaniuk, V. V. Voitko, O. V. Romaniuk ta A. V. Snihur, «Rozrobka mo-dyfikovanoi modeli Shlika dlia vyznachennia spekuliarnoi skladovoi koloru», Informatsiini tekhnolohii ta kompiuterna inzheneriia, № 3, s. 4-12. 2022 [In Ukrainian].
O. N. Romaniuk, «Klasyfikatsiia dystrybutyvnykh funktsii vidbyvnoi zdatnosti poverkhni», Naukovi pratsi Donetskoho natsionalnoho tekhnichnoho universytetu, №9, s. 145–151, 2008 [In Ukrainian].
D. Guarnera, G. C. Guarnera, A. Ghosh, C. Denk and M. Glencros, «BRDF Representation and Acquisition», Computer Graphics Forum, vol. 35, №2, p. 625 – 650. 2016.
O. N. Romaniuk ta A. V. Chornyi, Vysokoproduktyvni metody ta zasoby zafarbovuvannia try-vymirnykh hrafichnykh obiektiv. Vinnytsia, Ukraina: UNIVESUM-Vinnytsia, 2006 [In Ukraini-an].
E. P. Lafortune and Y. D. Willems, «Using the modified Phong reflectance model for physically based rendering», Department of Computer Science, K.U. Leuven, Belgium, Technical Report CW 197, 1994.
O. N. Romaniuk, I. V. Abramchuk, S. A. Kyrylashchuk ta S. O. Romaniuk, «Modeliuvannia spekuliarnoho skladnyka koloru z vykorystanniam enerhetychnokorektnykh modelei vidbyvnykh zdatnostei poverkhon», Vcheni zapysky TNU imeni V. I. Vernadskoho. Seriia «Tekhnichni nauky», №3, s. 153–157. 2019 [In Ukrainian].
Downloads
-
PDF (Українська)
Downloads: 74