AssetLibrary usage?

Software: Away3D 4.x

kurzemnieks, Newbie
Posted: 12 June 2012 11:21 AM   Total Posts: 7

Hello. I have several questions about asset library:

1. How to know when everything is finished loading? Did not find any event or counter to check.

2. I tried loading AWD2 file and noticed that it gets loaded as several assets (materials, textures, geometry data, mesh), but these assets have no references to awd file name or anything to identify them later. I can probaly find what I need by using exact mesh name given in 3dMax or is there a better way?


Also I noticed that there is no normal map support in AWD2 c++ sdk. why is that?

   

Richard Olsson, Administrator
Posted: 12 June 2012 11:39 AM   Total Posts: 1192   [ # 1 ]

1. Listen for RESOURCE_COMPLETE, which will be dispatched after your entire resource (file including any dependencies) has finished loading.

2. You are correct. Use the asset names (which will be the same as in 3ds Max, with the small difference that geometry instances get the string “_geom” appended to their name.)

There is no normal map support in AWD2.0 because there has not been enough time to implement it. It will be in 2.1.

   

kurzemnieks, Newbie
Posted: 12 June 2012 11:43 AM   Total Posts: 7   [ # 2 ]

Heh, thanks, shame on me.. posted too soon, figured out about RESOURCE_COMPLETE event soon after posting first question smile

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X