收藏
回答

在使用xr-frame中的glft能力的时候遇到报错,不支持instantmesh的glb格式吗?

"GLTF validation failed at [AccessorNode]: [10602] Normalized accessors are not supported."

    at Object.errorReport (WAServiceMainContext.js?t=wechat&s=1715516279542&v=3.3.0:1)

    at Function.thirdErrorReport (WAServiceMainContext.js?t=wechat&s=1715516279542&v=3.3.0:1)

    at Object.thirdErrorReport (WAServiceMainContext.js?t=wechat&s=1715516279542&v=3.3.0:1)

    at a (<anonymous>:1:150830)

    at Object.cb (<anonymous>:1:136677)

    at B._privEmit (<anonymous>:1:104389)

    at B.emit (<anonymous>:1:104679)

    at <anonymous>:1:105484

    at Object.Pe (<anonymous>:1:112280)

    at X (<anonymous>:1:105469)(env: Windows,mp,1.06.2402040; lib: 3.3.0)

a @ VM955:1

(anonymous) @ VM955:1

_privEmit @ VM955:1

emit @ VM955:1

(anonymous) @ VM955:1

Pe @ VM955:1

X @ VM955:1

(anonymous) @ VM955:1

Error: MiniProgramError

"GLTF validation failed at [AccessorNode]: [10602] Normalized accessors are not supported."

    at Object.errorReport (WAServiceMainContext.js?t=wechat&s=1715516279542&v=3.3.0:1)

    at Function.thirdErrorReport (WAServiceMainContext.js?t=wechat&s=1715516279542&v=3.3.0:1)

    at Object.thirdErrorReport (WAServiceMainContext.js?t=wechat&s=1715516279542&v=3.3.0:1)

    at a (<anonymous>:1:150830)

    at Object.cb (<anonymous>:1:136677)

    at B._privEmit (<anonymous>:1:104389)

    at B.emit (<anonymous>:1:104679)

    at <anonymous>:1:105484

    at Object.Pe (<anonymous>:1:112280)

    at X (<anonymous>:1:105469)(env: Windows,mp,1.06.2402040; lib: 3.3.0)

这个模型不支持吗?我使用instantmesh生成的3d模型放里面报错,是需要怎么处理吗?dreamgaussian生成的3d模型都可以,都是ai生成的glb格式,有办法处理吗

回答关注问题邀请回答
收藏

1 个回答

  • 棒棒冰
    棒棒冰
    05-15

    应该是gltf模型特定数据xr-frame解析不支持,校验数据时抛出的错误为"GLTF validation failed at [AccessorNode]: [10602] Normalized accessors are not supported."也就是gltf的accessors启用了normalized。

    在官方文档里https://developers.weixin.qq.com/miniprogram/dev/component/xr-frame/gltf/specification.html 也有提到:

    解决方案是看把模型导出其他格式,比如fbx,再用其他软件比如blender转为gltf

    05-15
    有用
    回复
登录 后发表内容