NVIDIA FX Composer 2: Shader Authoring for Everyone

Download Report

Transcript NVIDIA FX Composer 2: Shader Authoring for Everyone

NVIDIA FX Composer 2 Shader Authoring for Everyone Philippe Rollin Aravind Kalaiah

NVIDIA FX Composer Shader Development Ecosystem Compiler Shader Library Authoring 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

© NVIDIA Corporation 2007

Artists 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™ FX Composer 2

Autodesk Maya

COLLADA

Autodesk 3dsmax Softimage|XSI © NVIDIA Corporation 2007

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

Navigate the code to the next/previous location Single pixel debugging mode Kill Fragment mode Special modes to help understand branches, loops, and function calls Choose the location at which to output the variable Shader being debugged List of functions in the shader 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 Screen shows the debug variable or expression

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

FX Composer 2 mental mill Artist Edition Texture Tools 2 Melody SDK 10 Cg Toolkit NVSG

Performance

PerfKit 5 PerfHUD 5 PerfSDK GLExpert NV PIX Plug-in gDEBugger ShaderPerf 2

Documentation

Conference Presentations GPU Programming Guide Videos Books © NVIDIA Corporation 2007

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