Re: [Interest] Drawing a dashed line with Qt Quick 3D

2021-05-30 Thread joao morgado via Interest
regards,Laszlo From: Interest on behalf of joao morgado via Interest Sent: Friday, May 28, 2021 6:07 PM To: interest@qt-project.org Subject: [Interest] Drawing a dashed line with Qt Quick 3D I'm trying to make a dashed line in quick3d. I made the line with QQuick3DGeometry, and exposed it

Re: [Interest] Drawing a dashed line with Qt Quick 3D

2021-05-28 Thread joao morgado via Interest
), Attribute::F32Type); Best regards,Laszlo From: Interest on behalf of joao morgado via Interest Sent: Friday, May 28, 2021 6:07 PM To: interest@qt-project.org Subject: [Interest] Drawing a dashed line with Qt Quick 3D I'm trying to make a dashed line in quick3d. I made the line with QQuick3DGeo

Re: [Interest] Drawing a dashed line with Qt Quick 3D

2021-05-28 Thread Laszlo Agocs
::Attribute::TexCoord0Semantic, 3 * sizeof(float), Attribute::F32Type); Best regards, Laszlo From: Interest on behalf of joao morgado via Interest Sent: Friday, May 28, 2021 6:07 PM To: interest@qt-project.org Subject: [Interest] Drawing a dashed line with Qt

[Interest] Drawing a dashed line with Qt Quick 3D

2021-05-28 Thread joao morgado via Interest
I'm trying to make a dashed line in quick3d. I made the line with  QQuick3DGeometry, and exposed it to qml, all good.Then I tried to apply a  custom texture with QQuick3DTextureData, using a texture made with 2 colors with size of 2x1 pixels, but I only get to see the first color.  I sucessfully