| You can post a new question with an answer using the following link:|
- 1 About COLLADA
- 1.1 What is COLLADA?
- 1.2 Where is more info about getting started with COLLADA?
- 1.3 What are the benefits of using COLLADA?
- 1.4 Is COLLADA "only" a new file format?
- 1.5 Why develop a new format?
- 1.6 What tools and companies support COLLADA?
- 1.7 What are the major features of this format?
- 1.8 What features are supported by the partner implementations?
- 1.9 Is COLLADA Open Source?
- 1.10 How does COLLADA help developers?
- 1.11 MPEG 4 and X3D are standards in 3D (using XML); will COLLADA provide interchange with those formats?
- 1.12 How can I participate in the design of COLLADA?
- 2 COLLADA and Game Development
- 3 Using COLLADA
- 3.1 How do I enable COLLADA in my art package?
- 3.2 Is it safe to manually edit a COLLADA document?
- 3.3 How can I make sure that my COLLADA document's content is valid?
- 3.4 Is there any sample code that shows how to load and render a COLLADA document?
- 3.5 What is the COLLADA DOM and how do I use it?
- 3.6 How do accessors work?
- 3.7 How do I represent skinning in COLLADA?
- 3.8 How do I correctly reference external documents from within a COLLADA document?
- 4 More questions and answers
What is COLLADA?
Where is more info about getting started with COLLADA?
What are the benefits of using COLLADA?
Previously, art assets created in one package were incompatible with other packages. You could not create an asset in one package and then use a different package to modify that asset. Developers had to write custom exporters and importers for each package, and freelancers were often forced to use the same package when contributing content to a project.
By having a standard format that is supported by many packages, it becomes possible to exchange assets among packages and to have greater flexibility in choosing the right tool for the job. A standard format also enables art assets to be easily formatted into compatible data regardless of which package they were created with.
COLLADA is also an extendable format, so you are not limited in any way by the features supported by COLLADA’s current format.
Is COLLADA "only" a new file format?
COLLADA is an XML schema that includes a common profile, which defines a list of features that every COLLADA partner has agreed to support. Using an XML schema enables the powerful capability of validating data, as well as the possibility of using many existing commercially available or public domain tools. The goal for COLLADA is to create a working group that enables collaboration among all the partners to standardize the representation of all features required by interactive applications.
The representation of each asset or related assets can be stored in a COLLADA document as elements defined by the COLLADA schema.
To help integrate support for COLLADA into applications, the COLLADA DOM API includes source code for loading and saving data. This code is available as open source. In addition, this API introduces the capability of using a database system, rather than a simple file, to store asset data, thus giving additional flexibility, such as database queries and asset management.
Why develop a new format?
The COLLADA team did not take lightly the burden of introducing another file format. Before the decision was made to start the COLLADA project, the team looked at all the existing formats and decided that, unfortunately, we needed to create a new one that would have a chance to become a standard.
Most existing formats are not open formats and have not been designed by a working group, but by a single company. That is a problem: Will all other companies agree to support a format that they have not participated in designing? But most importantly, what would happen if that one company were to disappear or decide to prioritize their support for different tools?
The main existing interchange technologies are not designed as a language, but rather as APIs (available under a license on a limited number of platforms). This enables data to be exchanged among applications that have licensed the technology, but it does not help at all to liberate the data from proprietary formats. How can one risk having one's vital assets stored in a format that one does not have sufficient control over, including the exact specifications for?
What happened to Kaydara (being acquired by Alias) and then Alias (being acquired by Autodesk) should remind everyone of the risks of using proprietary formats, and all of us should keep asking for COLLADA to be widely supported by all DCC companies and different tool makers.
What tools and companies support COLLADA?
Even better, source code is available for many of these COLLADA plug-ins and tools. Many importers and exporters are written and supported directly by the DCC tool vendors. Although we encourage the use of the MIT license, please check licensing for the specific exporter.
Major supporters of COLLADA include Sony Computer Entertainment, NVIDIA, ATI, Softimage, Autodesk, Google, and Intel. A number of game engines also support COLLADA, including OGRE, C4 Engine, AgentFX, Multiverse, PhyreEngine, and CryEngine.
What are the major features of this format?
The COLLADA schema defines the XML elements and attributes that enable COLLADA to represent many features using these XML building blocks. The COLLADA 1.4.x feature set includes:
- Mesh geometry
- Transform hierarchy (rotation, translation, shear, scale, matrix)
- Shaders (Cg, GLSL, GLES)
- Physics (rigid bodies, constraints, rag dolls, collision, volumes)
- User data
COLLADA 1.5.x adds:
- Boundary representations (B-reps)
- Geographic coverage
- Custom image initialization
- Math formulas
- GLES2 shaders
Additionally, the COMMON profile is the superset of all the common features that COLLADA supports across domains. At a minimum, all COLLADA-compatible tools need to be able to load and store such data, even if a given tool is not using the data.
Extensions are grouped into vendor- or application-specific technique profiles and are used for describing features where their design is not yet validated for COLLADA, but early exposure is desired.
What features are supported by the partner implementations?
There is, unfortunately, a difference between what the COLLADA format can handle and what is supported by the exporters and importers provided by the partners. The Khronos Group is working to provide a conformance test for COLLADA adopters to make it easier for developers to know what is supported by conforming implementations.
In addition, the format is extensible by nature. One can use the same COLLADA schema to represent additional information that was not considered by the team when designing the schema. The team can also extend the schema as needed.
Is COLLADA Open Source?
The COLLADA DOM uses the SCEA Shared Source License, allowing usage in commercial and noncommercial applications, without restrictions. Some partners are releasing their import/export source code using the MIT license, some have more restricted licenses, but all the code is available for download.
How does COLLADA help developers?
Without COLLADA, every developer has to create individual exporters to extract the data from the tools that artists are using. Developers then repurpose this data for their own game engines. This industry practice replicates the cost of data interchange within every development company.
With the increased data complexity expected from developers and periodic updates of the tools, this task is becoming increasingly difficult and resource consuming.
With COLLADA, we wanted to simplify this process. Developers can directly use the COLLADA exporters that are provided by the tool vendors. These are not only maintained by the people who know the most about their tools, but they are also readily available with the new releases. Upgrading to the latest art packages will become easier for application developers, which translates into saving time and money.
In addition, COLLADA provides an import path back to the modeler, so it is now possible to create a variety of tools that can interact with the data outside the modelers.
MPEG 4 and X3D are standards in 3D (using XML); will COLLADA provide interchange with those formats?
We will probably see more tools that transform COLLADA into various other formats. Some companies have already expressed their interest in producing such conversion tools. (update: COLLADA-to-X3D conversion tools are now available].)
How can I participate in the design of COLLADA?
COLLADA and Game Development
Does COLLADA compete with middleware?
We view COLLADA as a complementary technology, not competitive. COLLADA enables different middleware and tools to communicate with one another.
Is COLLADA devoted only to the video game industry?
COLLADA is focusing on providing solutions for interactive applications, which of course includes the game industry. It can also be used in the movie industry for previsualization tools and asset management (such as motion tracking), in real-time visual systems and other interactive applications (such as Google Earth), and in automation (with kinematics and B-reps).
Is COLLADA multiplatform?
COLLADA is not platform specific. It is publicly available and not restricted in any way. Our initiative is to make content creation easier for every developer on any platform. It is part of our strategy to help elevate the interactive entertainment industry to a next level of productivity.
Do PlayStation 3 developers use COLLADA?
The COLLADA feature set makes it a good basis for PlayStation 3 content creation. Many developers are currently using COLLADA to develop content for this next-generation platform.
Are COLLADA documents included as part of games?
COLLADA is not designed to be used as a final game format. COLLADA allows 3D content to be created in any 3D package, exported to COLLADA format and edited with a variety of tools from different vendors. Once the content is finalized, it is usually processed into whatever format is most efficient for the game engine and hardware platform being used.
How do I enable COLLADA in my art package?
Some art tools have COLLADA built in and some add it by installing a plug-in. Check with your tool's manufacturer or check our Products directory. Autodesk 3ds Max and Autodesk Maya have open-source plug-ins available on Sourceforge.net (use the 3.05 versions for production work and the "next gen" versions for testing). Softimage XSI has COLLADA support in their Crosswalk plug-in, which can be downloaded from the Softimage site.
Is it safe to manually edit a COLLADA document?
Yes. Since COLLADA is XML, all COLLADA documents are in human-readable text. Any XML editor or normal text editor can be used to edit a COLLADA document. It is recommended that you always validate COLLADA documents after manually editing them to insure that no mistakes were made.
How can I make sure that my COLLADA document's content is valid?
The easiest way is to use the COLLADA Coherency Test. There are prebuilt command-line versions of this program and source code available at Sourceforge.net. The Coherency Test runs an XML schema validation and then examines the document for other common errors that schema validation alone will not find.
Schema validation can also be done by other tools; see schema validation.
Is there any sample code that shows how to load and render a COLLADA document?
The COLLADA DOM package contains a simple COLLADA Viewer application that loads COLLADA documents and renders them using Open GL. The Viewer application can be built for almost any platform with Open GL including Windows, Mac, Linux, and PlayStation 3.
What is the COLLADA DOM and how do I use it?
See Portal:COLLADA DOM.
How do accessors work?
See Using accessors.
How do I represent skinning in COLLADA?