Maya2OSG package includes some scenes/models to test and validate the exporter and the importer.
This page describes the contents and the meaning of each test.
File:
test_geometry.ma
Features tested:
Exporter supports all these features. Importer does not consider backface culling, all the geometry is created with default behaviour (double sided).
File:
test_trans.ma
Features tested:
Geometry instanciation are not exported correctly. Instead, geometry is replicated at each instance. Importer creates an additional Maya transform for each imported osg::Geode.
File:
test_trans_anim.ma
Features tested:
Animations are not correctly exported if they include shear transformations or pivot point for scaling and rotating is moved.
File: test_texture.ma
Features tested:
Textures applied in Maya with projection nodes are not currently supported. Only regular UV sets are supported.
Some differences between Maya and OSG/OpenGL in considering clamping with texture coordinates inside texture space and texture matrix transformation. Figures above show some differences (left: Maya, right: OSG).
Clamp can be configured to Maya default color or clamping to edge in the exporter option box (see [Maya2OSG_User_Manual]).
File:
test_lighting.ma
Features tested:
All light sources work correctly, with the limitations of OpenGL lighting.
File:
test_lighting_anim.ma
Features tested:
Correctly exported all the animations, with the sampling step supplied in the export options.
File:
test_particles.ma
TO-DO
Wiki: Main_Page
Wiki: Maya2OSG_User_Manual
Wiki: Polygonal_geometry