Why I am getting a woman version head?
qhanson opened this issue · 1 comments
qhanson commented
qhanson commented
wow, I find it is related to the initialization of the zbuffer.
for(int i = 0; i <width*height; ++i ) zbuffer[i] = -std::numeric_limits<float>::max();
vs
for(int i = 0; i <width*height; ++i ) zbuffer[i] = std::numeric_limits<float>::min();
this version gives your the woman version...