Canvas3D extension for OBJ/MTL
-
Hi,
I extended the js-Files of Qt Canvas3D: adjusted the OBJ+MTL loaders of THREE and used these in my demo project.
The two added files work fine in my demo project, on the desktop and on android (see below pics).I would like to ask you to add these two files to the official Qt repository,
so that the OBJ/MTL loaders would be available for everybody in the next Qt release.Would that be possible?
The 2 js files necessary for loading obj+mtl files:
https://github.com/privet56/BunnyAndQloud/blob/master/3d/js/MTLLoader.js
https://github.com/privet56/BunnyAndQloud/blob/master/3d/js/OBJLoader.jsThe demo project in action on Android:
http://privet.bplaced.net/temp/BunnyAndQloud.with.Canvas3D.and.OBJMTL.android.pngThe demo project build for win64 is downloadable on
https://github.com/privet56/BunnyAndQloud/releases/tag/v0.0.5
(a WIP version)Would be happy if the extension would be useful,