Hi,

On 23/02/2016 07:04, Jordon Wu wrote:
Hi list all,

I'm begin study qt3d(qt5.5 version) now. And I want to found some examples about 3d model mesh and sub mesh operation.

I google found a good example QtQuick3D Tutorial - Car3D ( http://www.youtube.com/watch?v=VvQ_NHKtHwE ), but this qt3d is V1.0 and the example did not run on qt3d 5.5 or later.

Has anyone know where could found example about qt3d to operate 3d model mesh and sub mesh like above Car3D examples ? Thanks

Well, in making of this car demo, https://www.youtube.com/watch?v=zCBESbHSR1k we simply exported the submeshes we needed explicit control over as separate obj files and loaded each one usign a Mesh component aggregated to an Entity. Each Entity has it's own Transform component that we then bind properties to QML expressions that reference the Qt Quick Controls, e.g. slider values or boolean switches.

You can also have all meshes in a single OBJ file and reference the sub mesh you wish to render in the Mesh component. We tried this but found it to be better to split them out as it allows more work to be done in parallel at start up, leading to faster startup times.

Cheers,

Sean



Best Regards

Jordon Wu



_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to