« Return to Thread: Loading ZIPed DAE files

Re: Loading ZIPed DAE files

by bartekd :: Rate this Message:

Reply to Author | View in Thread

Thanks a lot!

Seems like the KMZ class is just was i was looking for, I just did not know where to look for it. I will try it today.

Bartek

Jon Bradley-2 wrote:
On Aug 22, 2008, at 10:47 AM, tomas atria camucet wrote:

> Hi, I found an example of loading ziped collada file in this page,  
> maybe could be useful:
> http://nicob.info/blog/papervision-reading-zipped-collada/


Again, use the KMZ class. KMZ == ZIP with a different extension. The  
KMZ parser in Papervision3D wraps up the nochump ZIP libraries with  
the DAE class (not "collada" class).

All it does is search the zip entries for a file with the extension  
".dae" and then parses it accordingly with the textures that are also  
in the zip archive and referenced by the DAE file.

Take note, the nochump libraries will throw a script timeout error if  
either A) the ZIP archive is too large (> 1 MB) or B) the textures or  
DAE inside the ZIP archive are too large.

Good luck with it. I've had some pretty good success with it. I also  
took the time to modify the nochump library and the KMZ class to  
handle files of any size (these mods are not yet in the current  
revision).

cheers,

jon
_______________________________________________
Papervision3D mailing list
Papervision3D@osflash.org
http://osflash.org/mailman/listinfo/papervision3d_osflash.org
___________
Bartek Drozdz
+ www.everydayflash.com +

 « Return to Thread: Loading ZIPed DAE files