WebGL: Up and Running by Tony Parisi

By Tony Parisi

Get a brief creation to WebGL, the recent normal for 3D rendering on the net and a member of HTML5’s kin of applied sciences. With this hands-on consultant, you’ll study crucial WebGL improvement and creation recommendations, utilizing the JavaScript 3D engine Three.js. on the finish of the ebook, you’ll placed every little thing jointly and construct a whole 3D software with WebGL.

You don’t must be a video game improvement wizard or have 3D pics adventure to start. in case you use HTML, CSS, and JavaScript—and have familiarity with JQuery and Ajax—this e-book can assist you achieve a operating wisdom of WebGL via transparent and easy examples.
* comprehend center 3D images innovations and the way to enforce them in WebGL
* Create WebGL pattern pages as you research, and construct a racing online game program within the ultimate bankruptcy
* Get to understand the Three.js open resource library intimately
* boost operating wisdom of pix rendering, texturing, animation, interplay, and behaviors
* Seamlessly combine 3D pix with different content material at the web page
* research the instruments, dossier codecs, and strategies for constructing strong and safe functions in a creation setting

"WebGL: Up and working is a perfect advent to the area of 3D programming on the net. It’s well-written, transparent, and enjoyable. I want it were round while i began learning!"

—Giles Thomas, LearningWebGL.com

Show description

Read Online or Download WebGL: Up and Running PDF

Similar computers books

Fire in the Valley: The Birth and Death of the Personal Computer

Within the Seventies, whereas their contemporaries have been protesting the pc as a device of dehumanization and oppression, a motley selection of university dropouts, hippies, and electronics fans have been engaged in whatever even more subversive. keen about the belief of having computing device energy into their very own fingers, they introduced from their garages a hobbyist circulate that grew into an undefined, and finally a social and technological revolution.

STACS 2006: 23rd Annual Symposium on Theoretical Aspects of Computer Science, Marseille, France, February 23-25, 2006. Proceedings

This publication constitutes the refereed court cases of the twenty third Annual Symposium on Theoretical features of machine technological know-how, STACS 2006, held in Marseille, France, in February 2006. The fifty four revised complete papers offered including 3 invited papers have been rigorously reviewed and chosen from 283 submissions.

Compel (Vol. 23, 2004): Special Issue

Specific factor: chosen papers from PMAPS 2002 -Conference on Probabilistic equipment utilized to strength platforms, Naples 2002

Extra info for WebGL: Up and Running

Example text

LoadTexture() to load the texture from an image file, and then associate the resultant texture with our material by setting the map parameter of the material’s constructor. js is doing a lot of work under the covers here. It maps the bits of the JPEG image onto the correct parts of each cube face; the image isn’t stretched around the cube, or upside down or backward on any of the faces. This might not seem like a big deal, but if you were to code something like this in raw WebGL, there would be a lot of details to get right.

It is powerful, with several built-in object types and handy utilities. doob. js to write the examples in this book for a couple of reasons. First, I am currently using it in my own development projects and really like it. Second, it is quite popular among these engines and is the perceived leader. You may find other libraries 17 more to your liking, or better suited to the needs of your application. That’s OK. One size definitely does not fit all here. The other engines I mentioned are great and have their place.

We can think of the transform hierarchy as analogous to the DOM parentchild hierarchy, though the comparison is imprecise. As with DOM elements, adding an object to a scene adds all its children; likewise, removing an object removes its chil dren. However, a classic transform hierarchy in 3D graphics does not have the various layout capabilities of a DOM hierarchy, such as document-relative and absolute posi tioning. Instead, 3D transform hierarchies typically use parent-relative positioning, and we will exploit this capability to our advantage.

Download PDF sample

Rated 4.04 of 5 – based on 11 votes

Related posts