Inspiration

SAO

What it does

Renders objects with ray tracing in real time.

How I built it

I used C++, SDL3 library, OpenGL, and OpenCL to calculate the trajectories and collisions of rays coming out of a camera and where to map the respective pixels on the screen.

Challenges I ran into

OpenGL-CL interop was slow.

Accomplishments that I'm proud of

Successfully traces rays in real time

What I learned

I learned how to write OpenCL kernels.

What's next for OpenVR

Make it more efficient and make rendering look nicer.

Built With

Share this project:

Updates