[Papervision3D] InteractiveScene3DEvent EventListener's only working sometimes!?!

Albinal elyeball at gmail.com
Thu Sep 25 06:03:05 PDT 2008


I keep searching and finding out more stuff... just not the definitive
answer!

It seems this thread describes my problem:
http://www.nabble.com/Displaying-a-preloader-for-a-Collada-%28.DAE%29-file-td14491213.html#a14505507

The COLLADA_MATERIALS_DONE isn't firing because the textures are loaded in
automatically with the models?!?

So, how do you test if a DAEs texture has fully loaded?

And what does BitmapFileMaterial.callback do???

Many thanks!



Albinal wrote:
> 
> What is the difference between FileLoadEvent.LOAD_COMPLETE and
> Event.COMPLETE ???
> 
> FileLoadEvent.LOAD_COMPLETE outputs like this:
> BitmapFileMaterial: Loading bitmap from images/cloud1.jpg
> Cloud1 LOADED! :-)
> BitmapFileMaterial: Loading bitmap from images/buy.jpg
> Buy_DAE LOADED! :-)
> BitmapFileMaterial: Loading bitmap from images/colouryourown.jpg
> ColourYourOwn LOADED! :-)
> 
> Event.COMPLETE outputs like this:
> Cloud1 LOADED! :-)
> Buy_DAE LOADED! :-)
> ColourYourOwn LOADED! :-)
> BitmapFileMaterial: Loading bitmap from images/cloud1.jpg
> BitmapFileMaterial: Loading bitmap from images/buy.jpg
> BitmapFileMaterial: Loading bitmap from images/colouryourown.jpg
> 
> This would seem that the FileLoadEvent.LOAD_COMPLETE also includes loading
> the textures while Event.COMPLETE doesn't. So, if I'm using
> FileLoadEvent.LOAD_COMPLETE then do I need to also use
> COLLADA_MATERIALS_DONE?
> 

-- 
View this message in context: http://www.nabble.com/InteractiveScene3DEvent-EventListener%27s-only-working-sometimes%21-%21-tp19651124p19669088.html
Sent from the Papervision3D mailing list archive at Nabble.com.




More information about the Papervision3D mailing list