[Papervision3D] Collada max file size
Matthew Hare
matt.hare at gmail.com
Thu Mar 6 08:53:58 PST 2008
ah, that would have been useful about an hour ago!! ;)
Matt
On 06/03/2008, Steve Penza <steven at penza.nu> wrote:
>
>
> Another solution is to set the async parameter to true.
>
> var dae:DAE = new DAE(true);
>
> Unfortunately it requires a hack posted here if you're using 2.0:
>
> http://www.nabble.com/DAE-async-doesn%27t-work..-potential-fix-to14443023.html#a14443023
>
> In older versions I was using it and it worked fine.
>
>
>
> Matthew Hare wrote:
> >
> > Hi Bart,
> >
> > That's exactly what I did.. broke the DAE in to collections of similar
> > objects, then broke the larger collections up again in this instance.
> >
> > I'm not the 3D guy, so I kinda get what I'm given, but this is the way
> to
> > work..
> >
> > Thanks for you help!!
> >
> > Matt
> >
> > On 06/03/2008, Bart Wttewaall <bart at mediamonkey.nl> wrote:
> >>
> >> Hi Matthew,
> >>
> >> As you can see from the output of the error, the DAE class parses all
> >> models recursively. At the point of the error it was parsing at a depth
> >> of 4
> >> or 5 levels deep. It seems your file is indeed way too complex for
> Flash
> >> to
> >> handle. When modeling you should keep track of the complexity, and
> before
> >> exporting you should collapse/explode/join all groups into as less
> models
> >> as
> >> possible. I'd suggest just exporting one model per dae file. That way
> you
> >> can load all your models and keep track of your loading progress by
> using
> >> a
> >> progressbar.
> >>
> >> Good luck,
> >> Bart
> >>
> >> 2008/3/6, Matthew Hare <matt.hare at gmail.com>:
> >> >
> >> > Hi Guys,
> >> >
> >> > I've got a file that's about 3 megs in size, and I get this error
> when
> >> I
> >> > compile the swf.
> >> >
> >> > Is this because the file size is too big? In which case, I'm right in
> >> > assuming i should break the collada file down in to smaller
> libraries.
> >> >
> >> > >> this is the error >>
> >> >
> >> > Error: Error #1502: A script has executed for longer than the default
> >> > timeout period of 15 seconds.
> >> > at org.ascollada.core::DaeEntity/getInts()
> >> > at
> >> >
> org.ascollada.core::DaePrimitive/org.ascollada.core:DaePrimitive::parse
> >> > ()
> >> > at org.ascollada.core::DaePrimitive/read()
> >> > at org.ascollada.core::DaeEntity$iinit()
> >> > at org.ascollada.core::DaePrimitive$iinit()
> >> > at org.ascollada.core::DaeMesh/read()
> >> > at org.ascollada.core::DaeEntity$iinit()
> >> > at org.ascollada.core::DaeMesh$iinit()
> >> > at org.ascollada.core::DaeGeometry/read()
> >> > at org.ascollada.core::DaeEntity$iinit()
> >> > at org.ascollada.core::DaeGeometry$iinit()
> >> > at org.ascollada.core::DaeDocument/::readLibGeometries()
> >> > at org.ascollada.core::DaeDocument/read()
> >> > at org.ascollada.core::DaeEntity$iinit()
> >> > at org.ascollada.core::DaeDocument$iinit()
> >> > at org.ascollada.io::DaeReader/loadDocument()
> >> > at org.ascollada.io::DaeReader/::completeHandler()
> >> > at
> >> >
> >>
> flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction
> >> > ()
> >> > at flash.events::EventDispatcher/dispatchEvent()
> >> > at flash.net::URLLoader/flash.net:URLLoader::onComplete()
> >> >
> >> > Matt
> >> >
> >> >
> >> > _______________________________________________
> >> > Papervision3D mailing list
> >> > Papervision3D at osflash.org
> >> > http://osflash.org/mailman/listinfo/papervision3d_osflash.org
> >> >
> >> >
> >>
> >>
> >> --
> >> Mediamonkey
> >> Freelance Flash Developer
> >> e: info at mediamonkey.nl
> >> t: 06-10550859
> >> _______________________________________________
> >> Papervision3D mailing list
> >> Papervision3D at osflash.org
> >> http://osflash.org/mailman/listinfo/papervision3d_osflash.org
> >>
> >>
> >
> > _______________________________________________
> > Papervision3D mailing list
> > Papervision3D at osflash.org
> > http://osflash.org/mailman/listinfo/papervision3d_osflash.org
> >
> >
>
> --
>
> View this message in context:
> http://www.nabble.com/Collada-max-file-size-tp15874985p15877073.html
> Sent from the Papervision3D mailing list archive at Nabble.com.
>
>
>
> _______________________________________________
> Papervision3D mailing list
> Papervision3D at osflash.org
> http://osflash.org/mailman/listinfo/papervision3d_osflash.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/papervision3d_osflash.org/attachments/20080306/43b2cb99/attachment.html
More information about the Papervision3D
mailing list