Hello,
From what I can tell, UV’s version of three.js that it uses only accepts .json file types to view models. I’ve already attempted to update the thre.js library file on the server. That ends up breaking things. Which means I need a way to convert Blender models into the correct file format. I am having trouble finding a way to output models that I have created as three.js JSON and include UV texture files.
I’ve managed to get a model uploaded and the geometry visible, but no texture files. Error log here:
Failed to load resource: the server responded with a status of 403 ()
4uv.js:3 getAttribution will be deprecated, use getRequiredStatement instead.
n.getAttribution @ uv.js:3
three.min.js:168 THREE.WebGLRenderer 91
uv.js:3 getAttribution will be deprecated, use getRequiredStatement instead.
n.getAttribution @ uv.js:3
three.min.js:718 THREE.MaterialLoader: Undefined texture 8DFC781F-343B-4CAB-A26C-63C7A0491794
b @ three.min.js:718
/files/original/41/*0:1
Failed to load resource: the server responded with a status of 404 ()
On the git hub page, there is an example 3d model titled “The Kiss” to use as an example. I’m able to get that up and running, so I know there is an issue with how my 3D models are being formatted.
If anyone has any resources on how to convert files to the right format or figure out a way to get Universal Viewer to accept GLB (or really any 3d model file type), I would very much appreciate it!