Now, it may surprise you to know that the techniques I've demonstrated in this column and the techniques used by the folks at Pixar in Toy Story have a lot in common. We certainly won't be covering everything the guys at Pixar know in this series of columns, but the material presented here will provide you with the foundation that all 3D computer graphic concepts rest upon. After all, 3D computer graphics, whether used in a movie like Toy Story or in an applet in one of my columns, begins with a model of the world (Toy Story required over 400) and ends with a picture on a computer screen.
With this in mind, let's begin.
While wire-frame drawings are a fit vehicle to introduce the topic of 3D computer graphics, they suffer from several shortcomings. In particular, they display only the edges of a model. Of course, that limitation is also one of their advantages. Edge information is faster to process and to display. Consequently, large wire-frame drawings often can be manipulated in real time, while more realistic drawings cannot.
None the less, the illusion of reality suffers. Real objects have surfaces, or faces, not just edges (you can't see through them as you can with a wire-frame object). The modeling environment we've been working with in previous months contained information about edges only. Remember, the basic unit of construction is the triangle. To add surfaces to our model, we simply need to draw solid triangles instead of just their edges.
No problem, right? Wrong. Unfortunately, the order in which we draw these triangles is very important. In fact, it is the most challenging part of creating the applet in this article.
The painter's algorithm provides us with one way to properly draw surfaces. Let's take a look at this technique.
Take a look at the following series of illustrations, which show a cube in the process of being drawn -- first the back face (A), then the two sides (B), and finally the front (C). The faces drawn last (those toward the front) obscure the appropriate parts of the surfaces drawn earliest (those toward the rear), creating a very natural effect. This is the essence of the painter's algorithm -- draw the farthest faces first and the nearest faces last.
A parametric feature based modeler is a Computer-aided design (CBy samtha on October 1, 2009, 3:57 amA parametric feature based modeler is a Computer-aided design (CAD) .... The ability to dynamically re-orient the model, in real-time shaded 3-D, ... Engineering...
Reply | Read entire comment
louis vuitton bagsBy Anonymous on September 23, 2009, 11:04 amI’d love to discuss louis vuitton outlet, but I am not sure if you really have one. This louisvuitton is so unique, and I never see it’s sold in the LV stores,...
Reply | Read entire comment
Re: How can I download it?By Anonymous on July 30, 2009, 6:17 amThe first and most obvious way would be to obtain the source and compile it yourself. However, another method involves going into your cache (Tools -> Internet Options...
Reply | Read entire comment
The applets don't work!By Anonymous on July 30, 2009, 6:12 amThe above two applets don't work! I opened up the Sun Java Console and for the first applet it says: java.lang.VerifyError: (class: Scene, method: elements signature:...
Reply | Read entire comment
How can I download it?By Anonymous on January 24, 2009, 3:37 amHow can I download it?
Reply | Read entire comment
View all comments