Hi,

I have a custom QSGGeometryNode that renders several elements using triangles.

Each element is composed by 4 rectangles, this means that each element needs 
6x4=24 vertices.

If there are more than a certain number of elements to be drawn, artefacts pop 
up. This artefacts are characterised by lines that connect to the origin, or 
with vertices on other elements.

I have stumbled on this issue when rendering a scene with roughly 3800 
elements, which require 91200 vertices. I’m using colored point 2d vertices. 


Are there limits to the number of vertices that can be allocated on a 
QSGGeometry?

Thanks!

Nuno
_______________________________________________
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest

Reply via email to