novalain / gi-ray

A Monte-Carlo ray tracer from scratch in C++
5 stars 1 forks source link

Uniform monte carlo and some other fixes #99

Closed novalain closed 7 years ago

novalain commented 7 years ago

Result should be somewhat correct but doesn't look good (especially when we divide by PDF, see comment in code). Maybe supersampling and importance sampling will improve the result, we can also try fiddle around with the parameters.

novalain commented 7 years ago

Test server fails because clang compiler doesn't support flag -fopenmp. Should probably add a flag to toggle between parallel and normal version, where normal is default.

... Or I can just put the flag in make allinone

Carlbaum commented 7 years ago

Dunno if I like that the normalize and sqrt intensity functions are gone.. :/