I think it is a bug[Maybe]. I exported a 3ds file contained a model without any texture(a teapot) from 3ds max. When I load it with loader3D at runtime, it cant be loaded into scene. its property “numChildren” is always zero. I think it should be not like this. so I modify the function named “buildMaterials” in Max3DSParser class as below:
——————————————————————————————-
var assetLoaderContext:AssetLoaderContext = new AssetLoaderContext(false);
_loader.loadData(data, new Max3DSParser(), assetLoaderContext);
——————————————————————————————-
private function buildMaterials():void
{
var md:MaterialDefinition;
var m:Mesh;
var matLength:uint = _materialList.length;
var i:uint;
var j:uint;
var matref:MaterialRef;
var bmMaterial:BitmapMaterial;
for(i = 0;i> 0){
for(j = 0;j
LOADING 3DS BUG IN AWAY3D FP11Software: Away3D 4.x |
||
Jack, Newbie
Posted: 10 October 2011 02:09 AM Total Posts: 3
|
||
|
||
bart_the_13th, Newbie
Posted: 10 October 2011 07:43 AM Total Posts: 14 [ # 2 ] I found that reducing the frameLimit in the parseByteAsync (in ParserBase.as) can solve the parser problem, try to reducing it from 30 to something below 5. |
||
|