Factbites
 Where results make sense
About us   |   Why use us?   |   Reviews   |   PR   |   Contact us  

Topic: Cg programming language


Related Topics

  
  Cg programming language - Information, Resources, Links and Reference   (Site not responding. Last check: 2007-11-06)
Cg is based on the C programming language and although they share the same syntax, some features of C were modified and new data types were added to make Cg more suitable for programming graphics processing units.
Cg code is portable to a wide range of hardware and platforms, unlike assembly code, which usually depends on hardware and the platforms it's written for.
In addition to being able to compile Cg source to assembly code, the Cg runtime also has the ability to compile shaders during execution of the supporting program, this allows the runtime to compile the shader using the latest optimizations available for hardware that the program is currently executing on.
www.cyberpedia.net /info.php?title=Cg_programming_language   (830 words)

  
  Cg (programming language) - Wikipedia, the free encyclopedia
Cg is based on the C programming language and although they share the same syntax, some features of C were modified and new data types were added to make Cg more suitable for programming graphics processing units.
Cg code is portable to a wide range of hardware and platforms, unlike assembly code, which usually depends on hardware and the platforms it's written for.
Cg also features vector and matrix data types that are based on the basic data types, such as float3, float4x4, such data types are quite common when dealing with 3D graphics programming, Cg also has struct and array data types, which work in a similar way to C equivalents.
en.wikipedia.org /wiki/Cg_programming_language   (761 words)

  
 GameDev.net - Cg Bumpmapping
For example, a Cg vertex program probably needs the position of the current vertex and some matrix as input and is required to produce the modified position of the current vertex as output.
Similarly, a Cg fragment program probably needs the position of the current fragment and some color and/or texture parameters as input and is required to produce the color of the current fragment as output.
Cg programs are "compiled" into "assembly" code that is specific to the targeted GPU and the associated software driver.
www.gamedev.net /reference/articles/article1903.asp   (2729 words)

  
 3Ddrome - Tutorial - Cg Pixel Shaders in OpenGL
Cg ("C for graphics") is a high-level shader programming language developed by NVIDIA.
Cg allows you you to write one shader and use it with practically any API and GPU; the Cg compiler from NVIDIA can generate output in many of the low-level shader languages, including OpenGL's ARB_fragment_program language that's used for this article.
It's important to note, however, that not all low-level languages have the same feature sets, and some Cg programs that can be compiled into newer low-level languages may not compile into older low-level languages.
www.3ddrome.com /articles/cgshaders.php   (1235 words)

  
 nV News - NVIDIA Cg Toolkit Overview
Similar to the analogy I made between the FOCUS and COBOL programming languages, a single Cg shader instruction may result in a hundred or more lines of assembler code to be generated during the compile phase.
Perhaps the most powerful feature of the Cg language is that it will allow developers to enable even higher quality graphics which are capable of being hardware accelerated by today's graphics processors and those of tomorrow.
Cg, with its compiler and associated toolkit, will be an indispensable tool for the creation and implementation of pixel shaders and vertex shaders.
www.nvnews.net /articles/cg_toolkit/cg_toolkit.shtml   (1565 words)

  
 Shading language - Wikipedia, the free encyclopedia
A shading language is a special programming language adapted to easily map on shader programming.
Cg seems to have survived the introduction of the newer shading languages very well, mainly of its established momentum in the digital content creation area, although the language is seldom used in final products.
This is possibly the most successful language to date, mainly because of great pressure from Microsoft, combined with the fact that it was the first C-style shader language to be used for real-time rendering.
en.wikipedia.org /wiki/Shading_language   (998 words)

  
 NeHe Productions: OpenGL Lesson #47
The only way to run the vertex program on selected vertices is to either load/unload the vertex program for each individual vertex, or to batch vertices into a stream that are affected by the vertex program, and a stream that isn’t.
The output of a vertex program is passed to a fragment shader, regardless of whether you have implemented and activated a fragment shader.
The fourth parameter is the latest profile for the particular type of program (use a vertex profile for vertex programs, fragment profiles for fragment programs).
nehe.gamedev.net /data/lessons/lesson.asp?lesson=47   (2886 words)

  
 Nvidia gears up graphics tools for games | CNET News.com
The programming language, called Cg, was developed in collaboration with Microsoft and is similar to the software giant's series of C languages for writing Windows code, said Chris Seitz, Nvidia's manager of development tools.
Cg, released Thursday, will give game developers tools to write code for advanced graphics effects such as vertex shading and pixel shading--techniques that let programmers tackle long-standing graphics challenges such as rendering fur and grass.
The Cg Toolkit, which includes programming libraries and a compiler for writing specific instructions for Nvidia chips, is available now for developers to download.
news.com.com /2100-1040-935595.html   (546 words)

  
 Dr. Dobb's | The Cg Programming Language | September 1, 2002
