Transform.traverse(nv) ############################################################## Album.Album(osg.ArgumentParser arguments, float width, float height) typedef std.vector<str> FileList fileList = FileList() for(int pos=1pos<arguments.argc()++pos) if arguments.isString(pos) : filename = str(arguments[pos]) if osgDB.getLowerCaseFileExtension(filename)=="album" : photoArchive = PhotoArchive.open(filename) if photoArchive : g_ImageReaderWriter.addPhotoArchive(photoArchive) photoArchive.getImageFileNameList(fileList) else: fileList.push_back(arguments[pos]) _radiusOfRings = 0.02 _startAngleOfPages = 0.0 _deltaAngleBetweenPages = osg.PI/(float)fileList.size() _group = osg.Group() _group.getOrCreateStateSet().setAttributeAndModes(osg.CullFace,osg.StateAttribute.ON)()