0

I am working on a big 3d model. I want to load its textures once all 3d files has loaded and rendered. So that i load textures one by one and apply them on models. Does anyone knows how to achieve runtime textures loading and applying using actionscript away3d.

Thank you

Mani
  • 101
  • 10

1 Answers1

0

I usually use LoaderMax queues to load all my assets. You could setup one that loads all your bitmaps. You can then listen for individual items load complete or all items load complete and then create your materials and assign them to your meshes.

Also, you need to recursively assign the material to a mesh's SubMeshes ( see subMeshes : Vector. in the Mesh Class) for it to update.