User Guide: DXSAS Sample Implementation 0.8
User Guide: DXSAS Sample Implementation 0.8
Instructions
This code sample demonstrates how to implement a DirectX Semantics and
Annotations (DXSAS) ScriptExecute parser for your engine. The sample is written
in C# using managed DirectX, and supports HLSL shaders in .fx files that conform
to the 0.8 version of the DXSAS standard. Several shaders are included with this
sample. Hundreds of additional shaders are distributed with FX Composer and in
the NVIDIA SDK.
Several commercial DCC applications also support creating/exporting shaders
compliant with the DXSAS specification. You can find the specification for
DXSAS 0.8 on the DirectX9c SDK.
To run the sample you will need to have installed the managed DirectX libraries,
and to compile it you will need the C# components of Visual Studio 2003.
Full source is provided for the ScriptExecute parser and the sample application.
At startup the sample will scan the media directory and find all scene and model .fx
files. The list boxes on the right enable you to change the selection of effects
displayed in the scene. Table 1 lists the control keys.
10/28/04 1
Fog Polygon Volumes User Guide
10/28/04 2
Notice
ALL NVIDIA DESIGN SPECIFICATIONS, REFERENCE BOARDS, FILES, DRAWINGS,
DIAGNOSTICS, LISTS, AND OTHER DOCUMENTS (TOGETHER AND SEPARATELY, MATERIALS)
ARE BEING PROVIDED AS IS." NVIDIA MAKES NO WARRANTIES, EXPRESSED, IMPLIED,
STATUTORY, OR OTHERWISE WITH RESPECT TO THE MATERIALS, AND EXPRESSLY DISCLAIMS
ALL IMPLIED WARRANTIES OF NONINFRINGEMENT, MERCHANTABILITY, AND FITNESS FOR A
PARTICULAR PURPOSE.
Information furnished is believed to be accurate and reliable. However, NVIDIA Corporation
assumes no responsibility for the consequences of use of such information or for any
infringement of patents or other rights of third parties that may result from its use. No license is
granted by implication or otherwise under any patent or patent rights of NVIDIA Corporation.
Specifications mentioned in this publication are subject to change without notice. This
publication supersedes and replaces all information previously supplied. NVIDIA Corporation
products are not authorized for use as critical components in life support devices or systems
without express written approval of NVIDIA Corporation.
Trademarks
NVIDIA and the NVIDIA logo are trademarks or registered trademarks of NVIDIA Corporation.
Other company and product names may be trademarks of the respective companies with which
they are associated.
Copyright
2004 NVIDIA Corporation. All rights reserved
NVIDIA Corporation
2701 San Tomas Expressway
Santa Clara, CA 95050
www.nvidia.com