jrenner / kotlin_raytracer

real-time raytracer written in Kotlin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Raytracer demo - written in Kotlin

image

This is a real time raytracer (real time as long as your CPUs can keep up)

It renders in parallel taking advantage of multiple CPUs, dividing up the work into horizontal lines.

The renders from the ray tracer are written to a texture which is then displayed as a Sprite in an OpenGL window using libGDX

Youtube video

You can see a youtube video of the raytracer in action here: Video link

How to run

./gradlew desktop:run

Controls

W, A, S, D, Q, E - movement Escape - quit

Other

This is my attempt at creating a ray tracer by following some other examples online. There are likely some things I did wrong.

About

real-time raytracer written in Kotlin

License:Apache License 2.0


Languages

Language:Kotlin 100.0%