public void Init() { _parms = new ConvoarParams(); _log = new LoggerConsole(); ConvOAR.Globals = new GlobalContext(_parms, _log); _assetService = new MemAssetService(); _converter = new BConverterOS(); _scene = _converter.CreateScene(_assetService, "convoar-test"); _assetFetcher = new OSAssetFetcher(_assetService); OMV.UUID defaultTextureID = new OMV.UUID("179cdabd-398a-9b6b-1391-4dc333ba321f"); _defaultTexture = new OMV.Primitive.TextureEntryFace(null); _defaultTexture.TextureID = defaultTextureID; }
public void Init() { _log = new BLoggerConsole(); _params = new ConvoarParams(); ConvOAR.Globals = new GlobalContext() { log = _log, parms = _params }; _assetService = new MemAssetService(); _converter = new OarConverter(_log, _params); _scene = _converter.CreateScene(_assetService, "convoar-test"); _assetManager = new AssetManager(_assetService, _log, _params.OutputDir); OMV.UUID defaultTextureID = new OMV.UUID("179cdabd-398a-9b6b-1391-4dc333ba321f"); _defaultTexture = new OMV.Primitive.TextureEntryFace(null) { TextureID = defaultTextureID }; }