spacer

Webref WebRef   Sitemap · Experts · Tools · Services · Newsletters · About i.com

home / experts / 3d / lesson2

Lesson 2 - Building an Object - Part 1

Developer News
Metasploit 3.2 Offers More 'Evil Deeds'
'Thank You Apple. Seriously.'
The Buzz: BlackBerry App Store Seen Next

In Lesson 1, we were introduced to the basics of 3D space and began to feel our way around. We passed quickly over the idea that the objects we create are composed primarily of points this space--that they are 3-D coordinates designated (x,y,z), for example (1,3,5) or (999,0,-222). This tutorial takes this concept deeper, as we learn to construct the simplest possible object out of points in 3-D space.

But before we go on, let's take a moment to consider an important issue.

The vast majority of people first approaching 3-D graphics are intimidated by the math and geometry concepts. This is especially true of artists. How much of this stuff do we really have to understand in order to create?

We have become accustomed to a sharp line drawn between the arts and the sciences, but this was not always the case. The great Renaissance artists were both artists and scientists, as they had to be to master their art. These great painters and sculptors learned anatomy from the dissection of corpses, alongside the medical students. But their purpose was not to learn medicine, but rather how to represent the human body in art. They studied the geometry of Euclid, and they built and experimented with devices to explore perspective. These inventions became our modern day camera centuries later, but the Renaissance artists were exploring the physics of sight for artistic rather than scientific reasons.

Now, at the birth of 3-D computer graphics as an artistic medium, those who wish to master the tools and produce the art must return to the spirit of the Renaissance masters who delved into every field they needed for their art, without fears or prejudices. In any case, mathematical ideas that may seem dry and forbidding can suddenly seem beautiful and exciting as they are used to create our 3-D art.

Back to our subject. The reader will remember the 3D axes created in Lesson 1.

We are looking at the origin (0,0,0) from above and somewhat over to the left so that we can see the whole scene unobstructed. The blue axis is the vertical one, called y. Positive y values are up and negative ones are down. Let's assume that our axes extend exactly 1 unit from the origin. Thus the point (0,1,0) is at the top end of the y (blue) axis, and (0,-1,0) is at the bottom end. Take a moment to be sure you can imagine this before you continue.

The yellow axis is the horizontal one, called x. (1,0,0) is at the right tip of this axis and (-1,0,0) is at the left tip as we look from the front. The green axis is z, the depth axis. (0,0,-1) is at the far end away from us, while (0,0,1) is at the tip nearest to us as we look from the front. Notice that depth increases in this way as the z value decreases. This creates what is called a "right-handed" coordinate system, and is the most common convention in use today.

To Continue to Parts 2 and 3, Use Arrow Buttons

Comments are welcome


JupiterOnlineMedia

internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia

Jupitermedia Corporate Info


Legal Notices, Licensing, Reprints, & Permissions, Privacy Policy.

Advertise | Newsletters | Tech Jobs | Shopping | E-mail Offers

Solutions
Whitepapers and eBooks
IBM Whitepaper: Innovative Collaboration to Advance Your Business
Internet.com eBook: Real Life Rails
Avaya Article: Call Control XML - Powerful, Standards-Based Call Control
Tripwire Whitepaper: Seven Practical Steps to Mitigate Virtualization Security Risks
Internet.com eBook: The Pros and Cons of Outsourcing
Go Parallel Article: Scalable Parallelism with Intel(R) Threading Building Blocks
Internet.com eBook: Best Practices for Developing a Web Site
IBM CXO Whitepaper: The 2008 Global CEO Study "The Enterprise of the Future"
Avaya Article: Call Control XML in Action - A CCXML Auto Attendant
Go Parallel Article: James Reinders on the Intel Parallel Studio Beta Program
IBM CXO Whitepaper: Unlocking the DNA of the Adaptable Workforce--The Global Human Capital Study 2008
Adobe Acrobat Connect Pro: Web Conferencing and eLearning Whitepapers
Go Parallel Article: Getting Started with TBB on Windows
HP eBook: Storage Networking , Part 1
MORE WHITEPAPERS, EBOOKS, AND ARTICLES
Webcasts
Go Parallel Video: Intel(R) Threading Building Blocks: A New Method for Threading in C++
HP Video: Is Your Data Center Ready for a Real World Disaster?
Microsoft Partner Portal Video: Microsoft Gold Certified Partners Build Successful Practices
HP On Demand Webcast: Virtualization in Action
Go Parallel Video: Performance and Threading Tools for Game Developers
Rackspace Hosting Center: Customer Videos
Intel vPro Developer Virtual Bootcamp
HP Disaster-Proof Solutions eSeminar
HP On Demand Webcast: Discover the Benefits of Virtualization
MORE WEBCASTS, PODCASTS, AND VIDEOS
Downloads and eKits
Microsoft Download: Silverlight 2 Software Development Kit Beta 2
30-Day Trial: SPAMfighter Exchange Module
Red Gate Download: SQL Toolbelt
Iron Speed Designer Application Generator
Microsoft Download: Silverlight 2 Beta 2 Runtime
MORE DOWNLOADS, EKITS, AND FREE TRIALS
Tutorials and Demos
IBM IT Innovation Article: Green Servers Provide a Competitive Advantage
Microsoft Article: Expression Web 2 for PHP Developers--Simplify Your PHP Applications
Featured Algorithm: Intel Threading Building Blocks - parallel_reduce
MORE TUTORIALS, DEMOS AND STEP-BY-STEP GUIDES
webref The latest from WebReference.com Browse >
Popular JavaScript Framework Libraries: An Overview · Controllers: Programming Application Logic - Part 2 · How to Use JavaScript to Validate Form Data
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
Choosing the Right Online Backup Provider · Mother Avaya Nurtures Her Technology Partners · Software as a Service a Winning Model for Hotspot Provider

and brought to you by webreference.com

Created: Mar. 4, 1997
Revised: Mar. 4, 1997

URL: http://webreference.com/3d/lesson2/