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/
----------------------------------------
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to