Skip to Main Content
WebGL Insights
book

WebGL Insights

by Patrick Cozzi
August 2015
Intermediate to advanced content levelIntermediate to advanced
416 pages
16h 58m
English
A K Peters/CRC Press
Content preview from WebGL Insights
380 23. Designing Cameras for WebGL Applications
23.7 Landmark-Based Navigation
Once a landmark is retrieved, the subsequent rendering call automatically reects
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.
Toachieve this, we can use any form of interpolation: linear, cosine, cubic, etc. e
basic idea is to interpolate the camera between its currentstate and the state stored in
the landmark. e interpolated state is accessible tothe renderingcycleso that the view
can be updated as the camera approaches the la ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Learning HTML5 Game Programming: Build Online Games with Canvas, SVG, and WebGL

Learning HTML5 Game Programming: Build Online Games with Canvas, SVG, and WebGL

James L. Williams

Publisher Resources

ISBN: 9781498716079