Using 3D Mesh Files without Loader3D?

Software: Away3D 4.x

loungelizard, Newbie
Posted: 21 February 2012 03:39 AM   Total Posts: 14

How do you use textured 3D models in Away3D without using Loader3D?

I’m using my own engine that has resource management and can load in texture files as bitmapdata and 3D model files as bytearray on it’s own. Now I want to use a loaded 3D model in Away3D. I have the 3D model as bytearray data and it’s texture(s) as bitmapdata. How do I go about getting these represented correctly in Away3D? Is there any way to do this?

   

Avatar
Fabrice Closier, Administrator
Posted: 21 February 2012 10:10 AM   Total Posts: 1265   [ # 1 ]

Loader3D.loadData should do it.

   

loungelizard, Newbie
Posted: 21 February 2012 03:33 PM   Total Posts: 14   [ # 2 ]

Ok the part with getting the mesh data loaded into Away3D is clear but how about the texture/material and retaining UV mapping? I suppose that is what AssetLoaderContext is for? But AssetLoaderContext looks like it is only used for files loaded from disk?

   

loungelizard, Newbie
Posted: 27 February 2012 04:34 AM   Total Posts: 14   [ # 3 ]

any more help on this topic would be greatly appreciated!

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X