search technology reviews, news, features, group tests
Popular Searches:   video , dell , dvd
 |  Register
 |  Newsletters  | 
Sitemap  |  RSS
RSS
Monday November 23, 2009 5:17 AM AEST
Skip Navigation LinksPC Authority > Features > 3D Graphics
3D Graphics
»
TUTORIAL

3D Graphics

by David Fearon  on Mar 17, 2008
Tags: 3D | Graphics
"All monoscopic images can be made to look more real when 2D contrast enhancements are added. However, the best way to put local contrast enhancement into a 2D scene, is to pre-condition the image ..."
 
David Fearon introduces 3D models and rendering
Rendering realistic environments for films, games and 3D scenes is a complex art. New algorithms and techniques are constantly being developed, and the whole discipline is at the cutting edge of both computer science and mathematics. But most of the complexity of modern 3D systems comes from a need to get them drawn faster in the case of games, or more realistically in the case of 3D rendering. Whatever the 3D environment, the basic methods behind representing and displaying a 3D model are the same. In this feature, we provide a grounding in the basic ideas and the ways that real, solid objects can be represented and drawn with a computer.

The most basic representation of a 3D object is via a mesh model. This is the basis of the wireframe representations we’re all used to seeing, defined by a set of discrete points – referred to as vertices – and connected together to form the “solid” faces of the model. Mesh representations vary according to application, but for ease of rendering and calculation of lighting they’re usually organised as three- or four-sided polygons.

Perspective transformations
You’ve probably noticed that your monitor is a flat, two-dimensional surface. This means rendering a 3D model requires some trickery to get it looking three-dimensional. Artists have known for hundreds of years that the way to render 3D objects on a 2D screen is by using a perspective transformation. Parts of an object that are further away appear smaller, so the object needs to be warped accordingly. This is actually easy to do and just needs some basic geometric maths.

To transform a model from the abstract, 3D world space onto 2D screen space, all that’s needed is to project imaginary lines from the viewer’s eye, through the screen and to each vertex in turn. By calculating the point at which the line intersects the plane of the screen, the point is automatically transformed in perspective-correct screen space. Do that for both the horizontal and vertical planes and your 3D co-ordinates become 2D points that you can plot directly onscreen. The apparent field of view can be changed by varying the notional distance between the viewer’s eye and the screen. Decreasing it is equivalent to shortening the focal length of a camera, giving a wide-angle view and more exaggerated perspective. Increase it and the perspective is flattened for a telephoto view.

Copyright © 2009 Dennis Publishing
This article appeared in the February 2008 issue of PC Authority.
»
Email a Friend Email this
Print Page Print this
Tweet This Tweet this
Feedback Send us your tips


Ads by Google

Comments

Be the first to comment on this article.
Thoughts on this article? Add a comment below.
Login or register to submit a comment.
 

Top Stories

Box battle: Telstra takes on TiVo and Foxtel with T-Box trial in Melbourne
It's not quite Foxtel IQ and it's isn't TiVo either. The T-Box lets Telstra users watch movies and TV from the Bigpond site, as well as record and watch digital TV
 
5 More Free Linux Apps You Can't Do Without
More digital Swiss Army knife software, including Linux utilities and tools that are so useful you won't know how you ever did without them
 
Microsoft delivers Office 2010 public beta
Vendor details editions for Office 2010 along with application virtualisation for testing.
 


 
Intel
 
 
LogMeIn
 
 
Amazing Dell Coupons now available
 
Discover Apple