Loading ZIPed DAE files

View: New views
8 Messages — Rating Filter:   Alert me  

Loading ZIPed DAE files

by bartekd :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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
___________
Bartek Drozdz
+ www.everydayflash.com +

Re: Loading ZIPed DAE files

by Jon Bradley-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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
Papervision3D@...
http://osflash.org/mailman/listinfo/papervision3d_osflash.org

Re: Loading ZIPed DAE files

by Tomás Atria :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
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: jbradley@...
Date: Fri, 22 Aug 2008 08:25:47 -0400
To: papervision3d@...
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
Papervision3D@...
http://osflash.org/mailman/listinfo/papervision3d_osflash.org

Re: Loading ZIPed DAE files

by Seb Lee-Delisle-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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 <tatria@...> 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: jbradley@...
> Date: Fri, 22 Aug 2008 08:25:47 -0400
> To: papervision3d@...
> 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
> Papervision3D@...
> http://osflash.org/mailman/listinfo/papervision3d_osflash.org
>
>

_______________________________________________
Papervision3D mailing list
Papervision3D@...
http://osflash.org/mailman/listinfo/papervision3d_osflash.org

Re: Loading ZIPed DAE files

by Jon Bradley-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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@...
http://osflash.org/mailman/listinfo/papervision3d_osflash.org

Re: Loading ZIPed DAE files

by bartekd :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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 +

max3DS

by Sergey Karanda :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello ,


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

--
Best regards,
 Sergey                            mailto:sergey_karanda@...


_______________________________________________
Papervision3D mailing list
Papervision3D@...
http://osflash.org/mailman/listinfo/papervision3d_osflash.org

Re: max3DS

by Rob Bateman :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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 <sergey_karanda@...> 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:sergey_karanda@...


_______________________________________________
Papervision3D mailing list
Papervision3D@...
http://osflash.org/mailman/listinfo/papervision3d_osflash.org



--
Rob Bateman
Flash Development & Consultancy

rob.bateman@...
www.infiniteturtles.co.uk
www.away3d.com

_______________________________________________
Papervision3D mailing list
Papervision3D@...
http://osflash.org/mailman/listinfo/papervision3d_osflash.org