[Interest] Qt3D setting LineWidth per GeometryRenderer/Entity

Mike Krus mike.krus at kdab.com
Wed Feb 6 09:57:52 CET 2019


you should be able to control that using a  QLineWidth render state. And yes, that would require custom material or frame graph.

The raycasting-qml manual test that ships with Qt3D shows an example of creating a simple flat shading material for lines, would be easy to add line width control to that…


> On 6 Feb 2019, at 08:20, Volker Enderlein <volker.enderlein at ifm-chemnitz.de> wrote:
> Hi all,
> is it possible to set the LineWidth of a GeometryRenderer of primitive tpye Lines or do I need a Custom Material/Effect/FrameGraph node to achieve this?
> Thanks for enlightening.
> Cheers, Volker
> -- 
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> https://lists.qt-project.org/listinfo/interest

Mike Krus | mike.krus at kdab.com | Senior Software Engineer
KDAB (UK) Ltd., a KDAB Group company
Tel: UK Office +44 1625 809908   Mobile +44 7833 491941
KDAB - The Qt Experts, C++, OpenGL Experts

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4166 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20190206/76d23e7f/attachment.bin>

More information about the Interest mailing list