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

Preview:

Citation preview

NVIDIA FX Composer 2Shader Authoring for Everyone

Philippe Rollin

Aravind Kalaiah

© NVIDIA Corporation 2007

NVIDIA FX ComposerShader Development Ecosystem

Profiler

DebuggerCompiler

Authoring

Shader Library

© NVIDIA Corporation 2007

NVIDIA FX Composer 2Shader Authoring for everyone

User-Friendly Shader Authoring

Advanced Shader Performance Analysis

Deep Content Pipeline Integration

© NVIDIA Corporation 2007

User-Friendly Shader AuthoringShader Authoring for everyone

Technical Directors

DevelopersArtists

© NVIDIA Corporation 2007

User-Friendly Shader AuthoringCustomizable User Interface

Versatile panel docking system

Pre-defined layoutsArtistsShader authoringPerformance tuning

Define your own layouts

Customizable toolbars

© NVIDIA Corporation 2007

User-Friendly Shader AuthoringIntuitive Scene Manipulation

Improved selection & manipulation

Drag-and-drop light binding

Drag-and-drop texture binding

© NVIDIA Corporation 2007

User-Friendly Shader Authoringmental mill™ Artist Edition

Bundled with FX Composer 2

Visually author shaders

Export to FX Composer via CgFX or HLSL

FX Composer 2mental mill Artist Edition

© NVIDIA Corporation 2007

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 IntegrationRemapping, automation, and more

Remapping CapabilitiesSemantic And Annotations

Vertex Attributes

Automation CapabilitiesPowerful Python scripting support

Access every aspect of FX Composer in scripts

Plugin SDKCreate your own plugins for FX Composer 2

Many samples already available

© NVIDIA Corporation 2007

Deep Content Pipeline IntegrationComplete COLLADA Support

mental mill™

FX Composer 2 COLLADA

Autodesk Maya

Autodesk 3dsmax

Softimage|XSI

© NVIDIA Corporation 2007

Deep Content Pipeline IntegrationProduction Pipeline Example

Demo

Cg Shader Debugger

© NVIDIA Corporation 2007

Cg Shader Debugger

Shaders can have long and complex algorithms

Introducing Shader DebuggerDebug 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

Demo

© NVIDIA Corporation 2007

Cg Shader Debugger Overview

Shader being debugged

Screen shows the

debug variable or expression

Choose the local variable to visualize

List the parameters and the visible

variables

The output RGBA channel mapping

Enter the expression to visualize

Determine the variable value for a

chosen pixel

Navigate the code to the next/previous

location

Special modes to help understand

branches, loops, and function calls

List of functions in the shader

Choose the technique and pass to debug

List of shaders being

debugged

Choose the location at which to output

the variable

Kill Fragment modeSingle pixel debugging

mode

© NVIDIA Corporation 2007

Cg Shader Debugger Summary

Shader debuggingDebug CgFX and COLLADA FX Cg fragment shaders

Debug multiple shaders at once

Navigate the code using Shader Editor

Visualize variable values

Exciting FeaturesKill 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 ?

Downloadshttp://developer.nvidia.com/fxcomposer

Forumshttp://developer.nvidia.com/forums

Emailfxcomposer@nvidia.com

Please visit us Booth #513 for a lot more!

© NVIDIA Corporation 2007

PerfKit 5

The NVIDIA Developer ToolkitThe NVIDIA Developer Toolkit

GPU Programming Guide

ShaderPerf 2

PerfHUD 5

Conference Presentations

PerfSDK

GLExpert

gDEBugger

NV PIX Plug-in

SDK 10FX Composer 2

Melody

Texture Tools 2

Cg Toolkit

NVSG

Content CreationContent Creation Software Software DevelopmentDevelopment PerformancePerformance DocumentationDocumentation

Videos

mental mill Artist Edition

Books

© NVIDIA Corporation 2007

GPU Gems 3 Available Now!

SIGGRAPH Bookstore

Major Book Retailers

Includes chapters fromAdobe Systems

Apple

Crytek

Cornell University

Electronic Arts

Havok

Juniper Networks

Microsoft

SEGA

…and many more

Recommended