I also did a quick test and it worked for me with no problems.  One
thing I did notice, though, is that I didn't have to declare a
material property or load a material externally.. it loaded and
applied the texture I had assigned to the model in Max, which was in
the xml..  :/

By any chance is your material in a different folder relative to
your .DAE than it is when you are working on it in C4D?


On Nov 13, 7:35 pm, Michael Iv <[email protected]> wrote:
> May be the problem with Cinema? I use collada that I export from 3DsMax and
> they work just fine with Away 3.6
>
>
>
>
>
> On Sun, Nov 14, 2010 at 3:10 AM, fab4ce <[email protected]> wrote:
> > seems like i will not get any answer?
> > With Away 3.5 it works fine.
> > Are there any known bugs or changes to the DAE format in 3.6 ?
>
> > On 14 Okt., 10:49, fab4ce <[email protected]> wrote:
> > > Hi all,
>
> > > i updated my Away3D project from 2.4 to 3.6 and now my collada files
> > > won´t load.
> > > So i started C4D and exported a simple plane. Then i started the
> > > newest Basic_LoadModel.fla from the examples and try to load the DAE
> > > file the same way:
>
> > > loader = new LoaderCube();
> > > loader.addOnSuccess(onSuccess);
> > > loader.loadGeometry("5.dae", new Collada());
> > > scene.addChild(loader);
>
> > > what i get is a:
>
> > > TypeError: Error #1009
> > > at away3d.loaders::Loader3D/loadTextures()
> > > at away3d.loaders::Loader3D/onGeometryComplete()
> > > at flash.events::EventDispatcher/dispatchEventFunction()
> > > at flash.events::EventDispatcher/dispatchEvent()
> > > at flash.net::URLLoader/onComplete()
>
> > > Does that mean, that 3.6.0 will not support C4Ds DAE file format
> > > anymore?
> > > This is all the content of my Collada file:
>
> > > <?xml version="1.0"?>
> > > <COLLADA xmlns="http://www.collada.org/2005/11/COLLADASchema";
> > > version="1.4.1">
> > >     <asset>
> > >         <contributor>
> > >             <authoring_tool>CINEMA4D11.532 COLLADA Exporter</
> > > authoring_tool>
> > >         </contributor>
> > >         <created>2010-10-14T09:32:53Z</created>
> > >         <modified>2010-10-14T09:32:53Z</modified>
> > >         <unit name="meter"/>
> > >         <up_axis>Y_UP</up_axis>
> > >     </asset>
> > >     <library_effects>
> > >         <effect id="ID2">
> > >             <profile_COMMON>
> > >                 <technique sid="COMMON">
> > >                     <blinn>
> > >                         <diffuse>
> > >                             <color>0.8 0.8 0.8 1</color>
> > >                         </diffuse>
> > >                         <specular>
> > >                             <color>0.2 0.2 0.2 1</color>
> > >                         </specular>
> > >                         <shininess>
> > >                             <float>0.5</float>
> > >                         </shininess>
> > >                     </blinn>
> > >                 </technique>
> > >             </profile_COMMON>
> > >         </effect>
> > >     </library_effects>
> > >     <library_materials>
> > >         <material id="ID1" name="Mat">
> > >             <instance_effect url="#ID2"/>
> > >         </material>
> > >     </library_materials>
> > >     <library_geometries>
> > >         <geometry id="ID5">
> > >             <mesh>
> > >                 <source id="ID6">
> > >                     <float_array id="ID7" count="12">-200 0 200 200 0
> > > 200 -200 0 -200 200 0 -200</float_array>
> > >                     <technique_common>
> > >                         <accessor count="4" source="#ID7" stride="3">
> > >                             <param name="X" type="float"/>
> > >                             <param name="Y" type="float"/>
> > >                             <param name="Z" type="float"/>
> > >                         </accessor>
> > >                     </technique_common>
> > >                 </source>
> > >                 <source id="ID8">
> > >                     <float_array id="ID9" count="3">0 1 0</
> > > float_array>
> > >                     <technique_common>
> > >                         <accessor count="1" source="#ID9" stride="3">
> > >                             <param name="X" type="float"/>
> > >                             <param name="Y" type="float"/>
> > >                             <param name="Z" type="float"/>
> > >                         </accessor>
> > >                     </technique_common>
> > >                 </source>
> > >                 <source id="ID10">
> > >                     <float_array id="ID11" count="2">0 1</float_array>
> > >                     <technique_common>
> > >                         <accessor count="1" source="#ID11" stride="2">
> > >                             <param name="S" type="float"/>
> > >                             <param name="T" type="float"/>
> > >                         </accessor>
> > >                     </technique_common>
> > >                 </source>
> > >                 <vertices id="ID12">
> > >                     <input semantic="POSITION" source="#ID6"/>
> > >                 </vertices>
> > >                 <polylist count="1" material="Material1">
> > >                     <input offset="0" semantic="VERTEX" source="#ID12"/
>
> > >                     <input offset="1" semantic="NORMAL" source="#ID8"/
>
> > >                     <input offset="2" semantic="TEXCOORD"
> > > source="#ID10" set="0"/>
> > >                     <vcount>4</vcount>
> > >                     <p>1 0 0 3 0 0 2 0 0 0 0 0</p>
> > >                 </polylist>
> > >             </mesh>
> > >         </geometry>
> > >     </library_geometries>
> > >     <library_visual_scenes>
> > >         <visual_scene id="ID3">
> > >             <node id="ID4" name="Ebene">
> > >                 <translate sid="translate">0 0 0</translate>
> > >                 <rotate sid="rotateY">0 1 0 0</rotate>
> > >                 <rotate sid="rotateX">1 0 0 0</rotate>
> > >                 <rotate sid="rotateZ">0 0 1 0</rotate>
> > >                 <scale sid="scale">1 1 1</scale>
> > >                 <instance_geometry url="#ID5">
> > >                     <bind_material>
> > >                         <technique_common>
> > >                             <instance_material symbol="Material1"
> > > target="#ID1">
> > >                                 <bind_vertex_input semantic="UVSET0"
> > > input_semantic="TEXCOORD" input_set="0"/>
> > >                             </instance_material>
> > >                         </technique_common>
> > >                     </bind_material>
> > >                 </instance_geometry>
> > >             </node>
> > >         </visual_scene>
> > >     </library_visual_scenes>
> > >     <scene>
> > >         <instance_visual_scene url="#ID3"/>
> > >     </scene>
> > > </COLLADA>
>
> --
> Michael Ivanov ,Programmer
> Neurotech Solutions Ltd.
> Flex|Air 
> |3D|Unity|www.neurotechresearch.comhttp://blog.alladvanced.nethttp://www.meetup.com/GO3D-Games-Opensource-3D/
> Tel:054-4962254
> [email protected]
> [email protected] Hide quoted text -
>
> - Show quoted text -

Reply via email to