[Interest] Qt3D GeometryRenderer TriangleStrip
Volker Enderlein
volker.enderlein at ifm-chemnitz.de
Mon Aug 27 12:18:15 CEST 2018
Am 27/08/2018 um 11:31 schrieb Sean Harmer:
> On 27/08/2018 07:31, Volker Enderlein wrote:
>> Hi,
>>
>>
>> does the Qt3D GeometryRenderer class support TriangleStrip primitives
>> with restartIndexValue separated Strips?
>
> Yes. Set the primitiveType property to LineStrip and you can specify
> the restart index value with
> https://doc.qt.io/qt-5/qt3drender-qgeometryrenderer.html#restartIndexValue-prop.
>
> Cheers,
>
> Sean
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
Thanks, Shawn.
Rereading my question, I think I need to clarify what I'm after.
Is it possible for a single GeometryRenderer with primitiveType
`TriangleStrip` to contain multiple indexed TriangleStrips where the
indexArray entries of the strips are separated by a `restartIndexValue`?
When testing this, I saw some rendering artifacts with Qt 5.10.0.
Apparently (according to my tests) a GeometryRenderer with primitiveType
' Triangles' does support this, but is it supported for primitiveType
`TriangleStrip` too?
Cheers, Volker
--
More information about the Interest
mailing list