Jump to content

  • Log In with Google      Sign In   
  • Create Account


#ActualBacterius

Posted 14 December 2012 - 06:20 AM


hitInfo.surfaceNormal = normalize(hitInfo.hitPoint - c);


Are you sure? That's what my book says (Fundamentals of Computer Graphics, 3rd edition)

I'm positive. I mean, assuming your hitPoint function does what I think it does.

#1Bacterius

Posted 14 December 2012 - 06:15 AM


hitInfo.surfaceNormal = normalize(hitInfo.hitPoint - c);


Are you sure? That's what my book says (Fundamentals of Computer Graphics, 3rd edition)

I'm positive.

PARTNERS