For that you'd need DX and OpenGL interop, i.e. you can share a DXGI resource (i.e. a texture) with OpenGL. There are extensions for that. BUT, on Windows Qt uses libAngle which normally uses DX ...
https://forum.qt.io/topic/159531/using-qt-to-build-an-editor-for-an-opengl-es3-game-engine
Hi, I haven't tested QRhi yet but did you try the RHI Window example to see if things are running on all the backends you have on your machine ?
Can you post a link to the ticket ? It will make it easier to find for other people looking for a similar functionality.
Closed source, sorry. But its not too hard to implement.
https://forum.qt.io/topic/159077/moving-away-from-qt3d-is-qtquick3d-ready
I used X2L for game machine. When I render a1920x1080 image with freeGLUT, I can get fps up to over 100. But in case of QOpenGLWidget, I can't get even 20 fps. So I decided to use X4, but I wa...
@bluezoo Hi again Here is quick fix fully working, I just checked OrbitCameraController.qml code, indeed it has the clipNear and clipFar values hardcoded. Add a new qml file to your project, ca...
https://forum.qt.io/topic/158803/rendering-distance-in-qt-quick-3d
Thanks for the cleanup!
https://forum.qt.io/topic/158403/qt3d-how-to-render-lots-of-lights
Good luck with your game!
@Joshika_Namani Which version of Qt do you use? I think that using Qt6 is a better option but here is a doc for Qt5 https://doc.qt.io/qt-5/qopenglwidget.html if you want to see.
Your speedWalk is not just dependent of the frameTime, but also of the pixelDensity. So far, this seems to be correct to include both of these. However, you might have a higher resolution monitor...
https://forum.qt.io/topic/158259/what-are-good-pratices-about-games-frame-rates-development
@jsulm the sleep call was just to simulate work. Was just messing around to see what would happen. My primary concern is if theres an operation in there that takes some time it will end up taking...
My following Qt 6.6.3 example works on Android, Desktop, and Web (with Qt WebAssembly). It prints data received from the server. The server contains the Box2D-WASM library. It sends the gravity v...
CRITICAL PROBLEMS FOR WEBASSEMBLY Background color of parent window is changed to black: https://bugreports.qt.io/browse/QTBUG-120651 emscripten_request_pointerlock() returns EMSCRIPTEN_RESULT_UN...
@slymas glad you found out and thanks for sharing ! :-)
I opened a source code of getScaling and saw how scaling is calculated there: https://glmatrix.net/docs/mat4.js.html#line1197 export function getScaling(out, mat) { let m11 = mat; let m12 = mat; ...
Hello everyone, I was just passing by to receive your advice. I want to learn to develop games and I have seen on the internet the Tech Tech University and I find it very interesting because it h...
https://forum.qt.io/topic/155014/i-want-to-study-by-distance-learning-do-you-know-tech
@Michele-Rossi Hi. I see that this thread is extensive, but I would also like to express my opinion. When it comes to Qt and 3D, I can recommend you one chapter of the book Mastering Qt. Chapter ...
good. thanks!
https://forum.qt.io/topic/154633/q-qt-c-replacing-material-on-a-qentity
@SGaist Sorry for misleading you. It was not a question. Just a note.
Basically, this is the code, at which the error occurrs: (But it is strange, because this happens indeterministic, or at least quite random after some time... the scene got recreated several tim...
https://forum.qt.io/topic/154583/q-qt-c-unknown-opengl-error
@kevin_d said in Q: Qt - toolTip padding gets lost when showing second time.: > Good, that I know it is not solvable atm. QTBUG-119752 fixed the problem - it works fine for me with Q...
https://forum.qt.io/topic/154486/q-qt-c-tooltip-padding-gets-lost-when-showing-second-time
QSound being asynchronous, you would need to pole its state using the isFinished function and then start the next audio item.
https://forum.qt.io/topic/154440/q-qt-c-texttospeech-is-not-working-when-qsound-plays
@kevin_d It needs repainting because it was (partially) obscured and now needs to be shown fully again, normal windows behaviour.....
https://forum.qt.io/topic/154430/q-qt-c-qdialog-gets-repainted-when-overlay-dialog-closes
Pro tip, always and I mean always be very specific with your Context attributes and with your OpenGL state. With ES2/ES3 the context state is manageable it gets bigger with the desktop GL unf...
@arlyn123 did you find any solution?
https://forum.qt.io/topic/154133/how-to-save-the-state-of-qml-file-using-c