QtQuick 3d: how to enable transparency?
-
if in the tutorial "\tutorials\qt3d\penguin_advanced":http://doc.qt.nokia.com/qt-quick3d-snapshot/qt3d-penguin.html load model with a transparent material, it appears as a normal material. ("test model":https://github.com/assimp/assimp/blob/master/test/models/3DS/cubes_with_alpha.3DS)
how to enable the transparency? -
Apparently the Qt Quick 3d importer is still incomplete and doesn't handle transparency yet. You sometimes work around this from within the QML file.
Try having a look at "this video":http://labs.qt.nokia.com/2011/08/24/qt-quick-3d-tutorial-video/ . They cover "fixing" the glass in a car model so it is semi-transparent.
Hopefully that might be of some use.