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

Visiting Facebook friends in WebGL


Now that we have built our first application by acquiring a Facebook image and displayed it in WebGL, it is time to create a 3D user interface of our Facebook friends.

Prepare for lift off

As it often happens in programming when we are just grabbing a single item, such as an image, there is not a great deal of complexity. However, once we want to access two or more of our Facebook friends' images, we have additional issues, in particular, downloading multiple images simultaneously in the background. We begin by building on the previous example that focused on just the critical interfacing with Facebook. In this example, we will create the 2D flat plane for the texture images by specifying the vertices instead of importing a 3D mesh. Texture mapping our Facebook friends onto a 3D mesh such as a dog or cow would be fun, but let's leave the creativity to you—the designers.

Engage thrusters

Similar to the previous example, once Facebook verifies that the user is...

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