[Development] Adding .mtl files into qt3d+qt5.5 based application

Konstantin Ritt ritt.ks at gmail.com
Wed Mar 18 20:48:22 CET 2015

Here is where Sean opens a "3D modelling for dummies" courses :P

Closer to the original topic: there is a SceneLoader that loads a scene
(i.e. obj/dae/blender) and adds the loaded scene elements to the Qt3D
scene, retaining the original relationships (so that all materials assigned
to the mesh will be put to a respective QEntity).
Loading materials alone is something strange.


2015-03-18 16:16 GMT+04:00 Sean Harmer <sean.harmer at kdab.com>:

> Hi,
> On Wednesday 18 Mar 2015 16:59:51 Arjun Das wrote:
> > Hi,
> >
> > One last question on the same topic, I can see that most of the .obj
> files
> > in the examples are created using blender. How were the corresponding
> .webp
> > files created?
> > For instance chest.obj has a corresponding diffuse.webp, so how were
> these
> > webp created. I can see that they are not arbitrary images since they
> > perfectly cover the 3D model (Chest.obj in this case)?
> Right. These are made by defining texture coordinates (uv unwrapping or
> mapping) in a modelling tool such as blender, 3d max, maya etc, and then
> somebody with much more artistic talent than I have paints the texture and
> saves it as an image. So then the texture coordinates saved in the exported
> obj file in conjunction with the texture image (png or webp or whatever)
> then
> gets nicely applied to the geometry when rendered.
> In this case, the chest came from Nobiax:
> https://www.youtube.com/channel/UCMDRuUy1Hg4aoJyBhv_8hrg
> Cheers,
> Sean
> --
> Dr Sean Harmer | sean.harmer at kdab.com | Managing Director UK
> KDAB (UK) Ltd, a KDAB Group company
> Tel. +44 (0)1625 809908; Sweden (HQ) +46-563-540090
> Mobile: +44 (0)7545 140604
> KDAB - Qt Experts
> _______________________________________________
> Development mailing list
> Development at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/development
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20150318/2c3d99d0/attachment.html>

More information about the Development mailing list