Collada vertex color support

Software: Away3D 4.x

forest, Newbie
Posted: 18 August 2014 03:19 AM   Total Posts: 6

I made a mesh with vertex colors in Blender, exported to .dae.

I can see the model in other model viewers, but Away3d does not load it, nor does away3d prefab. Both don’t throw errors and nothing shows on screen.

My loading code is the same as in Basic_Load3ds.as

What am I doing wrong? Is vertex color supported with Collada or other formats?

Attached is the file. Thanks

 

File Attachments
monkey_vertex_ao.dae  (File Size: 153KB - Downloads: 0)
   

Andariil, Newbie
Posted: 18 August 2014 05:55 AM   Total Posts: 4   [ # 1 ]

I solved problem this way:

private function onCompleteLoader(e:LoaderEvent):void {
var object:Object=e.target;
while (
object.assetType!=AssetType.MESHobject=object.getChildAt(0);
...
   

forest, Newbie
Posted: 18 August 2014 01:10 PM   Total Posts: 6   [ # 2 ]
Andariil - 18 August 2014 05:55 AM

I solved problem this way:

private function onCompleteLoader(e:LoaderEvent):void {
var object:Object=e.target;
while (
object.assetType!=AssetType.MESHobject=object.getChildAt(0);
...

Strangely my onAssetComplete() function passed to loader3d never gets called. It does get called if loading a .3ds file.

I think there might be something in the .dae away3d doesn’t like?

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X