Home > News content

The programmer wrote the light tracing demonstration program with Windows Notepad: 30 frames per second

via:博客园     time:2020/5/23 12:53:37     readed:75

Ray tracing has become a hot word in the field of games at present. NVIDIA started to support hardware level real-time acceleration from RTX 20 series graphics cards. Amd recently upgraded the radeon rays 4.0 suite, and finally added ray tracing support for graphics cards in addition to the CPU.

In addition, the year-end after-sales of ps5 and Xbox series X will set off a wave of small upsurge.

In fact, the core of ray tracing is the calculation of complex geometric scenes such as illumination, reflection and shadow. Kyle Halladay, a senior programmer, wrote a very elementary ray tracing demonstration program with the Notepad provided by windows. With the help of DLL injection, memory scanning and other methods, the equivalent frame rate has also reached 30fps.

程序员用

Although it seems to be far from the picture of large-scale games, the basic idea of ray tracing has been fully reflected.

程序员用

China IT News APP

Download China IT News APP

Please rate this news

The average score will be displayed after you score.

Post comment

Do not see clearly? Click for a new code.

User comments