9 Nisan 2017 Pazar

Ceng 795 / Raytacer Part 4


Previous Work

At the free weekend(the onen without homework), I impelemented 4-wide packet tracing with SSE2 instructions. At the end, dragon scene was being rendered in 100 ms in my i5 2500k cpu. I wanted to implement refraction and reflection with SSE but before that I wanted to add another improvement which I will talk about in my next blog. So this weeks implementation is not vectorized.

PART 4 Reflections & Refractions


I have completed the fourth part of the ray tracer project . Currently my ray tracer shades with perfect mirror reflections and refractions. This part was moch more tricky than the previous ones, as the debugging is much more hard. Here are the renders for the test scenes.










Timings

CornellBox Glass : 0.21 secs
Glass Plates : 0.31 secs
Horse and Mug : 1.37 secs
Killeroo Glass : 1.35 secs
Killeroo Half Mirror : 1.68 secs
Killeroo Mirror : 1.79 secs





Hiç yorum yok:

Yorum Gönder