> Where can I get the same parser as prefab uses?
are you rich? :))

no, its the same parser, same on everything except for 4 things:
1: Prefab is very gentle :) meaning here, it's not the runtime for your 
project, it does all it can to help you pin point errors.
Away API for runtime, assumes you have propper data, as the checks Prefab does, 
are costly.
2: Prefab does check your possibly faulty names for meshes or containers, It 
also ensure you have no doubles. 
3: null maps for faulty urls are catched and default map is applied.
4: next to this, all meshes loaded in Prefab are submitted to geometry checks 
at uv, vertex, face and material level.

In your case, I think the faulty urls are in the game... as names correction or 
unvalid geometry would have triggered
a warning message or a window displaying the faulty names. Look in log what's 
happening... I've added since update 1.440 update
extra dumps to the log for this evil collada format. Chances are high it's 
notified in there.

Fabrice


On Dec 22, 2010, at 3:21 PM, banal wrote:

> Hi Devs
> 
> I'm using the current Away3D version from trunk and I have problems
> loading a Collada file (exported from Blender, generates a null
> reference error). Loading the exact same file in Prefab works
> however...
> 
> The error happens in away3d/loaders/Collada.as. Other files (exported
> from Maya) work fine.
> 
> So what I'm wondering is: why does it loads my file in Prefab? Where
> can I get the same parser as prefab uses? :-)
> 
> 

Reply via email to