You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As mentioned in my title, in our GLTF, the textures are accessed independently on the CDN. Our 3D engine also supports reading separate image CDN addresses in GLTF/GLB. I hope this tool can support this situation.
Of course, before making this request, I also carefully read the code. The modifications I tried myself may involve four areas.
In .writeResource.js - lines 53 to 55, skip the processing of ForEach.image when supported parameters are active.
In readResource.js - the readResource method, add a check for the 'http(s)' protocol before the final return, and directly return the URI.
In readResource.js - lines 54 to 56, skip the processing of ForEach.image when supported parameters are active.
In FileUrl.js - the fileURLToPath method, add a check for the 'http(s)' protocol between the two conditions, and directly return the path.
Based on the modifications mentioned above, I have successfully run them on my local code. However, a more comprehensive design would ideally be advanced by the official team. Thank you.
Attached is the screenshot of the part of the code I modified.
The text was updated successfully, but these errors were encountered:
As mentioned in my title, in our GLTF, the textures are accessed independently on the CDN. Our 3D engine also supports reading separate image CDN addresses in GLTF/GLB. I hope this tool can support this situation.
Of course, before making this request, I also carefully read the code. The modifications I tried myself may involve four areas.
Based on the modifications mentioned above, I have successfully run them on my local code. However, a more comprehensive design would ideally be advanced by the official team. Thank you.
Attached is the screenshot of the part of the code I modified.
The text was updated successfully, but these errors were encountered: