Loading ZIPed DAE files

8 messages Options
Embed this post
Permalink
bartekd

Loading ZIPed DAE files

Reply Threaded More More options
Print post
Permalink
Hello all!

Yesterday I was experimenting with loading ZIPed DAE files. Overall it all works fine with the nochump classes, but I was just wondering if there is a special utility class in GW to do this (that I missed), or do I have to make it manually:

URLLoader > ZipFile > ByteArray > DAE

Thanks
Bartek
Jon Bradley-2

Re: Loading ZIPed DAE files

Reply Threaded More More options
Print post
Permalink
Some javascript/style in this post has been disabled (why?)
On Aug 22, 2008, at 4:40 AM, bartekd wrote:

Hello all!


Yesterday I was experimenting with loading ZIPed DAE files. Overall it all

works fine with the nochump classes, but I was just wondering if there is a

special utility class in GW to do this (that I missed), or do I have to make

it manually:


URLLoader > ZipFile > ByteArray > DAE


KMZ Class.

- jon

_______________________________________________
Papervision3D mailing list
[hidden email]
http://osflash.org/mailman/listinfo/papervision3d_osflash.org
Tomás Atria

Re: Loading ZIPed DAE files

Reply Threaded More More options
Print post
Permalink
Some javascript/style in this post has been disabled (why?)
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/




From: [hidden email]
Date: Fri, 22 Aug 2008 08:25:47 -0400
To: [hidden email]
Subject: Re: [Papervision3D] Loading ZIPed DAE files


On Aug 22, 2008, at 4:40 AM, bartekd wrote:

Hello all!


Yesterday I was experimenting with loading ZIPed DAE files. Overall it all
works fine with the nochump classes, but I was just wondering if there is a
special utility class in GW to do this (that I missed), or do I have to make
it manually:


URLLoader > ZipFile > ByteArray > DAE

KMZ Class.

- jon


Reveal your inner athlete and share it with friends on Windows Live. Share now!
_______________________________________________
Papervision3D mailing list
[hidden email]
http://osflash.org/mailman/listinfo/papervision3d_osflash.org
Seb Lee-Delisle-2

Re: Loading ZIPed DAE files

Reply Threaded More More options
Print post
Permalink
Like jon said, you can use the KMZ class in pv3d - KMZ files have the
DAE and materials all zipped up, and Tim's excellent KMZ class deals
with all the unzipping for you.

Seb


On Fri, Aug 22, 2008 at 3:47 PM, tomas atria camucet <[hidden email]> 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/
>
>
> ________________________________
> From: [hidden email]
> Date: Fri, 22 Aug 2008 08:25:47 -0400
> To: [hidden email]
> Subject: Re: [Papervision3D] Loading ZIPed DAE files
>
>
> On Aug 22, 2008, at 4:40 AM, bartekd wrote:
>
> Hello all!
>
> Yesterday I was experimenting with loading ZIPed DAE files. Overall it all
> works fine with the nochump classes, but I was just wondering if there is a
> special utility class in GW to do this (that I missed), or do I have to make
> it manually:
>
> URLLoader > ZipFile > ByteArray > DAE
>
> KMZ Class.
> - jon
> ________________________________
> Reveal your inner athlete and share it with friends on Windows Live. Share
> now!
> _______________________________________________
> Papervision3D mailing list
> [hidden email]
> http://osflash.org/mailman/listinfo/papervision3d_osflash.org
>
>

_______________________________________________
Papervision3D mailing list
[hidden email]
http://osflash.org/mailman/listinfo/papervision3d_osflash.org
Jon Bradley-2

Re: Loading ZIPed DAE files

Reply Threaded More More options
Print post
Permalink
In reply to this post by Tomás Atria
Some javascript/style in this post has been disabled (why?)

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
[hidden email]
http://osflash.org/mailman/listinfo/papervision3d_osflash.org
bartekd

Re: Loading ZIPed DAE files

Reply Threaded More More options
Print post
Permalink
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
Sergey Karanda

max3DS

Reply Threaded More More options
Print post
Permalink
Hello ,


Has anyone know why Max3DS parser do mirror of the the model and
textures by one of the axis?

--
Best regards,
 Sergey                            mailto:[hidden email]


_______________________________________________
Papervision3D mailing list
[hidden email]
http://osflash.org/mailman/listinfo/papervision3d_osflash.org
Rob Bateman

Re: max3DS

Reply Threaded More More options
Print post
Permalink
ah, that would be my fault. Meant to fix it a while ago but somehow never found the time...

this is now modified in the Away3d trunk - papervision commiters should be able to make teh same changes to the pv3d version of the importer

cheers

Rob

On Fri, Aug 22, 2008 at 1:23 PM, Sergey Karanda <[hidden email]> wrote:
Hello ,


Has anyone know why Max3DS parser do mirror of the the model and
textures by one of the axis?

--
Best regards,
 Sergey                            mailto:[hidden email]


_______________________________________________
Papervision3D mailing list
[hidden email]
http://osflash.org/mailman/listinfo/papervision3d_osflash.org



--
Rob Bateman
Flash Development & Consultancy

[hidden email]
www.infiniteturtles.co.uk
www.away3d.com

_______________________________________________
Papervision3D mailing list
[hidden email]
http://osflash.org/mailman/listinfo/papervision3d_osflash.org