[Interest] OBJ+MTL loaders for Canvas3D/Three.js

privet56 hotmail.com privet56 at hotmail.com
Tue Jan 31 20:41:16 CET 2017


Hi,


I extended the js-Files of Qt Canvas3D: adjusted the OBJ+MTL loaders of THREE.js and used these in my demo project with QtCanvas3D.

The two added files work fine in my demo project, on the desktop and on android (see below referenced pics).

I would like to ask you to add these two files to the official Qt repository (eg. into %QTDIR%\Examples\Qt-5.x\canvas3d\3rdparty\ ),
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.js

The demo project in action on Android:
http://privet.bplaced.net/temp/BunnyAndQloud.with.Canvas3D.and.OBJMTL.android.png

The demo project build for win64 is downloadable on
https://github.com/privet56/BunnyAndQloud/releases/tag/v0.0.5

I Would be happy if the extension would be useful!


--------- original post:-------------
https://forum.qt.io/topic/75626/canvas3d-extension-for-obj-mtl/
----------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20170131/9d9bf8ac/attachment.html>


More information about the Interest mailing list