我想下载3D文件(.dae),然后打开,但失败了,根据以下提示:SceneKit IO:错误,此平台不支持COLLADA文件。
我在互联网上找到了一些答案,有人说你需要执行一些脚本文件,是否意味着服务器必须使用Mac,谁知道其他什么?
我在网上搜索了很长时间。但没用。请帮助或尝试提供一些如何实现此目的的想法
提前致谢。
答案 0 :(得分:1)
根据AddAudioEffect(System.String activatableClassId, System.Boolean effectRequired, IPropertySet configuration)
,您无法在运行时直接导入.dae
个文件。您应该将.scnassets
个文件转换为.dae
。
您有两个选择:
在上传到服务器之前转换var onEnableHelpCheckChange = function() {
// Checking weather checkbox is checked
if ($("#enable-help").prop('checked') === true) {
$('#nav-help-img').attr('src','/assets/images/help-1.png');
appendPreviousImages();
// bind custom context menu
$('#helpDiv').on("mousedown", function (event) {
if(isAnyPopOver2Visible){
if(!$(this).closest('#popover-output-div').length){
$('.helpBtn').popover('hide');
}
isAnyPopOver2Visible = false;
}
});
}
};
个文件。所以,没有必要使用mac服务器。
订购mac服务器,配置服务器自动转换所有COLLADA文件。