Video wird geladen...
Video konnte nicht geladen werden
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 Aufrufe • vor 1 Jahr •via X (Twitter)
6 Kommentare

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

Chris Wallisvor 1 Jahr
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 Senosyvor 1 Jahr
Why ray-cylinder?

Chris Wallisvor 1 Jahr
Lets me easily specify the thickness of the ray visualization

kachevor 1 Jahr
cool : )

UnityChina_No2vor 1 Jahr
太厉害了
