Ray Tracing Algorithm Based on Screen Space Ray Marching

Authors

  • R. M. Pikulsky Taras Shevchenko National University of Kyiv

DOI:

https://doi.org/10.31649/1997-9266-2025-179-2-132-137

Keywords:

computer graphics, interactive rendering, ray tracing, screen space ray marching.

Abstract

Ray tracing is a very important operation in modern computer graphics which enables photorealistic rendering with advanced level of accuracy in simulating light transport and interaction with geometric objects. By tracing the path of individual light rays and determining how they bounce through the environment, rendering engines produce highly detailed and precise reflections, shadows, refractions and global illumination, which significantly enhances visual fidelity. This technology is an integral part of computer simulation and modeling software packages, animated films and cinematic effects production software and also computer games and other interactive graphics applications where the demand for realistic visuals continues to grow. Recent advancements in graphics hardware capabilities including hardware ray tracing support introduction increased ray tracing performance significantly. However, ray tracing remains a significant bottleneck in a majority of algorithms used in modern rendering engines. Due to that, ray tracing optimization is an important research direction nowadays.

This work is aimed at development of the screen space ray marching implementation capable of correct determination of the valid ray tracing query result when environment geometric information stored in the depth buffer is sufficient to guarantee it. The implementation of this method is presented that is both efficient and provides good precision of the results. Experimental testing is performed to validate the results and measure the performance of the implementation. Based on these observations, we prove the benefit of using our implementation in the hybrid ray tracing system, which runs screen space ray marching method to avoid executing costly hardware ray tracing for all the rays to be traced.

Author Biography

R. M. Pikulsky, Taras Shevchenko National University of Kyiv

Post-Graduate Student of the Chair of Mathematical Informatics

References

M. Pharr, W. Jakob, and G. Humphreys, Physically Based Rendering: From Theory to Implementation, 3rd ed., San Francisco, CA, USA: Morgan Kaufmann Publishers Inc., 2016.

J. Pineda, “A parallel algorithm for polygon rasterization’,” SIGGRAPH Comput. Graph., vol. 22, no. 4, pp. 17-20, 1988.

T. Whitted, “An improved illumination model for shaded display’,” Commun. ACM, vol. 23, no. 6, pp. 343-349, 1980.

M. McGuire, and M. Mara, “Efficient GPU Screen-Space Ray Tracing’,” Journal of Computer Graphics Techniques (JCGT), vol. 3, no. 4, pp. 73-85, 2014.

Y. Uludag, “Hi-Z Screen-Space Cone-Traced Reflections’,” in GPU Pro 5: Advanced Rendering Techniques (1st ed.), A K Peters/CRC Press, 2014, ch. 2.4, pp. 149-192.

T. Theoharis, G. Papaioannou, and A. Karabassi, “The Magic of the Z-Buffer,” a Survey, 01. 2001.

T. Willberger, C. Musterle, and S. Bergmann, “Deferred Hybrid Path Tracing: High-Quality and Real-Time Rendering with DXR and Other APIs’,” in E. Haines, T. Akenine-Möller. Ray Tracing Gems. Apress, Berkeley, CA, USA, 2019, pp. 475-492.

AMD FidelityFX Single Pass Downsampler (SPD). AMD GPUOpen. [Online]. Available: https://gpuopen.com/fidelityfx-spd/ .

Downloads

Abstract views: 10

Published

2025-04-25

How to Cite

[1]
R. M. Pikulsky, “Ray Tracing Algorithm Based on Screen Space Ray Marching”, Вісник ВПІ, no. 2, pp. 132–137, Apr. 2025.

Issue

Section

Information technologies and computer sciences

Metrics

Downloads

Download data is not yet available.