
380 23. Designing Cameras for WebGL Applications
23.7 Landmark-Based Navigation
Once a landmark is retrieved, the subsequent rendering call automatically reects
the newly set camera state. It is possible, though, to create visually appealing cine-
matic transitions by not setting the camera state immediately but rather incrementally.
Toachieve this, we can use any form of interpolation: linear, cosine, cubic, etc. e
basic idea is to interpolate the camera between its currentstate and the state stored in
the landmark. e interpolated state is accessible tothe renderingcycleso that the view
can be updated as the camera approaches the la ...