[Interest] Qt3D setting LineWidth per GeometryRenderer/Entity

Volker Enderlein volker.enderlein at ifm-chemnitz.de
Wed Feb 6 10:17:06 CET 2019


Thanks Mike and Sean for your valuable input. It helps me to shape my 
solution.

Cheers, Volker

Am 06.02.2019 um 09:56 schrieb Mike Krus:
> Hi
>
> 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…
>
>
> Mike
>
>
>> 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
>

-- 




More information about the Interest mailing list