QUAD - realtime raytracing engine prototype (C++/OpenGL) - short demo

preview_player
Показать описание
QUAD is a real-time raytracing engine that I wrote a while back. It's an old student project I did back at Bournemouth University. Very challenging (pure C++/OpenGL programming) - this was the kind of project that was meant to make your life tough - and sure it did. Got a lot of help from my supervisor, Iann. This project was a form of experimantation - I tried to create a fully interactive, real-time ray-tracer that would ideally substitute rasterized OpenGL viewports and also give an artist a hint Lookdev/wise. Essentially - a rough previs tool. Obviously the deadline was short, so this is not finished by any means - but I had to stop there. Fun experience though, despite the fact, that OpenGL and raytracing is not a good combo at all, as I learned the hard way.
Рекомендации по теме
Комментарии
Автор

There's something funny going on with the depth sorting.

krytharn
Автор

0:24 Something odd happen with one sphere at background.

GameBacardi
Автор

Cool demo. Too bad the objects were static. It would have looked even 1000 times cooler, if some objects were slowly moving, bouncing, etc, with 1 or 2 extra light sources, while the camera was moving. Maybe next version :)

onlyposting
Автор

Im late but this is very good! Great work!

dmd
Автор

Cool, but why didn't you fix the depth sorting?

RemyNote
Автор

my man got some silent hill static on the background, watch your back dude
love the video tho

Link
Автор

what happened with the spheres at 0:25? looks like the depth is messed or something like that.

valentinorubio
Автор

Really nice. Id also like to write my own opengl ray tracer. Are there any sources you could recommend?

fahdv
Автор

I am learning opengl but I don't understand how to write a ray tracing engine in that. Can u explain your approach?

anonymoussloth
Автор

u should only use the closest hit not any hit on the ray :) if u use vulkan u can use the driver implemented dynamic acceleration structure and the new raytracing pipeline. Anyway great project

BossBeneBaby
Автор

Hi Daniel, Where should i begin if i want to build ray tracers like you ;)

behnam
Автор

Hey m8. I was wondering if you could help me a little bit. My PC is to under powered to do ray tracing. So I came up with a alternative solution to reflections, at the very least. It involves taking a stripped down camera at a very specific position and with very specific configurations that will take a photo every frame of what it sees, calculates the objects reflection warping based on the uv map and the normals of the models then maps that texture to the object. Contact me please if you're interested in the challenge.
Also you're a bloody genius m8!

finnwillow
Автор

Świetnie to działa, udostępniłbyś kod?

Lakasabasz
Автор

Wow man, that is so cool. Am also developing a real time ray tracer now it is super slow, how did you manage to make it run really fast?

reubenrk
Автор

Was the shadow casted by ray tracing or shadow volume?

lanchanoinguyen
Автор

00:25 01:52 02:52 02:59 How did you even manage to see the far sphere through the closer one there? AFAIK, computing intersections and keeping track of the closest one is about as easy as coding tasks get... The interactivity is nice and all, but that keeps irritating me.

achtsekundenfurz
Автор

Nice to know that poles mess with ray tracing :D

idkidk
Автор

Are you using any denoising algorithm?

torcher
Автор

Nice video. But your MacOS Dock gave me OCD fever.

pajeetsingh
Автор

what processor and graphics card were you running it on?

slgnssp