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

Mission accomplished


This project followed the old Hollywood saying "lights, camera, action." We deployed the most complex lighting in spot and point lights. Point lights are similar to lightbulbs; they shine in all directions, whereas spotlights have a direction with a beam-width radius of high intensity and a wider cut-off angle radius where the light fades out. Other lighting parameters include attenuation, where the light fades out over distance.

Night scenes deploy a black fog, also known as depth cueing, where objects that are more distant appear darker and thus give users a visual cue of depth. Dark scenes have intriguing designs because they focus our attention on key scene objects in the foreground. Fog is useful too because distant objects blend into the background rather than just disappearing past the far-clipping plane that cuts off the rendering of objects.

We also rendered partially transparent objects. The order of drawing partially transparent overlapping objects must be stacked...

lock icon
The rest of the page is locked
Previous PageNext Chapter
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