three.js - 如何使用 fbxtogltf 从 fbx 导出具有透明材料(alpha)的 glb?
问题描述
我尝试使用以下代码段将 fbx 模型导出到 glb
const convert = require('fbx2gltf');
convert('/home/user/Desktop/projecta/ADELoID/Mercedes_Benz_GLE_class.FBX',
'/home/user/Desktop/projecta/ADELoID/enzo.glb').then(
destPath => {
},
error => {
console.log(error);
}
);
这是生成的文件:https ://drive.google.com/file/d/16Xw03HRlZzjUrIUFzjsiNDwafK9eMJAr/view
当我在https://gltf-viewer.donmccurdy.com/或https://sandbox.babylonjs.com/中查看它时,它显示如下
解决方案
推荐阅读
- php - PHP PostgreSQL PDO 无法使用 LIKE 绑定参数
- google-cloud-platform - Google Cloud IoT Core:从 Google Cloud IoT Core 设备访问 GCP 服务的最佳实践
- plot - 为什么 xmgrace 会忽略我的 X 数据列?
- python - crontab 适用于一个 python 脚本,但不适用于另一个,为什么?
- cypress - Cypress 屏幕截图与 image-snapshot 与 plugin-snapshot 依赖项的比较
- c# - 如何在其他程序集中“扩展”EF 数据模型
- python-3.x - 约束验证无效的django
- excel - 基于标记的特定范围
- javascript - CSS动画打破弹出模式
- regex - 如何编写正则表达式来检查一个字符只能出现一次?