Video Cards
  Home arrow Video Cards arrow Page 3 - The Graphics Pipeline
Dev Hardware Forums 
Computer Cases  
Computer Processors  
Computer Systems  
Digital Cameras  
Flat Panels  
Hardware Guides  
Hardware News  
Input Devices  
Memory  
Mobile Devices  
Motherboards  
Networking Hardware  
Opinions  
PC Cooling  
PC Gaming  
PC Speakers  
Peripherals  
Power Supply Units  
Software  
Sound Cards  
Storage Devices  
Tech Interviews  
User Experiences  
Video Cards  
Mobile Linux 
APP Generation ROI 
IBM® developerWorks 
Sun Developer Network 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
VIDEO CARDS

The Graphics Pipeline
By: DMOS
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 3 stars3 stars3 stars3 stars3 stars / 56
    2004-10-20

    Table of Contents:
  • The Graphics Pipeline
  • Pipelining in the GPU
  • The Illumination Stage
  • Making 3D into 2D

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    The Graphics Pipeline - The Illumination Stage


    (Page 3 of 4 )

    The following stage is "lighting" or "illumination". A scene would be awfully boring if it was completely dark and you couldn't see anything.  This is a fairly complicated stage, as not only do all the light sources have to be accounted for, but depending on how that lighting affects the models, changes their colour and how they look. In normal 3D modeling, perfect lighting (or as close as possible) is expected. This often involves a lot of waiting, as anyone who's taken a course in OpenGL can tell you. Even with a powerful system, allowing POV-Ray or the equivalent program to execute ray tracing with many lights and reflective surfaces will leave you with time to go catch a nap, grab a coffee, shop for groceries, and flip through some TV.

    GPU Pipeline

    Of course, the results are often outstanding. But if you had to wait two to 48 hours for each frame to render in your game, I think you'd find something else to do. As a result, lighting in games is more of a compromise between speed and eye candy. Usually a smaller number of lights are involved, and reflected lighting doesn't find itself involved too often.  Instead only lighting from discreet sources are calculated, be they global (sky out in the open), or local (a light bulb or flashlight). 

    So now our scene is turned to how the camera would see it, we've ditched models and triangles we can't see from this point of view, as well as lit our scene and given our models their colour (but no texture or shading, that comes later). This is the point where we cut down on what's being computed again.  While the whole scene is from our point of view, we can't possibly take in all that information on the screen.  A "view frustum" is created, which ends up looking like a widening tunnel.

    GPU Pipeline

    All the models outside of that frustum are discarded.  That's the easy part mathematically. The hard part is where you have parts of triangles that are on the border, part in the view and part outside of it. These need to be "clipped". 

    After determining which triangles need to fall under the knife, the part that remains in view is broken up into smaller triangles that do fit. This leaves more vertices and triangles for rasterization later in the pipeline, so the idea is to attempt to clip as few triangles as possible, and arrange the ones that are clipped as efficiently as possible. Different architectures use different methods for this, and hence different speed and quality come as a result. After this stage is completed, we're left with all the triangles we're going to use. 

    More Video Cards Articles
    More By DMOS


     

    VIDEO CARDS ARTICLES

    - HIS HD 2600 Pro
    - BFG 8800 GT OC
    - nVidia 8600 GT
    - 8500 GT Video Card
    - MSI NX8600 GT
    - Folding to Cure on the Edge with GPUs
    - PowerColor X1300 512MB GameFX
    - PowerColor X800 GTO 128MB 256-bit Video Card...
    - Intel Blurs GPU, Preparing for a Vista Vs. V...
    - Rosewill X800 XL
    - Physics Processing Unit
    - Sapphire X300SE
    - Inno3D GeForce 6200A
    - Video Card Overclocking
    - Chaintech SA6600G Video Card Review

     
    Best Practices for Windows Vista Migration Presentation
    Dell and Microsoft recently held a series of face-to-face seminars entitled, &qu....

     
    Creating a Culture for Code Reuse
    If you oversee development teams you know that like it or not proprietary and ex....

     
    Keys to Web Application Acceleration: Advances in Delivery Systems
    Accelerate Web apps by up to 5x. Ensure significantly faster access to the Web a....

     
    Optimizing Application Monitoring
    Tired of finding out from your customers that you're offline? This white paper e....

     
    Solaris to Solaris Migration -- Migrating applications from Sun SPARC to Dell PowerEdge R900
    This comprehensive Migration Guide reviews the approach that Principled Technolo....

     





    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway
    Stay green...Green IT