NVIDIA FX Composer 2
Shader Authoring for Everyone
Philippe Rollin
Aravind Kalaiah
NVIDIA FX Composer
Shader Development Ecosystem
Shader Library
Authoring
Compiler
Debugger
Profiler
© NVIDIA Corporation 2007
NVIDIA FX Composer 2
Shader Authoring for everyone
User-Friendly Shader Authoring
Advanced Shader Performance Analysis
Deep Content Pipeline Integration
© NVIDIA Corporation 2007
User-Friendly Shader Authoring
Shader Authoring for everyone
Technical Directors
Artists
© NVIDIA Corporation 2007
Developers
User-Friendly Shader Authoring
Customizable User Interface
Versatile panel docking
system
Pre-defined layouts
Artists
Shader authoring
Performance tuning
Define your own layouts
Customizable toolbars
© NVIDIA Corporation 2007
User-Friendly Shader Authoring
Intuitive Scene Manipulation
Improved selection &
manipulation
Drag-and-drop light binding
Drag-and-drop texture
binding
© NVIDIA Corporation 2007
User-Friendly Shader Authoring
mental mill™ Artist Edition
Bundled with FX Composer 2
Visually author shaders
Export to FX Composer via CgFX or HLSL
mental mill Artist Edition
© NVIDIA Corporation 2007
FX Composer 2
Shader Performance Analysis
Supports COLLADA FX Cg, HLSL and CgFX effects
Analyze across multiple GPUs and drivers
Shader throughput
Register usage
Instruction counts
Branching performance
Intuitive Data Presentation
Graph and table view
Export data to Excel
© NVIDIA Corporation 2007
Deep Content Pipeline Integration
Remapping, automation, and more
Remapping Capabilities
Semantic And Annotations
Vertex Attributes
Automation Capabilities
Powerful Python scripting support
Access every aspect of FX Composer in scripts
Plugin SDK
Create your own plugins for FX Composer 2
Many samples already available
© NVIDIA Corporation 2007
Deep Content Pipeline Integration
Complete COLLADA Support
mental mill™
Autodesk Maya
FX Composer 2
COLLADA
Autodesk 3dsmax
© NVIDIA Corporation 2007
Softimage|XSI
Deep Content Pipeline Integration
Production Pipeline Example
© NVIDIA Corporation 2007
Demo
Cg Shader Debugger
Cg Shader Debugger
Shaders can have long and complex algorithms
Introducing Shader Debugger
Debug Cg Shaders (CgFX and COLLADA FX)
Analyze the control flow
Visualize the variable values
Debug individual pixels
Debug multiple shaders concurrently
Available in FX Composer 2.4
Seamlessly integrated to shader authoring pipeline
© NVIDIA Corporation 2007
Demo
Cg Shader Debugger
Overview
Single pixel debugging
mode
Kill Fragment mode
List of functions
in the shader
Navigate the code to
the next/previous
location
Special modes to
help understand
branches, loops, and
function calls
Screen
shows the
debug
variable or
expression
Choose the
location at which to
output the variable
Shader being
debugged
List of
shaders being
debugged
List the parameters
and the visible
variables
Choose the local
variable to visualize
© NVIDIA Corporation 2007
Enter the expression
to visualize
The output RGBA
channel mapping
Choose the technique and
pass to debug
Determine the
variable value for a
chosen pixel
Cg Shader Debugger
Summary
Shader debugging
Debug CgFX and COLLADA FX Cg fragment shaders
Debug multiple shaders at once
Navigate the code using Shader Editor
Visualize variable values
Exciting Features
Kill fragment: kill fragments that don’t reach the chosen
location
Debug individual pixels: Go to next or previous statement;
Trace loops and branches; step into and out of function
calls
© NVIDIA Corporation 2007
Conclusion
Most comprehensive Shader IDE
Accessible to a wide user base
Streamlined pipeline integration
Advanced debugging and performance analysis
© NVIDIA Corporation 2007
Questions ?
Downloads
http://developer.nvidia.com/fxcomposer
Forums
http://developer.nvidia.com/forums
Email
[email protected]
Please visit us Booth #513 for a lot more!
© NVIDIA Corporation 2007
The NVIDIA Developer Toolkit
Content Creation
Software
Development
Performance
Documentation
FX Composer 2
SDK 10
PerfKit 5
Conference Presentations
mental mill
Artist Edition
PerfHUD 5
Cg Toolkit
GPU Programming Guide
PerfSDK
Texture Tools 2
Melody
NVSG
GLExpert
NV PIX Plug-in
gDEBugger
ShaderPerf 2
© NVIDIA Corporation 2007
Videos
Books
GPU Gems 3 Available Now!
SIGGRAPH Bookstore
Major Book Retailers
Includes chapters from
Adobe Systems
Apple
Crytek
Cornell University
Electronic Arts
Havok
Juniper Networks
Microsoft
SEGA
…and many more
© NVIDIA Corporation 2007
Descargar

NVIDIA FX Composer 2: Shader Authoring for Everyone