Loading video...

Video Failed to Load

Go Home

First prototype of visualizing rays. Fairly simple implementaton: store rays in UAV, then do ray-cylinder intersections in a CS. First bounce is green, second yellow, red for the rest. Shows how dumb my tracer is with very little importance sampling, but it's fun to watch!

23,768 views • 1 year ago •via X (Twitter)

6 Comments

internetNobody's profile picture
internetNobody1 year ago

Always dreamt about such feature but were too lazy to implement. Havent understood ray-cylinder part, during visualization stage?

Chris Wallis's profile picture
Chris Wallis1 year ago

I used a ray-cylinder intersection from Basically I save off all the rays into an array, and then trace against them in a for-loop treating the rays as cylinders with a fixed radius size. It's brute force but good enough for a prototype

Eyad Senosy's profile picture
Eyad Senosy1 year ago

Why ray-cylinder?

Chris Wallis's profile picture
Chris Wallis1 year ago

Lets me easily specify the thickness of the ray visualization

kache's profile picture
kache1 year ago

cool : )

UnityChina_No2's profile picture
UnityChina_No21 year ago

太厉害了

Related Videos