Hi Fabrice,
Thanks for your quick response. About the normals, we didn’t notice that the coordinates are left-handed, so it’s ok now
However, the issue is still here… The cube size is 512x512x512 units, and it is shown correctly only when we manually set the transform matrix of the model to the identity matrix in Prefab3D, or when we set the scale factor to 1 when the warning occurs. The transform matrix written in the file seems to be ignored.
We attached the new AWD file (with correct normals) and two screenshots :
- WhenOpeningPrefab3D.png is what is shown just after opening the editor (notice that the transform matrix of the model seems to be broken)
- AfterTransformIsSetToIdentity.png is what is shown after we manually set the transform matrix to the identity matrix
Maybe we are missing a factor or a unitfactor somewhere in the API ? If you want, we can send you the CPP sample wich create the cube (the source code is small).
Our goal is to create 3D convertors (e.g. from DAE to AWD) embedded in a Web site, so we only use the editor to test the result of the exporter.
Regards,
Martin & Martin
Cube.zip (File Size: 330KB - Downloads: 176)