So is there anyway to get more details on why this object would be failing to load?
I am trying to get a basic exporter written up from c4d, and am pretty close I feel like to at least getting the meshes exported.
here is the babylon file I have generated.
{“sceneName”:“My Scene”,“producer”:{“exporter_version”:“0.1”,“version”:18011,“name”:“Cinema4D”,“file”:“MyScene.babylon”},“autoClear”:1,“shadowGenerators”:[],“cameras”:[],“gravity”:[0.0,-9.81,0.0],“morphTargetManagers”:[],“skeletons”:[],“lights”:[],“materials”:[],“meshes”:[{“indices”:[0,1,3,2,3,5,4,5,7,6,7,1,1,7,5,6,0,2],“positions”:[-98.8,-98.8,-98.8,-98.8,98.8,-98.8,98.8,-98.8,-98.8,98.8,98.8,-98.8,98.8,-98.8,98.8,98.8,98.8,98.8,-98.8,-98.8,98.8,-98.8,98.8,98.8],“normals”:[],“name”:“Cube”,“id”:0}],“clearColor”:[0.5215686559677124,0.30588236451148987,0.47058823704719543],“multiMaterials”:[],“ambientColor”:[0.0,0.0,0.0]}
There is prolly some defaults that I need to include what is the bare minimum I can go with?
https://doc.babylonjs.com/resources/file_format_map_(.babylon)
After reading this, I think I might need to make some changes to the way that I do this and start with the basic stuff like adding a sphere and box instead of a geometry object.
actually think I might have it figured out, but any input will be nice.