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 ...
Get WebGL HOTSHOT now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.