A correction to my earlier post about exporting objects to osg. It is possible to use the
node3D.save command for saving objects in the osg format. To save the whole scene with multiple objects as one model file, parent all objects to a single node before saving. However, this will not work with avatar files. Here's an example:
Code:
import viz
viz.go()
scene = viz.addGroup()
dojo = viz.addChild('dojo.osgb',parent=scene)
soccerball = viz.addChild('soccerball.osgb',parent=scene,pos=[-0.5,2,1.5])
basketball = viz.addChild('basketball.osgb',parent=scene,pos=[0,2,1.5])
volleyball = viz.addChild('volleyball.osgb',parent=scene,pos=[0.5,2,1.5])
scene.save('dojo2.osgb')