| Version 2 (modified by osg, 5 years ago) |
|---|
Collada
TracNav
- About
- Screenshots
- News
- Developer Blog
- Mailing Lists
- Forum
Documentation
- Getting Started
- Platform Specifics
- Tutorials
- Examples
- User Guides
- Programming Guides
- Reference Guides
- LatestDevelopments
- Porting
- CMake
- CDash
- CPack
- FAQ
- Tips And Tricks
- Maths
- Knowledge Base
- Trac Usage Examples
- TracGuide Documentation
- Software Patents
- Software Patents Europe
- Downloads
- Community
- Links
The Collada specification documents, forums, wiki, model bank and more can be found at the Official Collada website.
Collada features
| Collada features | Supported by OSG plugin |
| Geometry | Yes |
| VisualScene | Yes |
| Materials | Yes, profile_COMMON |
| Animations | No |
| PhysicsScene | No, OSG has no Physics support |
How to build
The OSG Collada plugin depends on the Open Source Collada DOM library
Option strings for Collada writer
| polygon | Use polygons instead of polylists for element |
| GoogleMode | Write files suitable for use by Google products. (Invert interpretation of A_ONE transparency as Google earth does) |
| NoExtras | Do not write any <extra> elements |
TODO/Wishlist
- Solve differences in drawables, DAE reader should place multiple collation elements into multiple primitivesets in a single geometry where possible (only when same material)
- solve differences in matrices
- Multitexture support
- Skinned mesh and generic animations using osgAnimation
- Profile_GLSL based on AMD's Collada OpenGL Effects Viewer
- Handling more <extra> to more closely mimic the intended lighting
- Add proper <asset> info
Example Collada dae models
- Test Model Bank Collection of test models from the Collada project
- Google 3D warehouse Rename the kmz to zip and unzip to find the dae models.
Of course you may also Google for data, but be aware that there are also a lot of invalid Collada files available on the web.
Collada data may be tested for corruption at three levels:
- Well-formedness; conform to the XML syntax rules. Most of the Collada XML data on the web will be well formed, because this is the easiest to catch by tools/parsers.
- Validity; conform to the semantic rules specified in the Collada XML schema.
- Coherency; all element referencing and validation not in the scope of an XML schema. Are all used materials/textures available? Do arrays contain correct data? etc.
To do this you can use the CoherencyTest command-line tool or Java based GUI-tool Collada Refinery
