iWrote / path_tracer

simple C++ cpu-based raytracer
1 stars 0 forks source link

random notes #8

Open iWrote opened 4 years ago

iWrote commented 4 years ago

; if it doesn’t show up high in the execution time profile, it doesn’t need optimization until all the features are supported!

iWrote commented 4 years ago

i added envmaps :D

iWrote commented 4 years ago

Skyspheres have ugly stich artifacts in one hemisphere.

iWrote commented 4 years ago

Unless I adopt 4x4 matrices-homo coord OR quaternions the camera cannot look directly up at the sky or a cross product with global-up-vector produces a divide by zero later aka Crash.

Maybe add a manual check and set vectors by hand for now :/