Search found 1 match
- Mon Jan 19, 2015 10:13 am
- Forum: General Development
- Topic: Pbrt 2: How does LookAt work?
- Replies: 1
- Views: 3438
Pbrt 2: How does LookAt work?
Currently I am reading the PBRT 2 book. Now I am a bit confused about the LookAt function. I placed a sphere at (0, 0, 0) – since I want to look at this sphere I want to place the eye point at (0, 0, -5) and want to look at (0, 0, 0). The up-vector should be (0,1,0) I tried this: BoxFilter b(1,1); f...