You are on page 1of 23

®

COLLADA for PLAYSTATION 3

z Every SDK needs a file format for geometry


z For examples and tools
z For development

z No file format covered all the Next-Gen features


z Multiple texture sets and values per vertex
z Polygons, triangles, tri strips and fans
z Animation, skinning, blending, morphing
z Shaders, effects
z Physics

z COLLADA was designed to solve this


z Not just for PS3, but also for the whole industry
Public Domain vs. PS3 SDK
z COLLADA is built from standard XML
z Specification and XML Schema available on the Khronos web site
z Open Source COLLADA DOM library
z Plug-ins for many products available on collada.org
z 3dsMax, Maya, XSI, Blender, Agent FX, FCOLLADA
z Registered PS3 developers have extra tools
z PSGL
z OpenGL | ES for PS3
z Cg 1.5 API – public beta release scheduled 04/06
z PSGL’s Cg API Extension for PS3
z COLLADA_RT – public release scheduled 05/06
z COLLADA Scene Importer/Renderer for PS3 / PC
z COLLADA_FX Loader - public release scheduled 05/06
z Effects Loader for PS3/PC
z FX Composer 2.0 - will be publicly released within ‘06
z COLLADA Effects Authoring Tool on PC
COLLADA is XML
Schema and Specification

z The XML Schema document


z Formally defines the format
z Tools automatically generated from the schema
z The schema is the authoritative source

z The Specification document


z Explains interpretation and design goals
z Free from the Khronos website
z English and Japanese versions
Importers and Exporters

Import Export

MAYA 9 9
XSI 9 9
3DS Max 9 9
Developing COLLADA tools
z COLLADA DOM Library – by SCEA
z DOM stands for Document Object Model
z C++ Classes automatically generated from Schema
z Read, modify and write COLLADA documents
z Open Source, available on Sourceforge
z FCOLLADA library – by Feeling Software
z Feeling COLLADA library, open source
z Higher level API to ease importing COLLADA
z Used for the 3dsMax and Maya plug-ins
z Feeling Software available for contract work
DEMO

z Everything we are demonstrating will be


available for you to use very shortly after GDC!

z No tricks, no pre-generated files!

z Emphasis here is on toolchain and interchange


COLLADA
Geometry

CgFX
FX COLLADA Scene
with FX
Composer
COLLADA FX

FX Game Conditioner
Binary

PS3
Geometry
FX
Composer

Effect DCC Scene


Library with FX
Application

FX Game Conditioner
Binary

PS3
Content from DCC

z Materials are originally bound to polygon groups in DCC


tool and exported as COLLADA documents.

z Scene Geometry is imported into FXComposer 2.0


z Effects are imported or created
z Assigned to Materials
z Shader values tweaked
z Texture assigned as parameters

z Result is a single COLLADA document that describes


everything
z Geometry, animations and scenegraph
z Materials, effects and bindings
FX Composer 2.0

z Edit and debug shaders


z Package shaders into multipass effects
z Set default material parameters
z Assign textures parameters
z Export all as COLLADA
z Option 1. Export the original COLLADA Scene data
from DCC including FX.
z Option 2. Export FX Library for import of FX into DCC.
z Full Scene with FX exported from the DCC tool.
Package and Execute on PS3

z A conditioner converts the COLLADA FX part of


the COLLADA document to our binary FX
engine format.
z Shader paths replaced by our PS3 shader paths.
z Written as big-endian binary for the PS3
z Geometry should be binary as well for an actual game.
z COLLADA is meant for interchange not for final loading
as game asset.
z However, for this demo we are still loading native
COLLADA for Geometry and Scene.
z Live, nude game development!
DEMO AGAIN

z Edits are faithfully interchanged and passed


down the pipeline
XSI COLLADA Support

z XSI COLLADA FX Support


z ( COLLADA/COLLADA FX Demo Video )
z XSI import of COLLADA Scene Geometry.
z Creation/Import/Binding and Tweaking of COLLADA
FX materials parameters.
z Export of COLLADA scene with COLLADA FX
z Import into FX Composer 2.0
Maya COLLADA Support

z Maya COLLADA FX Support


z ( COLLADA/COLLADA FX Demo Video )
z Maya support for import of COLLADA Scene
Geometry.
z COLLADA FX Material Creation and Tweaking.
z Export of COLLADA scene with FX
3dsMax COLLADA Support

z 3dsMax COLLADA FX Support


z ( COLLADA/COLLADA FX Demo Video )
z Full HLSL as well as Cg profiles maintained.
z Max support for import of COLLADA Scene Geometry.
z COLLADA_FX materials creation/import/binding and
tweaking.
z Export of COLLADA scene with FX
z Import into FXComposer 2.0
Demo of Mad Mod Mike

z Here is that character displayed with


COLLADA_FX
z Same COLLADA Data as used in Demo Videos
z Some of the previous Effects have been assigned in
FXC.
z Notice some of the effects from the first demo.
COLLADA for NextGen Models

z Many effects on a model


z Normal maps, shadow maps, specular maps, skin,
hair, reflections, etc.

z 100K+ poly models imported in seconds


z XML is not slow, but COLLADA aimed at production
not delivery

z Shader bindings included in the COLLADA


document
COLLADA Physics on PS3

z COLLADA can describe settings for physics


simulators
z First interchange format for physics

z COLLADA PhX describes


z Rigid bodies
z Hierarchical, simplified collision bounds
z Constrained jointed models
z Multiple simulation scenes
COLLADA Physics on PS3

z Ageia for PS3


z Full port of Ageia Physics API available for use on
PS3.

z Feeling Software’s Nima COLLADA PhX


z Creation and Export of Rigid Bodies
z Creation and Export of Constrained Jointed Nodes

z PS3 COLLADA Physics Demo


z By Feeling Software
z Using Ageia for PS3 API
SUMMARY

z COLLADA 1.4 is ready for production


z Open Source licensed libraries
z Free importers and exporters
z 1000s of users already
z Standard part of the PS3 toolchain

z Visit the COLLADA website

http://www.khronos.org/collada/

You might also like