My main objective is to import a 3D model from 3DS/MAX into WebGL using the powerful Three.js library. I've made progress towards this goal through the following steps.
- Initially tried exporting from MAX plugin exporter straight to Three.js JSON, but encountered issues and it didn't work.
- Exported the MAX model in OBJ format instead.
- Converted the OBJ model to JSON format using Obj2Three.js converter from Three.js.
- This method successfully loads the model in Three.js, but without any textures or images applied.
- Upon inspection of the JSON file, it contains Geometries, Materials, Metadata, and Object sections.
- The Three.ObjectLoader can handle Images and Textures if those sections are defined within the file.
Now, my question arises - how can textures be added to the JSON file? Are there any tools available to facilitate this process?