Hi all,
I need to import a 3D model from 3dsMax to away3D. My model has several meshes.
I’ve exported my 3D Max model to OBJ format, then I’ve loaded it in Prefab (version 2.143) and then I’ve exported it as an AWD file in order to load it in my Away3D app.
For the Prefab step of this workflow, I tried first loading my OBJ file without the option “Recenter Model at load”. In Away3D when I check for each mesh of my 3D model :
> bounds : minX, minY, minZ etc.. are given in global coordinates (WorldSpace coordinates)
> (x,y,z) = scenePosition = pivotPoint = scenePosition are all equal to (0,0,0)
> scaling operation on individual meshes are incorrect (relative to some pivotPoint which is not the center oh the mesh).
Because, i had this issue about scaling, I’ve searched the forum and I’ve discovered the Prefab “recenter model at load” With this option checked, I export an new AWD file, and scaling is OK : scaling transformations on each mesh are relative to the center of gravity of each mesh! BUT :
> bounds of each mesh (minX, minY, minZ etc..) are now given in local coordinates relative to the center of gravity of the mesh
> (x,y,z) = scenePosition = pivotPoint = scenePosition are all equal to (0,0,0)
So I don’t have access anymore at WorldSpace coordinates for each mesh of my model. What am I doing wrong? Is it a bug?