Cg, short for "C for graphics," is a high-level C-like language designed to provide the features we take for granted on microprocessors and extend them to graphics coprocessors.
While, as a language, Cg lets you name your input variables anything you want, there is a catch—every single named input to your Cg program implies a snippet of application code to run-time bind to that exact variable name.
This means that if you want to use a Cg program someone else wrote, you have to figure out how to remap all of their named variables to your application framework.
www.ddj.com /184405176?pgno=1   (2672 words)

  
 Wired News: Animators Learn a Faster Language
Cg is a language to perform graphical instructions -- such as drawing, shading or coloring images -- with only a few lines of a C-like syntax.
Without Cg, custom programming of a 3-D graphics chip -- whether it's Nvidia's GeForce line or ATI Technologies Radeon line of chips -- had to be done in an assembler.
Depending on the shader, Cg could mean cutting 100 lines of assembly to one or two lines of Cg code, or as much as 1,000 lines of code down to a dozen lines, Vivoli said.
www.wired.com /news/digiwood/0,1412,53220,00.html   (821 words)

  
 How Cg favors NVIDIA products (at the expense of others) - Beyond3D Forum   (Site not responding. Last check: 2007-11-06)
Cg is still in beta though and that has been announced to change in future versions.
Of course it is reasonable to assume that Cg's current compiler is probably trying to optimize for Nvidia hardware, but with the documentation and open source of Cg available, it would probably be possible for other vendor's to create their own optimizations, if they choose to invest the resources into it.
Anyway, all that we need for Cg to come into widespread usage is for some other hardware vendor to create their own compiler that compiles to their own shader profiles.
www.beyond3d.com /forum/showthread.php?t=1214   (3462 words)

  
 cg - cg shrines
CG circle cg campground artwork, digitally cg shrine cg 125 made artwork, honda cg 110-125 singer what cg art userlookup is cg design cg sewing machine digital cg animation effects, or simply honda cg 125 hand anime cg toast drawn art saved on cg movies a computer.
Configuration uss ticonderoga cg 47 Guide, a document used cg design anime cg art to cg times detail 3d cg an environment cg picture shrines when deploying software to ensure that all pre-requisites and cg archive cg movie making dependancies are known
This cg picture is a disambiguation page, a list of pages jill fischer cg jung institute that otherwise might share the same escalation cg title.
www.infotechloco.com /Inf-Programming-C---E/Cg.html   (218 words)

  
 Death Fall | NVIDIA Introduces Cg -- C For Graphics
Cg is a high level programming language that enables content developers to create cinematic-quality real-time graphics easier and faster.
“Cg is a significant milestone for the computer graphics industry as it moves real-time 3D graphics programming a quantum leap closer to the programming model of cinematic rendering.
Cg will dramatically increase the speed at which increasingly sophisticated and exciting graphics features are adopted.
www.deathfall.com /article.php?sid=912   (976 words)

  
 Cg
The NVIDIA Cg Toolkit is the best way to take advantage of today's GPUs across multiple platforms and APIs.
Cg also comes with a suite of complementary tools, including plug-ins for artists (supporting Maya, 3ds max, and SoftimageXSI), runtime libraries, comprehensive documentation, and hundreds of shader examples.
The latest NVIDIA Cg Toolkit is designed to be your one-stop solution for shader development.
developer.nvidia.com /page/cg_main.html   (87 words)

  
 Clan MacGaming - NVIDIA Announces Cg   (Site not responding. Last check: 2007-11-06)
The NVIDIA Cg Toolkit will be available to developers attending "The Gathering 2", a conference in London on June 13-14, and for download at http://developer.nvidia.com/cg.
The Cg Language (C for graphics) is a high-level graphics programming language, also announced today, that provides content developers with a complete programming environment to ease and speed the creation of special effects and real-time cinematic quality experiences.
The resulting program is a highly efficient vertex or pixel shader achieving performance levels equal to or better than hand-coded graphics programs.
www.clanmacgaming.com /articles.php?read=1898   (1047 words)

  
 Cg - The Next Revolution in 3D Graphics
Cg is a new C-like high-level programming language for 3D graphics developers created by Nvidia with Microsoft's assistance, and provides higher level interfaces to Direct X and OpenGL.
Cg itself is actually composed of two main parts, the Cg Language Specification, and corresponding Cg compilers.
Cg was designed to provide high-level programming efficiency and ease of use to improve developer productivity, making it much easier to implement a wide range of powerful programmable shader effects.
www.extremetech.com /article2/0,3973,9220,00.asp   (764 words)

  
 Cg Momentum Increasing In The Developer Community - Beyond3D Forum   (Site not responding. Last check: 2007-11-06)
By rapidly integrating Cg into their OpenGL graphics engine in the days following Cg availability, IDV was able to deliver compelling special effects, such as realistic swaying trees, adjustable wind, dynamic shadows and running water on a very tight development schedule.
Emerging as the "C" for graphics, the industry-standard Cg Language Specification was developed in close collaboration with Microsoft Corporation and is compatible with Microsoft's recently announced High Level Shading Language for DirectX(9.0.
The Cg Language gives content developers a new level of abstraction, removing the need for them to program directly to the graphics hardware assembly language, and thereby more easily target OpenGL, DirectX 8.0 and DirectX 9.0.
www.beyond3d.com /forum/showthread.php?t=1259   (965 words)

  
 Cg examples for Linux   (Site not responding. Last check: 2007-11-06)
