Back
Relevant Links

Cg Toolkit 1.2

 
 

Introduction

Welcome to Release 1.2.1 of the NVIDIA Cg Toolkit (March 2004). In this kit, you will find everything you need to help you take advantage of Cg, a high-level language for graphics programming. Cg will allow you to incorporate the stunning interactive effects into your DirectX and OpenGL applications. The components include:

  • NVIDIA Cg Compiler Release 1.2.1
  • CgFX Runtime
  • Cg User's Manual
  • Cg Language Specification

We have also produced The Cg Tutorial: The Definitive Guide to Programmable Real-Time Graphics. This book takes a tutorial-based approach to teaching Cg and high-level shading, and it comes complete with a standalone application that allows you to try out and modify the book's examples. To learn more about The Cg Tutorial, please visit the book's home page.

We hope that you will enjoy the exciting world of Cg programming.

Latest Cg Toolkit Features

Release 1.2.1 of the NVIDIA Cg Toolkit includes the following features and improvements (new features in bold):

  • Bug fixes and minor feature enhancements (please read the Release Notes for details)
  • Interfaces, a language construct that facilitates the creation of general, reconfigurable Cg programs
  • Unsized arrays
  • Parameter instances may be created and shared between multiple programs
  • Parameters may be marked as compile-time constants, leading to more efficient compiled code
  • Support for 14 profiles:
    • vs_1_1 for DirectX 8 and DirectX 9
    • vs_2_0 and vs_2_x for DirectX 9
    • ps_1_1, ps_1_2 and ps_1_3 for DirectX 8 and DirectX 9
    • ps_2_0 and ps_2_x for DirectX 9
    • arbvp1 [OpenGL ARB_vertex_program]
    • arbfp1 [OpenGL ARB_fragment_program]
    • vp20, vp30 [NV_Vertex_program 1.0 and NV_Vertex_program 2.0]
    • fp30 [NV30 OpenGL fragment programs]
    • fp20 [NV_register_combiners and NV_Texture_shader)
  • DirectX 9 and GeForce FX sample shaders
  • Over 80 sample shaders
  • Cg Effects Explained document 
  • Improved runtime functionality
    • Core runtime library for parameter management and loading programs
    • Runtime library for DirectX 8 based applications
    • Runtime library for DirectX 9 based applications
    • Runtime library for OpenGL based applications
  • Documentation updated 
  • CgFX beta support for DirectX 8, DirectX 9, and OpenGL
  • Additional compiler optimizations
  • Fixes for bugs in Release 1.1 (December 2002)

Important Installation Notes

Important: Please make sure to uninstall previous versions of the Cg Toolkit prior to installing the latest version.

Downloads

For your convenience, we have also provided these pieces separately.

Please note that if you are using any of our Cg content creation tools (3ds max Cg plug-in, Maya Cg plug-in, Maya CgFX Tools, or CgFX Viewer), you should use version 1.1 of Cg instead of version 1.2.1. 

Here is a list of downloads and a description of each:

Cg Compiler
Cg_1.2.1_Setup.exe
(~10.1 MB)
Updated: Apr. 8, 2004
The Cg Compiler, CgFX Runtime, Cg User's Manual, and Release Notes.
Documentation
(~1.9 MB)
Updated: Apr. 8, 2004
Download the documentation first to get the Release Notes and see what's in the latest version.
Cg 1.2 Release Notes
(~0.1 MB)
Updated: Apr. 8, 2004
Just the Release Notes for Cg Toolkit 1.2.1.
Downloads for Linux
NVSDK 6.0 for Linux
(~40 MB)
The new NVSDK 6.0 for Linux, including more than 20 Cg examples.
Cg_Linux.rpm
(~4.0 MB)
Updated: Apr. 8, 2004
Cg Compiler and runtime for Linux, RPM format.

Cg_Linux.tar.gz
(~2.3 MB)
Updated: Apr. 8, 2004
Cg Compiler and runtime for Linux, Tarball format.
Downloads for Mac OS X
Cg Compiler (.tar.gz)
(~3.1 MB)
Cg Compiler and runtime for Mac OS X (in .tar.gz format).
Cg Compiler (.pax)
(~3.1 MB)
Updated: Apr. 8, 2004
Cg Compiler and runtime for Mac OS X (in .pax format).

Documentation
Cg_Users_Manual.pdf
(~2.6 MB)
Updated: Feb. 24, 2004
The Cg User's Manual, which includes the Cg Language Specification in Appendix A.
Cg_Users_Manual_JP.pdf
(~2.7 MB)
The Cg User's Manual in Japanese, including the Cg Language Specification in Appendix A.
Cg_Specification.pdf
(~1 MB)
The Cg Language Specification only.
Cg Toolkit 1.1
Cg Toolkit 1.1 Version 1.1 of the Cg Compiler, CgFX Runtime, Cg Browser, Cg User's Manual, and Release Notes. This page also includes links to our various Cg content creation tools (plug-ins, CgFX viewer, etc...)


Driver Note: Most effects will run fine with version 53.03 drivers, though a couple may work better with a newer revision. As always, the most recent drivers are available from NVIDIA's public driver site.



 
 
 
 
LinkedInTwitterGoogle+FacebookReddit