Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]: 加载obj文件失败 #373

Open
tunghsingw opened this issue Feb 18, 2024 · 0 comments
Open

[BUG]: 加载obj文件失败 #373

tunghsingw opened this issue Feb 18, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@tunghsingw
Copy link

Bug描述

加载一个obj文件,加载完成后报错,不能显示模型

报错截图

image

测试引擎版本:

Engine Version 0.7.2

本机系统 (请填写完整):

  • OS:win
  • Browser: chrome
  • Version: 121.0.6167.185 (Official Build) (64-bit)

代码示例

// 前面初始化部分已省略
let data = await Engine3D.res.loadObj(url, {
    onComplete: () => { console.log('load complete') },
    onProgress: (progress) => { console.log('load progress:', progress) },
    onError: (error) => { console.log('load error:', error) }
});
scene3D.addChild(data);

相关模型

heel.zip

@tunghsingw tunghsingw added the bug Something isn't working label Feb 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant