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
365
23
Designing Cameras for
WebGL Applications
Diego Cantor-Rivera and Kamyar Abhari
23.1 Introduction
An important consideration for any WebGL application is the implementation of the
camera. Cameras must perform a series of matrix transformations that move the world,
translating and rotating the geometry to obtain a vantage point. However, WebGL does
not provide a construct to represent cameras, and each developer needs to implement his
or her own. is is challenging, in particular, for a JavaScript developer with no experi-
ence in computer graphics: e math behind the operation of cameras is not developer
friendly and it is a source of conf ...
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