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

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

Embed Size (px)

Citation preview

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

NVIDIA FX Composer 2Shader Authoring for Everyone

Philippe Rollin

Aravind Kalaiah

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

© NVIDIA Corporation 2007

NVIDIA FX ComposerShader Development Ecosystem

Profiler

DebuggerCompiler

Authoring

Shader Library

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

© NVIDIA Corporation 2007

NVIDIA FX Composer 2Shader Authoring for everyone

User-Friendly Shader Authoring

Advanced Shader Performance Analysis

Deep Content Pipeline Integration

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

© NVIDIA Corporation 2007

User-Friendly Shader AuthoringShader Authoring for everyone

Technical Directors

DevelopersArtists

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

© NVIDIA Corporation 2007

User-Friendly Shader AuthoringCustomizable User Interface

Versatile panel docking system

Pre-defined layoutsArtistsShader authoringPerformance tuning

Define your own layouts

Customizable toolbars

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

© NVIDIA Corporation 2007

User-Friendly Shader AuthoringIntuitive Scene Manipulation

Improved selection & manipulation

Drag-and-drop light binding

Drag-and-drop texture binding

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

© 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

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

© 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

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

© 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

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

© NVIDIA Corporation 2007

Deep Content Pipeline IntegrationComplete COLLADA Support

mental mill™

FX Composer 2 COLLADA

Autodesk Maya

Autodesk 3dsmax

Softimage|XSI

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

© NVIDIA Corporation 2007

Deep Content Pipeline IntegrationProduction Pipeline Example

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

Demo

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

Cg Shader Debugger

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

© 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

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

Demo

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

© 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

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

© 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

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

© NVIDIA Corporation 2007

Conclusion

Most comprehensive Shader IDE

Accessible to a wide user base

Streamlined pipeline integration

Advanced debugging and performance analysis

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

© NVIDIA Corporation 2007

Questions ?

Downloadshttp://developer.nvidia.com/fxcomposer

Forumshttp://developer.nvidia.com/forums

[email protected]

Please visit us Booth #513 for a lot more!

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

© 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

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

© 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