Reader small image

You're reading from  WebGL HOTSHOT

Product typeBook
Published inMay 2014
Publisher
ISBN-139781783280919
Edition1st Edition
Concepts
Right arrow
Author (1)
Mitch Williams
Mitch Williams
author image
Mitch Williams

Mitch Williams has been involved with 3D graphics programming and Web3D development since its creation in the mid 1990s. He began his career writing software for digital imaging products before moving on as Manager of Software for Vivendi Universal Games. In the late 1990s, he started 3D-Online, his own company, where he created "Dynamic-3D", a Web3D graphics engine. He has worked on various projects ranging from interactive 3D medical procedures, online 3D training for the Department of Defense, creating one of the first 3D mobile games prior to the launch of the iPhone, and graphics card shader language programming. He has been teaching Interactive 3D Media at various universities including UC Berkeley, UC Irvine, and UCLA Extension.
Read more about Mitch Williams

Right arrow

Rendering a scene as a texture to view multiple cameras simultaneously


One of the more fascinating aspects of working in 3D computer graphics is not that we can recreate a photorealistic world, but that we can create worlds that cannot exist in the real world. We are unbound by physics, and can create one-way walls or walk through portals to get from one location to another in an instant. Clearly, it is not traditional architecture as we know it, nor should it be.

Until now, every 3D mesh we have sent to the drawScene() function has been drawn onto a canvas embedded inside a web page. But now, we are going to render the scene as a texture map, then apply that texture map onto a 3D mesh in our scene. Think of this as if we had a room with security cameras, and we wanted to show the scene from the security camera on a 3D mesh that was a television monitor.

Prepare for lift off

In rendering the scene to be later used as a texture map, we are essentially taking over part of the rendering process...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
WebGL HOTSHOT
Published in: May 2014Publisher: ISBN-13: 9781783280919

Author (1)

author image
Mitch Williams

Mitch Williams has been involved with 3D graphics programming and Web3D development since its creation in the mid 1990s. He began his career writing software for digital imaging products before moving on as Manager of Software for Vivendi Universal Games. In the late 1990s, he started 3D-Online, his own company, where he created "Dynamic-3D", a Web3D graphics engine. He has worked on various projects ranging from interactive 3D medical procedures, online 3D training for the Department of Defense, creating one of the first 3D mobile games prior to the launch of the iPhone, and graphics card shader language programming. He has been teaching Interactive 3D Media at various universities including UC Berkeley, UC Irvine, and UCLA Extension.
Read more about Mitch Williams