Load FBX characters directly: in-app conversion to GLB
The model button now accepts .fbx too: a new model:convert IPC runs Blender with scripts/fbx2modelglb.py (mesh + skin kept, animations dropped, embedded diffuse recovered even when the FBX references missing external textures) into userData/models3d, then the resulting GLB loads as usual. anim/model conversion share one convertFbx helper. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
a5c0a8b297
commit
d329759961
6 files changed
+93
-19
No files matched your search
+2
-1
@@ -38,7 +38,8 @@ contextBridge.exposeInMainWorld('djv', {
|
||||
peaks: (path, buckets) => ipcRenderer.invoke('audio:peaks', path, buckets),
|
||||
// Ask macOS for camera permission (interactive family) right before use.
|
||||
camAccess: () => ipcRenderer.invoke('cam:ensure'),
|
||||
// Convert a Mixamo FBX animation to a library GLB clip (via Blender).
|
||||
// Convert Mixamo FBX files via Blender: animation clips / character models.
|
||||
convertAnim: (p) => ipcRenderer.invoke('anim:convert', p),
|
||||
convertModel: (p) => ipcRenderer.invoke('model:convert', p),
|
||||
readFile: (path) => ipcRenderer.invoke('file:read', path)
|
||||
});
|
||||
Reference in new issue
Block a user