Imported Collada Model Doesn't Show

7 views
Skip to first unread message

Shane

unread,
Nov 11, 2008, 10:51:35 PM11/11/08
to away3d.dev
I've searched through the groups, through the Away3D examples, docs,
etc... and am still running into trouble when importing any Collada
file into Away3D. I created a simple cube in Blender and I exported
that model as both 3ds and dae. The 3ds loads fine and displays as
I'd expect. The Collada file loads okay (no errors) but the model
isn't showing up. Unfortunately going forward I have to use Collada
files with Away and not 3DS, so I'd like to figure out what the
difference is here.

Here's a link to the files I'm working with... http://carbonfrogs.com/public/BasicCollada.zip

Can anyone point me to what I may be doing wrong? Or if there are
examples or demos of the latest 2.2 engine importing Collada files,
that'd be great too. I couldn't find such a thing myself. Thank you!

Peter Kapelyan

unread,
Nov 12, 2008, 12:02:04 AM11/12/08
to away3...@googlegroups.com
I made this simple Mario for Away3D (modelled in Lightwave) and animated in Maya and exported from Maya, look here:

http://www.infiniteturtles.co.uk/projects/away3d/demos/MultiMario/MarioRunMany.html

If you right click you can see the source and inspect the model in the assets folder (mario_tesrun.dae)

Try to look at your DAE and make sure the texture is right:

<init_from>./mario_tex.jpg</init_from>

That was the only reason mine didnt show up. But blender is a different story so I am not sure.
 
-Pete

--
___________________

Actionscript 3.0 Flash 3D Graphics Engine

HTTP://AWAY3D.COM

katopz

unread,
Nov 12, 2008, 12:07:35 AM11/12/08
to away3...@googlegroups.com
Hi Shane

can you remove fancy fx there and try again?
here is i found in you dae

- some phong , plz try lambert with jpg texture instead as Pete said
<library_effects>
        <effect id="Material-fx" name="Material-fx">
            <profile_COMMON>
                <technique sid="blender">
                    <phong>

- library_physics_materials
- library_physics_models
- library_physics_scenes
- scene/instance_physics_scene

we support basic dae with animation, so plz keep it simple as possible ;)
try attach for working one also with animation there  (blender 2.46 thx rect, note.x)

hth ;)

2008/11/12 Shane <grayt...@gmail.com>



--
katopz
http://www.sleepydesign.com
armature.dae
bone_anim.jpg
armature.blend

Fabrice

unread,
Nov 12, 2008, 3:18:16 AM11/12/08
to away3...@googlegroups.com
Cube: x:NaN y:NaN z:NaN

Fabrice
<armature.dae><bone_anim.jpg><armature.blend>

Grey

unread,
Nov 12, 2008, 1:43:37 PM11/12/08
to away3d.dev
Thank you so much for everyone's help! Katopz, the files you attached
did work. The problem I have is that I'm working with a 3D designer
and I'm not sure how to translate what I see in the .dae into clear
instructions or rules for him when he's building the artwork and
exporting it. I know you guys said make it as simple as possible, but
are there specific rules or features that are unsupported which would
make sense when describing to a 3D artist? Also, this artist is using
Maya instead of Blender.

Thank you again. This has been a great help.

On Nov 12, 12:18 am, Fabrice <fabric...@gmail.com> wrote:
> Cube: x:NaN y:NaN z:NaN
>
> Fabrice
> On Nov 12, 2008, at 6:07 AM, katopz wrote:
>
> > Hi Shane
>
> > can you remove fancy fx there and try again?
> > here is i found in you dae
>
> > - some phong , plz try lambert with jpg texture instead as Pete said
> > <library_effects>
> >         <effect id="Material-fx" name="Material-fx">
> >             <profile_COMMON>
> >                 <technique sid="blender">
> >                     <phong>
>
> > - library_physics_materials
> > - library_physics_models
> > - library_physics_scenes
> > - scene/instance_physics_scene
>
> > we support basic dae with animation, so plz keep it simple as  
> > possible ;)
> > try attach for working one also with animation there  (blender 2.46  
> > thx rect, note.x)
>
> > hth ;)
>
> > 2008/11/12 Shane <graythe...@gmail.com>
>
> > I've searched through the groups, through the Away3D examples, docs,
> > etc... and am still running into trouble when importing any Collada
> > file into Away3D.  I created a simple cube in Blender and I exported
> > that model as both 3ds and dae.  The 3ds loads fine and displays as
> > I'd expect. The Collada file loads okay (no errors) but the model
> > isn't showing up.  Unfortunately going forward I have to use Collada
> > files with Away and not 3DS, so I'd like to figure out what the
> > difference is here.
>
> > Here's a link to the files I'm working with...http://carbonfrogs.com/public/BasicCollada.zip

Peter Kapelyan

unread,
Nov 12, 2008, 2:12:53 PM11/12/08
to away3...@googlegroups.com
Start with a simple cube. And like katopz mentioned, use the lambert with texture file.

Make the DAE, then make sure the texture in the DAE points to the right location like I mentioned before.

Load that in - and you should see it!

If you get that working, you are golden, then you can add stuff and see what works and what doesn't...save often, and make sure you remember what you did if for some reason it doesn't work anymore. :)

-Pete

Grey

unread,
Nov 12, 2008, 3:11:50 PM11/12/08
to away3d.dev
I have the basic cube importing, but it seems that every little change
or addition we make results in a failure to import. So as I understand
it there's no real set of guidelines, but more a simple starting point
and then it's trial and error. Thank you again for the assistance.
We'll keep trying things.
Reply all
Reply to author
Forward
0 new messages