Maya2OSG Wiki
Status: Alpha
Brought to you by:
jtaibo
Each camera found in the Maya scene will be exported to a separate file with
.osg
extension, prefixed by the main exported base name. For example, if we export a scene to file
testscene.osg
and the scene has a camera called
perspShape
, it will be exported to file
testscene_perspShape.osg
. The
.osg
camera files contain only an
osgViewer
. They are meant to be used with
osgviewer
in two possible forms.
It can be passed as a parameter
osgviewer -c testscene_perspShape.osg testscene.osg
Or can be passed as an environment variable, be it in Linux:
OSG_CONFIG_FILE=testscene_perspShape.osg osgviewer testscene.osg
or in Windows:
set OSG_CONFIG_FILE=testscene_perspShape.osg osgviewer testscene.osg
Maya2OSG exports the following Maya camera attributes:
Exporter configuration options related to cameras: