Both OBJ and awd don't clean up when using dispose(true) on the mesh.
Theres always the same number of meshes and geometry hanging around.
Do I need to do anything more than ?
Mesh(themesh).dispose(true)
Trying to embed awd files and images
Something along the lines of
Loader3D.enableParser(AWDParser);
imgCntxt = new AssetLoaderContext(false,null);
//Tried various paths etc
// imgCntxt.mapUrlToData("Models/TreeScotPineAWD/images/", new
treeBranchIMG());
// imgCntxt.mapUrlToData("../src/Models/ScotsPine/images/polySurface1.jpg",
new treeTrunkIMG() as ByteArray);
AssetLibrary.parseData(new awdFile(), new AWDParser(),imgCntxt);
AssetLibrary.addEventListener(LoaderEvent.RESOURCE_COMPLETE,
onLoadComplete);
Gone through every random guess but cant get embedded awd and images.
Only thing I've found to work is to set
imgCntxt = new AssetLoaderContext(false,null);
and then apply the materials without mapurltoData through new
bitmapmaterial.
so erm how?