[Interest] How to combine glLineWidth call with Qt3D in QML?

Bin Chen bchen at topcon.com
Wed Sep 9 10:56:18 CEST 2015


Thanks Guys,

I will try that. 

Cheers, 


陳斌
Bin Chen

> On 9 Sep 2015, at 6:44 pm, Sean Harmer <sean.harmer at kdab.com> wrote:
> 
>> On Wednesday 09 Sep 2015 10:17:13 Björn Breitmeyer wrote:
>> Hi,
>> 
>> you shouldn't rely on glLineWidth at all. It works only for a very limited
>> amount of values, if at all. Its a deprecated feature, if you want thick
>> lines you will need to create a triangle strip.
> 
> Good point. I was thinking about compatibility profile but let's not go there. 
> So yeah creating a triangle strip or even volumetric lines is the way to go 
> for stand alone lines. For lines super imposed upon other geometry you can 
> also use the technique shown in the wireframe example.
> 
> Cheers,
> 
> Sean
> -- 
> Dr Sean Harmer | sean.harmer at kdab.com | Managing Director UK
> KDAB (UK) Ltd, a KDAB Group company
> Tel. +44 (0)1625 809908; Sweden (HQ) +46-563-540090
> Mobile: +44 (0)7545 140604
> KDAB - Qt Experts
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest



More information about the Interest mailing list