04d43947bf
This update introduces a new import method for FBX files using ufbx. If the fbx2gltf import fails, it will use the most recently cached scene from the ufbx import. The process is sped up by introducing threads to load the ufbx portion. Key changes include: - Support for importing geometry helper nodes in FBX files. - Addition of cameras and lights with updated names. - Removal of the fbx importer manager. - Introduction of ModelDocument3D and updates to its methods. - Changes to FBX import options and visibility. - Updating the documentation and handling some errors. - Store the original non-unique node, mesh and animation names in FBX and glTF. Co-Authored-By: bqqbarbhg <bqqbarbhg@gmail.com>
35 lines
733 B
Python
35 lines
733 B
Python
def can_build(env, platform):
|
|
return not env["disable_3d"]
|
|
|
|
|
|
def configure(env):
|
|
pass
|
|
|
|
|
|
def get_doc_classes():
|
|
return [
|
|
"EditorSceneFormatImporterBlend",
|
|
"EditorSceneFormatImporterGLTF",
|
|
"GLTFAccessor",
|
|
"GLTFAnimation",
|
|
"GLTFBufferView",
|
|
"GLTFCamera",
|
|
"GLTFDocument",
|
|
"GLTFDocumentExtension",
|
|
"GLTFDocumentExtensionConvertImporterMesh",
|
|
"GLTFLight",
|
|
"GLTFMesh",
|
|
"GLTFNode",
|
|
"GLTFPhysicsBody",
|
|
"GLTFPhysicsShape",
|
|
"GLTFSkeleton",
|
|
"GLTFSkin",
|
|
"GLTFSpecGloss",
|
|
"GLTFState",
|
|
"GLTFTexture",
|
|
"GLTFTextureSampler",
|
|
]
|
|
|
|
|
|
def get_doc_path():
|
|
return "doc_classes"
|