kovacsv / JSModeler

A JavaScript framework to create and visualize 3D models.
MIT License
655 stars 123 forks source link

Tutorial missing examples of object loading #46

Open sanjayssk opened 5 years ago

sanjayssk commented 5 years ago

I want to try this to load an OBJ/MTL object instead of using three.js ObjectLoader. I can't find an example of doing that. Can you point me to an example that runs locally with just JS script includes (no node.js)?

Thanks.

kovacsv commented 5 years ago

You can operate with the ConvertURLListToJsonData and ConvertJSONDataToThreeMeshes functions like in this example: https://github.com/kovacsv/JSModeler/blob/master/sandbox/importeralltypes.html