Cg, C for Graphics, is a high-level language which allows programmers to combine the inherent power of the GPU (Graphics Processing Unit) with a language that makes GPU programming easy...
You can compile your Cg shader program using the cgc compiler to be sure that the Cg program compiles without errors.
Cg addresses this issue by introducing the concept of language profile.
www.csit.fsu.edu /~blanco/Cg/Cg_projects.htm   (588 words)

  
 Introduction to Computer Programming - TurtleTalk Commands
CG Erases (cleans) everything that the turtle has drawn on the graphics area (ClearGraphics).
In our programs, we moved the turtle and then turned it, moved it, then turned it, moved it then turned it,...
But, as our TurtleTalk programs get bigger and more complicated, it would be nice if we had a TurtleGraphics program that could read a file containing TurtleTalk commands and execute them as it reads the file.
www.bfoit.org /Intro_to_Programming/TT_Cmds.html   (1334 words)

  
 Cg: A System for Programming Graphics Hardware in a C-like Language   (Site not responding. Last check: 2007-11-06)
We present a programming language and a supporting system that are designed for programming these stream processors.
The language follows the philosophy of C, in that it is a hardware-oriented, general purpose language, rather than an application-specific shading language.
The language includes a variety of facilities designed to support the key architectural features of programmable graphics processors, and is designed to support multiple generations of graphics architectures with different levels of functionality.
www-csl.csres.utexas.edu /users/billmark/papers/Cg   (165 words)

  
 oreilly.com -- Online Catalog: Practical C++ Programming   (Site not responding. Last check: 2007-11-06)
Fast becoming the standard language of commercial software development, C++ is an update of the C programming language, adding object-oriented features that are very helpful for today's larger graphical applications.
Practical C++ Programming is a complete introduction to the C++ language for the beginning programmer, and also for C programmers transitioning to C++.
I was completely new to programming, and this book was the only one that did not put me to sleep because of it's personable style -- like talking to an enthusiastic programmer rather than a syntax robot.
www.oreilly.com /catalog/cplus   (3108 words)

  
 Gamasutra - Features - "Inexpensive Underwater Caustics Using Cg" Printer Friendly
Thus, a second objective is to showcase the conversion from regular OpenGL code to an implementation using the Cg programming language.
Implementation Using Cg Cg allows us to move all these computations to the GPU, using a C-like syntax.
Evidently the new calculations done per pixel are quite complex, but given the flexibility of higher level shading languages and the pixel processing power available in current generation hardware devices, they are trivial to implement and quick to render.
www.gamasutra.com /features/20030903/crespo_pfv.htm   (2797 words)

  
 NVIDIA & ATi, werkin' overtime   (Site not responding. Last check: 2007-11-06)
Cg is pitched as a high-level graphics programming language with compiler support for both OpenGL and DirectX.
Notably, the language was developed in collaboration with Microsoft, although NVIDIA is saying that the basic code language will be available and customizable to other graphics chip manufacturers.
Enter Cg, a high-level "C"-like language that will provide greater accessibility to the tricky bit twiddling.
arstechnica.com /news/posts/1024017065.html   (629 words)

  
 Articles - Features on ZDNet UK
Cg is almost guaranteed to be efficient in hardware, and any Renderman program can be translated to Cg, by hand or by a tool that someone's developing.
Not the same code base, but it's the same language specification, as C is C then Cg is Cg.
The only thing they'll notice is that because Cg compiles to run in hardware, artists won't have to worry whether it's preview or final render, because it'll all be done in hardware.
resources.zdnet.co.uk /articles/features/0,1000002000,2118407,00.htm   (1516 words)

  
 Gaming and Computer Graphics projects
Some sample code to do environment mapping using the Cg GPU programming language.
Program shows a animated environment mapped Ogre inside a environment mapped sphere.
Some helper functions for loading/binding/unbinding Cg shaders can be found here.
www.cfar.umd.edu /~gsrao/cg2.htm   (364 words)

  
 Otaku, Cedric's weblog: A programming language for 2010
The title of the presentation is actually misleading, because the topics addressed by Sweeney in his presentation are not exactly about the next programming language but more a reflection on the programming requirements of the video game industry with hard number and real code.
What he means is that languages do have integers, of course, but most of the time, users really want a very distinct subset of integers (iterating over a loop, bounding an array, verifying certain conditions) and that if these constraints were enforced by the language, a lot of bugs could be avoided.
I find it strange that much of the language features he calls have been available to those programming in Ada since the early 80's yet there is no mention of Ada.
beust.com /weblog/archives/000375.html   (2191 words)

Try your search on: Qwika (all wikis)

Factbites
  About us   |   Why use us?   |   Reviews   |   Press   |   Contact us  
Copyright © 2005-2007 www.factbites.com Usage implies agreement with terms.