I successfully exported a single object (box.json) and scene (box2.json) from Blender using io_three. Additionally, I was able to load a single object (box.json) with textures using JSONLoader() in the modelWithTexture.html file.
My goal is to load an entire scene with all textured objects, lights, and camera into three.js. So far, I have been able to load the scene with objects and lights, but without textures using ObjectLoader() in the scene_noTextures.html file, and now I am facing a challenge.
All the files mentioned above, along with the .blend file used in this example, can be found here:
I did come across a similar question with an answer on Stack Overflow: Is three.js ObjectLoader capable of loading textures?
However, the GitHub dev branch contains numerous files that are unfamiliar to me, and I'm unsure how to utilize them effectively.
If you could assist me in enhancing my code to achieve my objective, I would greatly appreciate it. (Please note that the code I shared is not mine; I simply borrowed snippets from tutorials based on what I've learned so far.)
Thank you for your help.