danielepanozzo / cg-old

44 stars 16 forks source link

1.3 What does "always point to the origin" mean? #110

Closed Bhavani-Bhamidipaty closed 5 years ago

Bhavani-Bhamidipaty commented 5 years ago

In 1.3, "always point to the origin" would mean that when camera is moved, the angle of the camera's viewing should change to compensate so that it continues to point at origin. Is this the correct interpretation of the requirement? Or does it simply say that at no point should the camera not face -z direction ?

danielepanozzo commented 5 years ago

The gaze (viewing) direction g in the camera transformation should be a vector pointing from the eye (e) to the origin of the world reference system (which is the center of your scene).

image
Bhavani-Bhamidipaty commented 5 years ago

Thank you for the clarification !