Let me ask my question in a different way... If I need to export a model and animation from 3ds max, and import it into Away3d such that it can run the animation sequence, what export tool(s) do I use to get the file(s) from 3ds Max into Away3d? As a follow on question, if certain Collada format tags are not supported at this time, can you provide a list of what those are? Or which ones are supported?
Thank you for your help, Sean On Jun 16, 10:11 am, Sean Stephens <[email protected]> wrote: > Then should I go with the ColladaMax 3ds version? Thats the earlier > generation of the OpenCollada plugin. > > Thanks, > Sean > > On Jun 16, 9:44 am, katopz <[email protected]> wrote: > > > OpenCollada support is in my to do list, but not so soon in case i got > > really long queue, sry > > last know good for me is COLLADA Maya 2009 > > viahttp://sourceforge.net/projects/colladamaya/files/ > > cooladamax next gen it's gonna work with 1 sampler only at present > > try explore here for more > > >http://away3d.googlecode.com/svn/trunk/fp10/Examples/Collada/src/ExCo... > > > hth > > > On 16 June 2010 21:25, Sean Stephens <[email protected]> wrote: > > > > I'm getting an error loading a collada file that only occured after > > > adding animation information from 3ds Max. With a static model and > > > textures, the file loads fine. I suspect either the OpenCollada plugin > > > is somehow messing up on the export, or the Collada parser is not > > > familiar with one of the animatino elements. > > > > I'm working to get the model running exported animations and any help > > > getting past this sticking point is welcome :). > > > > Thanks, > > > Sean > > > > ------------------- > > > Using: > > > away3dlite v. 1.0.0 > > > 3ds Max v. 8 > > > OpenCollada for 3dsMax v. 1.2.5 > > > > ------------------- > > > ActionScript stack trace: > > > TypeError: Error #1009: Cannot access a property or method of a null > > > object reference. > > > at away3dlite.loaders::Collada/parseNode()[D:\dev\env\away3dlite > > > \away3dlite_1_0_0\away3dlite\loaders\Collada.as:677] > > > at away3dlite.loaders::Collada/parseNode()[D:\dev\env\away3dlite > > > \away3dlite_1_0_0\away3dlite\loaders\Collada.as:658] > > > at away3dlite.loaders::Collada/parseNode()[D:\dev\env\away3dlite > > > \away3dlite_1_0_0\away3dlite\loaders\Collada.as:658] > > > at away3dlite.loaders::Collada/parseNode()[D:\dev\env\away3dlite > > > \away3dlite_1_0_0\away3dlite\loaders\Collada.as:658] > > > at away3dlite.loaders::Collada/parseNode()[D:\dev\env\away3dlite > > > \away3dlite_1_0_0\away3dlite\loaders\Collada.as:658] > > > at away3dlite.loaders::Collada/parseScene()[D:\dev\env\away3dlite > > > \away3dlite_1_0_0\away3dlite\loaders\Collada.as:531] > > > at away3dlite.loaders::Collada/prepareData()[D:\dev\env\away3dlite > > > \away3dlite_1_0_0\away3dlite\loaders\Collada.as:484] > > > at away3dlite.loaders::AbstractParser/parseGeometry()[D:\dev\env > > > \away3dlite\away3dlite_1_0_0\away3dlite\loaders\AbstractParser.as:254] > > > at > > > away3dlite.loaders::Loader3D/loadTextures()[D:\dev\env\away3dlite > > > \away3dlite_1_0_0\away3dlite\loaders\Loader3D.as:367] > > > at away3dlite.loaders::Loader3D/onGeometryComplete()[D:\dev\env > > > \away3dlite\away3dlite_1_0_0\away3dlite\loaders\Loader3D.as:155] > > > at flash.events::EventDispatcher/dispatchEventFunction() > > > at flash.events::EventDispatcher/dispatchEvent() > > > at flash.net::URLLoader/onComplete() > > > --------------------- > > > > Gets the error in the parseNode function while processing the > > > "instance_geometry" node case. The line that breaks is: > > > (_objectData as MeshData).geometry = > > > geometryLibrary.addGeometry(g...@id, geo); > > > > -------------------- > > > > The node in the collada file that is breaking starts like this: > > > <library_geometries> > > > <geometry id="geom-P_CTRL_FootR" name="P_CTRL_FootR"> > > > <spline closed="1"> > > > <source id="geom-P_CTRL_FootR-positions"> > > > <float_array id="geom-P_CTRL_FootR-positions-array" > > > count="12">7.36045e-6 4.70477e-7 -11.99407 7.34664e-6 9.484941 > > > -1.99891e-6 7.2269e-6 1.57992e-6 22.1596 7.3717e-6 -9.48494 > > > -3.93307e-6</float_array> > > > <technique_common> > > > <accessor source="#geom-P_CTRL_FootR-positions-array" > > > count="4" stride="3"> > > > <param name="X" type="float"/> > > > <param name="Y" type="float"/> > > > <param name="Z" type="float"/> > > > </accessor> > > > </technique_common> > > > </source> > > > > There are a couple of things I noticed in trying to determine whats > > > broken. 1) This file introduced the <spline> node which was not in the > > > exports I have used without rigging and animation data. 2) according > > > to the Collada spec, the closed attribute in <spline> is a bool, and > > > defaults to false. Perhaps there is an issue with true being > > > represented as 1 from the exporter (I did try changing the value to > > > true and got the same error) > > > -- > > Regards > > ----------------------------------------------------------- > > katopz,http://sleepydesign.com > > Away3D and JigLibFlash Developer Team
