".obj" file with multi elements

Software: Away3D 4.x

ushan, Newbie
Posted: 22 July 2012 06:51 PM   Total Posts: 2

Hello!

Does anybody know how to load file that contains multi elements? I try to use Loader3D class to load file in .obj format. When I use only one object in scene - all is ok, 3D model is parsed, but when I create a file with a few child objects - only one of them loads to flash and loader3D.loader.numChildren == 1. I am sure that my file contains a few sub models (I checked it). What I do wrong?

Thanks!

   

ushan, Newbie
Posted: 22 July 2012 06:57 PM   Total Posts: 2   [ # 1 ]

Sorry, it seems I posted question in wrong category

   

Richard Olsson, Administrator
Posted: 23 July 2012 08:43 AM   Total Posts: 1192   [ # 2 ]

I moved your post.

Are you using the latest (gold) version of the engine? Old versions of the engine used to have problems understanding multi-object OBJ files. That said, the OBJ format is implemented quite differently depending on editors, so even with the latest version there might be OBJ encoders whose multi-object representation is not compatible with Away3D.

What 3D program are you using? If you create an ASSET_EVENT handler and trace out the assetType of the assets that come in (event.asset.assetType) what do you get?

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X