[Interest] [Qt3D] Crash when trying to update a geometry
Xavier Bigand
flamaros.xavier at gmail.com
Mon Mar 28 00:43:16 CEST 2016
No I didn't but I will. Like you thought it's not an easy change because we
still fix/update our engine, for the moment qt3d is a long term project and
I have to do modifications with care to be able to merge them on my qt3d
branch.
Removing those lines is one of things that made us choosing qt3d to replace
our 3D engine, that can be hard to keep sync with Qt updates (that we use
for QML right now).
Thank you for your help.
2016-03-28 0:13 GMT+02:00 Adrián Chaves Fernández <adriyetichaves at gmail.com>
:
> From someone who has no idea: Have you tried commenting out those lines to
> find out whether that is the reason or not? (Unless, of course, other code
> of yours will fail if you do)
>
> 2016-03-26 23:50 GMT+01:00 Xavier Bigand <flamaros.xavier at gmail.com>:
>
>> May it come from the fact that we force Qt to use OpenGL and remove
>> multi-threaded scene graph?
>>
>> qputenv("QML_FORCE_THREADED_RENDERER", "0");
>>
>> qputenv("QML_BAD_GUI_RENDER_LOOP", "1");
>>
>> qputenv("QSG_RENDER_LOOP", "basic");
>>
>>
>> QGuiApplication::setAttribute(Qt::AA_UseDesktopOpenGL, true);
>>
>>
>>
>> 2016-03-26 23:39 GMT+01:00 Xavier Bigand <flamaros.xavier at gmail.com>:
>>
>>> I am getting curious errors in the console :
>>>
>>> ASSERT failure in QVector<T>::at: "index out of range", file c:\Users\qt\work\install\include/QtCore/qvector.h,
>>> line 419
>>>
>>> ASSERT failure in QVector<T>::at: "index out of range", file c:\Users\qt\work\install\include/QtCore/qvector.h,
>>> line 419
>>>
>>> ASSERT failure in QVector<T>::at: "index out of range", file c:\Users\qt\work\install\include/QtCore/qvector.h,
>>> line 419
>>>
>>> ASSERT failure in QVector<T>::at: "index out of range", file c:\Users\qt\work\install\include/QtCore/qvector.h,
>>> line 419
>>>
>>> Invalid parameter passed to C runtime function.
>>>
>>> Invalid parameter passed to C runtime function.
>>>
>>> Invalid parameter passed to C runtime function.
>>>
>>> Invalid parameter passed to C runtime function.
>>>
>>> Invalid parameter passed to C runtime function.
>>>
>>> Invalid parameter passed to C runtime function.
>>>
>>> Invalid parameter passed to C runtime function.
>>>
>>> Invalid parameter passed to C runtime function.
>>>
>>>
>>>
>>>
>>>
>>> 2016-03-26 23:07 GMT+01:00 Xavier Bigand <flamaros.xavier at gmail.com>:
>>>
>>>> Hi,
>>>>
>>>> I am creating a mesh empty and try to update it later, I don't
>>>> understand why it crash.
>>>>
>>>> The crash happens in Qt3DCore::QBackendNode.
>>>>
>>>> I update the mesh by calling setData on the vertexBuffer and setCount
>>>> on the corresponding attributs. I do the same for the indexBuffer.
>>>>
>>>> May I do something wrong?
>>>>
>>>>
>>>> --
>>>> Xavier
>>>>
>>>
>>>
>>>
>>> --
>>> Xavier
>>>
>>
>>
>>
>> --
>> Xavier
>>
>> _______________________________________________
>> Interest mailing list
>> Interest at qt-project.org
>> http://lists.qt-project.org/mailman/listinfo/interest
>>
>>
>
--
Xavier
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20160328/a13f229a/attachment.html>
More information about the Interest
mailing list