Questions tagged [qt3d]
Qt 3D is a Qt module providing high level 3D scene rendering using OpenGL for Qt/QML applications.
qt3d
417
questions
0
votes
0
answers
11
views
QCameraViewFinder (with Webcam) interfering with Qt3D (stops rendering when QCamera is started)
I've recently developed a visualization for some of my robotics work using Qt3D. The visualization is based on the Qt3DExtras::Qt3DWindow class and contains several STL files.
auto * layout = new ...
0
votes
0
answers
29
views
Set CullFace to Front and Back in Qt3D - issue with ActiveFrameGraph
I want my textured mesh (non-manifold) to display the texture color on both outside and inside faces (it currently displays as completely white inside)
I have found from this 6-year-old post that I ...
1
vote
2
answers
51
views
Texture (QTexture2D) from image file applied to Qt3D mesh appears as plain gray - Python
I am trying to apply a texture from a jpg file to a mesh (.obj file).
Both files originate from a 3D scanner and can be open in 3D tools, showing correctly.
How can I get a Qt3D mesh object to ...
0
votes
1
answer
48
views
OpenGL: Qt3D.Renderer.OpenGL.Backend: Unable to find suitable Texture Unit for "diffuseTexture" solution
I am using QT 5.15.10 to render a 3d model (Collada dae file format)
When I try to load the file, the above OpenGL: Qt3D.Renderer.OpenGL.Backend: Unable to find suitable Texture Unit for "...
0
votes
2
answers
87
views
Example program which uses QClipPlane from Qt3D
I'm looking for some example code of how to use QClipPlane, which is part of the Qt3D framework: https://doc.qt.io/qt-5/qt3drender-qclipplane.html.
I can take the "basicshapes-cpp" demo ...
0
votes
0
answers
60
views
QOpenGLContext in PyQT with Multiprocessing
I have have hit a roadblock as my mix of knowledge of Python, OpenGL and googling is not enough to find a solution to the following problem.
I need to use multiprocessing (or a spawn instance of ...
0
votes
0
answers
89
views
Qt3D custom Mesh and Texture issue
I am currently trying to implement a rendered Golf ball with C++ and Qt3D to an application, I am able to load the mesh, the normal map and the texture.
Unfortunately when I try to combine these 3, ...
0
votes
0
answers
67
views
Ray casting issues with PySide6 and Qt3D
I am trying to perform continuous raycasting in pyside6. I mostly followed example with fixes from this question, but translated it to python.
My enviroment params:
Windows 10, Python 3.11, PySide6 6....
0
votes
0
answers
50
views
Migrating 3D Project from QT 5.4.0 to QT 6 with QT3D: File Format Recommendations
I am working on a project where we have QML and 3D components, and we are currently using QT version 5.4.0. I am in the process of porting it to QT 6 and considering the use of QT3D.
With our current ...
0
votes
0
answers
89
views
Transform texture for QML Qt3D material
In my project I have to set some textures for models and configure their orientation. I'm using Qt 5.15 for now.
I managed to put some texture for DiffuseSpecularMaterial setting its diffuse: property ...
0
votes
0
answers
121
views
Draw lines in Qt3D in Python
I'm tries genreate simple wireframe object in Qt3D and I fail every time. I'm very new in Qt3D and don't know many things, so even one simple example will be helpful.
I do not know if it will be ...
1
vote
0
answers
83
views
Multiple objects with same material Qt3D
I dynamically generate 3D objects with the same material (around 100 objects). Creating a material for each individual object consumes a significant amount of memory. Is there a way to use one "...
0
votes
0
answers
31
views
`QMesh` index buffer stride is 0
I'm trying to load a triangulated .obj file using Qt3D's QMesh loader, like so:
auto *mesh = new Qt3DRender::QMesh();
mesh->setSource(path);
connect(
mesh,
&Qt3DRender::QMesh::...
0
votes
0
answers
67
views
Qt3D signal not sent or not caught
Based on the official example given in Qt, I try to catch keys inputs using Qt3DInput::QKeyboardHandler.
So after the following piece of code:
Qt3DCore::QTransform *sphereTransform = new Qt3DCore::...
2
votes
1
answer
111
views
QText2DEntity Does not Render
I have a couple of questions, all surrounding the QText2DItem and while I'm unable to get a MWE in the time that I have to perform this task, I'm hoping to hear some speculation on what could fix the ...