Hi, Guys, I am evaluating Qt3D with a new project. I wrote a customised Qt3D object for loading and displaying triangle mesh lines in 3d scene and wondering where I can put in glLineWidth to change the line width.
What I am doing is inheriting from Qt3D::QAbstractMesh, and providing a Qt3D::QAbstractMeshFunctorPtr to return Qt3D::QMeshData constructed with Qt3D::QMeshData::Lines. I can’t find anywhere I can specify the line width in any Qt3D QML objects. I know I can achieve that by shaders but I think using glLineWidth is a simpler way to do it. Does Qt3D allow me to specify any OpenGL function calls during rendering for a particular object? Thanks very much! Bin Chen _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest