FiringSquad: Home of the Hardcore Gamer - Games, Hardware, Reviews and NewsSubmit your own or view users' CPU overclocking results!

  
 Home   News   THE MATRIX   Deals   Hardware   Games   Features   Media   Products   Forums   FS China 
AddThis Social Bookmark Button

Home : Hardware : Video Cards : NVIDIA's Cg technology
» Join the Greatest Gaming Community NOW! (It's free)

Already a member? Login
 



Random Gallery >> 
Click to view high-res Image!
Crysis 3 April 2012 Debut Screenshots [5] (0)

Crank THIS sH!t up! - 3DforREAL (71) by nGAGE
ENTRY FOR CONTEST (4) by Alexander470
My Crank that S#!t up entry :) (15) by ZEZgames
2nd Entry for Crank That S#!t Up! (2) by CamoDaGreat
The Nvidia "Crank That S#!T Up" Quiz Show! (21) by mohawkade
Crank That PhysX UP! (10) by mohawkade
[FX] 3-Screen Effect - Guide (part-3) (0) by nGAGE
HOW I CRANK THAT S#!T UP!! (4) by nvidia4life
My Entry For The Contest. (6) by D4rk Force
My Crank That Sh#!t Up! entry :D (3) by chipmunk995

More Blogs >>




NVIDIA's Cg technology
June 13, 2002   Brandon Sandman Bell > [View My Other Articles]
Product Info | User Reviews | Article Images(8) | Image Gallery | Comments | Forum Thread
The rest of Cg


NVIDIA's Cg technology [ NVIDIA's robot @ 569 x 648 ] > View Full-Size in another window.
NVIDIA's robot

NVIDIA's Cg technology [ Nuts and bolts behind robot @ 1059 x 782 ] > View Full-Size in another window.
Nuts and bolts behind robot


The compiler

If the language itself is the nuts and bolts of the Cg programming environment, the Cg compiler is the heart and soul that makes it all happen. Once the program is written, the compiler can output code for DirectX or OpenGL. Since Cg is designed specifically for vertex and pixel shader programs, DirectX versions 8 and 9 are supported as well as OpenGL 1.4. The compiler itself is cross platform; in particular programs written for Windows, Linux, Macintosh, and Xbox are supported. And if all that isn’t enough, the compiler can create code for all GPUs that support DirectX 8 (or above) and/or OpenGL 1.4, making it very universal. In keeping with Linux tradition, NVIDIA has open-sourced certain components of the compiler, allowing content developers to add their own customizations as well.

NVIDIA's Cg technology [ API interfaces the hardware directly @ 640 x 477 ] > View Full-Size in another window.
API interfaces the hardware directly

NVIDIA's Cg technology [ Cg works with both APIs, which work with all hardware @ 539 x 480 ] > View Full-Size in another window.
Cg works with both APIs, which work with all hardware


Like NVIDIA’s unified driver architecture, the Cg compiler employs a unified compiler architecture that is forward and backward compatible with today’s current and tomorrow’s next generation of graphics cores. As a result, once the program is written, the compiler will automatically optimize the program for multiple generations of graphics chips with no intervention from the programmer – the days of optimizing for one particular graphics core (future or present) are gone.

NVIDIA's Cg technology [ The Cg compiler is universal @ 800 x 523 ] > View Full-Size in another window.
The Cg compiler is universal

NVIDIA's Cg technology [ Face sample @ 1024 x 294 ] > View Full-Size in another window.
Face sample


The final components of the Cg toolkit are the Cg browser (a graphics interface for creating and modifying objects), the Cg standard library (a set of built-in functions dedicated to help the programmer with common computations), and a collection of pre-written Cg shaders that can be used for development as well as training.



Back! Page 1     Final Thoughts Next!
Blog + Share: Digg Del.icio.us Reddit SU furl • More: AddThis Social Bookmark Button
Send This Article to a Friend!  
Table of Contents
  Print Entire Article  

MATRIX CONTENT » RANDOM MEDIA BLOG More Blogs >>
No ratings yet
» Please rate this
Read this Media-Blog entry!» Whoz's Cranking that S#!T (13)
by whozthisguy (41) Talk with this user on their Shout Box (My other blogs) Posted 34 months ago


 Latest Headlines
South Park: The Stick of Truth VGA gameplay trailer (0)
New Hawken cinematic trailer heralds an open beta (0)
BioShock: Infinite VGA 2012 gameplay trailer (0)
New SimCity trailer highlights Multi-City gameplay (0)
Tomb Raider reboot gets new gameplay trailer (0)
Today's News >>
Today's Siteseeing >>


 Table of Contents


 Quick Fact
The Cg toolkit is currently in beta; the gold release is scheduled for later this year.

FiringSquad is powered by... Back to Top Site MapContact UsAdvertise With Us Privacy StatementAbout Us  
News RSSSiteseeing RSSArticle RSS   © 1998-2013 FS Media, Inc. All Rights Reserved