ResourceManager.instance.addEventListener(LoaderEvent.LOAD_ERROR, 
onResourceLoadingError);
ResourceManager.instance.addEventListener(LoaderEvent.LOAD_MAP_ERROR, 
onResourceMapsLoadingError);

if you try to load an obj file with mtl where the path to sources are not 
there, will be omited and default map is applied. the 
LoaderEvent.LOAD_MAP_ERROR is triggered.
Indeed in case of default materials in mtl with no bitmapdata, if some color 
info is available, we could replace the map by a color...  good idea. 
Will look at this when I'll add the default uvs.

Fabrice


On Mar 16, 2011, at 6:46 PM, pcarret wrote:

> Where can we find the limitation in each module for alpha version ?
> 
> I am trying last away3d importer sample :
> 
> with 2 files :
> good news : all mesh are loaded
> bad news :  all mesh are textured by default with a black and white
> texture.
> Is it possible to have the flat color that are inside the models ?
> I've tried to set one texture (bmp) on 2 mesh , black & white texture
> still appears.
> 
> 
> with other files :
> nothing is loaded.

Reply via email to