fix: add support for usd for assimp, #144
This commit is contained in:
parent
d3af9688c6
commit
2057167576
1 changed files with 99 additions and 95 deletions
|
|
@ -42,8 +42,8 @@ export const properties = {
|
|||
"md5mesh",
|
||||
"mdc",
|
||||
"mdl",
|
||||
"mesh",
|
||||
"mesh.xml",
|
||||
"mesh",
|
||||
"mot",
|
||||
"ms3d",
|
||||
"ndo",
|
||||
|
|
@ -66,6 +66,10 @@ export const properties = {
|
|||
"stp",
|
||||
"ter",
|
||||
"uc",
|
||||
"usd",
|
||||
"usda",
|
||||
"usdc",
|
||||
"usdz",
|
||||
"vta",
|
||||
"x",
|
||||
"x3d",
|
||||
|
|
@ -78,30 +82,31 @@ export const properties = {
|
|||
},
|
||||
to: {
|
||||
muxer: [
|
||||
"collada",
|
||||
"x",
|
||||
"stp",
|
||||
"obj",
|
||||
"objnomtl",
|
||||
"stl",
|
||||
"stlb",
|
||||
"ply",
|
||||
"plyb",
|
||||
"3ds",
|
||||
"gltf2",
|
||||
"glb2",
|
||||
"gltf",
|
||||
"glb",
|
||||
"3mf",
|
||||
"assbin",
|
||||
"assjson",
|
||||
"assxml",
|
||||
"x3d",
|
||||
"collada",
|
||||
"dae",
|
||||
"fbx",
|
||||
"fbxa",
|
||||
"glb",
|
||||
"glb2",
|
||||
"gltf",
|
||||
"gltf2",
|
||||
"m3d",
|
||||
"m3da",
|
||||
"3mf",
|
||||
"obj",
|
||||
"objnomtl",
|
||||
"pbrt",
|
||||
"assjson",
|
||||
"ply",
|
||||
"plyb",
|
||||
"stl",
|
||||
"stlb",
|
||||
"stp",
|
||||
"x",
|
||||
"x3d",
|
||||
],
|
||||
},
|
||||
};
|
||||
|
|
@ -116,7 +121,6 @@ export async function convert(
|
|||
): Promise<string> {
|
||||
// let command = "ffmpeg";
|
||||
|
||||
|
||||
const command = `assimp export "${filePath}" "${targetPath}"`;
|
||||
|
||||
return new Promise((resolve, reject) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue