GPU Memory leaks when redo update custom QQuick3DGeometry
-
Re: QtQuick3D:How to customize geometry data and update it in real time?
QT6.2.1, I call Quick3DGeometry::clear() before update data, but it can't clear all the previous buffer. Repeat several times and the GPU usage becomes higher and higher when refresh the screen.
see the code in official example: Qt Quick 3D - Custom Geometry Example
-
I read source code and make some change that QQuick3DGeometry::update() can work in a safe way with Immutable vertice and face amount. Notice: If your custom QQuick3DGeometry need to update with Changeable verts and faces or several submesh in one model, it doesn't work. I hope the official will fix this bug as soon as possible.
-
I read source code and make some change that QQuick3DGeometry::update() can work in a safe way with Immutable vertice and face amount. Notice: If your custom QQuick3DGeometry need to update with Changeable verts and faces or several submesh in one model, it doesn't work. I hope the official will fix this bug as soon as possible.
@kleinlee said in GPU Memory leaks when redo update custom QQuick3DGeometry:
I hope the official will fix this bug as soon as possible
Did you report it on Qt Bug Tracker?
-
@kleinlee said in GPU Memory leaks when redo update custom QQuick3DGeometry:
I hope the official will fix this bug as soon as possible
Did you report it on Qt Bug Tracker?