Collada files can actually vary dramatically in terms of format. That's why, for example, I cannot actually load Collada files exported directly from Maya, but I can use Collada files which are exported using the OpenCollada plugin for Maya. Importing SketchUp files didn't work for me in the past, which is ultimately what led me to switch over to Maya, because that's when things actually started to work for me. Definitely not cheap, though! If you have a Pro version of SketchUp, you may consider trying another format, like MD2




On Fri, 23 Jul 2010 05:42:48 -0700, dsirijus <[email protected]> wrote:

I am also experiencing Collada parsing issues (roughly at the same
time :D )

http://groups.google.com/group/away3d-dev/browse_thread/thread/4b08288cee7693c1

On Jul 23, 2:15 pm, finty <[email protected]> wrote:
actually I meant an empty array object, not one that has been
initialized.

On Jul 23, 1:08 pm, finty <[email protected]> wrote:



> 'RangeError: Error #1125: The index 0 is out of range 0'

> I would interpret this to mean that the parser is looking up element 0
> of an array object that hasn't been initialised.   ...possibly because
> the Collada file didn't contain the data that normally populates this
> array. ...only  guess though.

> On Jul 22, 10:46 pm, "@nders" <[email protected]> wrote:

> > I’m having problems loading a SketchUp exported Collada model in
> > Away3D Lite. I am able to load another Collada model in Away3D Lite,
> > so you might think there’s a problem with my model, but it works fine
> > loading the model in Away3D, so I believe there’s at least something
> > wrong with the Lite loader.

> > Just for the record:
> > I’m using the latest Away3D Lite svn version.
> > I’m using SketchUp 7.0.10247, since the latest version had problems
> > with Papervision 3D, which I was using before.
> > I do extract the .dae from the .kmz file, since I didn’t get the .kmz
> > to work with Away3D, and it’s not yet supported by Away3D Lite.

> > This is how I load the model:

> > col = new Collada();
> > col.material = new WireColorMaterial(0xffffff);

> > loader = new Loader3D();
> > loader.loadGeometry("model.dae", col);

> > scene.addChild(loader);

> > When loadGeometry runs I get a message box with this error:

> > RangeError: Error #1125: The index 0 is out of range 0.
> >                 at away3dlite.loaders::Collada/fillMesh()
> >                 at away3dlite.loaders::Collada/buildMesh()
> >                 at away3dlite.loaders::Collada/buildContainers()
> >                 at away3dlite.loaders::Collada/buildContainers()
> >                 at away3dlite.loaders::Collada/parseNext()
> > at away3dlite.loaders::AbstractParser/notifyProgress()
> >                 at away3dlite.loaders::Collada/parseNext()
> > at away3dlite.loaders::AbstractParser/notifyProgress()
> >                 at away3dlite.loaders::Collada/parseNext()
> > at away3dlite.loaders::AbstractParser/notifyProgress()
> >                 at away3dlite.loaders::Collada/parseNext()
> > at away3dlite.loaders::AbstractParser/notifyProgress()
> >                 at away3dlite.loaders::Collada/parseNext()
> > at away3dlite.loaders::AbstractParser/notifyProgress()
> >                 at away3dlite.loaders::Collada/parseNext()
> > at away3dlite.loaders::AbstractParser/notifyProgress()
> >                 at away3dlite.loaders::Collada/parseNext()
> > at away3dlite.loaders::AbstractParser/notifyProgress()
> >                 at away3dlite.loaders::Collada/parseNext()
> > at away3dlite.loaders::AbstractParser/notifyProgress()
> >                 at away3dlite.loaders::Collada/parseNext()
> > at away3dlite.loaders::AbstractParser/notifyProgress()
> >                 at away3dlite.loaders::Collada/parseNext()
> > at away3dlite.loaders::AbstractParser/notifyProgress()
> >                 at away3dlite.loaders::Collada/parseNext()
> > at away3dlite.loaders::AbstractParser/notifyProgress()
> >                 at away3dlite.loaders::Collada/parseNext()
> > at away3dlite.loaders::AbstractParser/notifyProgress()
> >                 at away3dlite.loaders::Collada/parseNext()
> > at away3dlite.loaders::AbstractParser/notifyProgress()
> >                 at away3dlite.loaders::Collada/parseNext()
> > at away3dlite.loaders::AbstractParser/parseGeometry()
> >                 at away3dlite.loaders::Loader3D/loadTextures()
> >                 at away3dlite.loaders::Loader3D/onGeometryComplete()
> >                 at flash.events::EventDispatcher/
> > dispatchEventFunction()
> >                 at flash.events::EventDispatcher/dispatchEvent()
> >                 at flash.net::URLLoader/onComplete()

> > Any ideas of what this problem is about?

> > /Anders


--
Joshua Granick
Owner / Lead Developer
[ eclecticdesignstudio ]
P: (916) 889-7306

Reply via email to