qt3d Questions
2
Ubuntu 18.04.1 operating system, QT version 5.12
After starting the program that shows the 3D window, the console is written the following warning:
QStandardPaths: XDG_RUNTIME_DIR not set, defaul...
1
my Problem: i load a 3D-Model into a QMesh:
Qt3DRender::QMesh *mesh;
mesh->setSource(QUrl(QStringLiteral("qrc:/new/prefix1/ata.obj")));
This works at the moment.
Now I search a function that...
2
I'm using the new Qt 3D API to display a 3D scene during a computationally intense calculation. This scene only changes as a response to user input. However, the default behavior of Qt 3D seems to ...
Amlie asked 13/7, 2016 at 0:53
1
Qt3D documentation is increasing but still lacking some information especially on how to do things without Qml/QtQuick. After heavily searching the web about rendering a mesh in wireframe mode, I f...
2
I am trying to use layer filtering as shown in this answer. For this I wrote a simple test (see below). This is a continuation of the question.
At a certain position of the red sphere, an artifact...
1
Solved
I am trying to setup a Qt3DWindow with multiple viewports using C++. According to the documentation and the provided QML example, all I need to do is create a framegraph, where a main QViewport obj...
1
Solved
I'm diving into Qt3D framework and have decided to replicate a simplified version of this c++ example
Unfortunately, I don't see a torus mesh on application start.
I've created all required entiti...
0
I have a Scene3D where I dynamically add an entity which has an ObjectPicker, via this helper class' Scene3DViewHelper::addCuboid() slot:
scene3dviewhelper.h:
#ifndef SCENE3DVIEWHELPER_H
#define SC...
1
I am trying to use layer filtering as shown in this answer. For this I wrote a simple test (see below).
if I transfer code from a My3DWindow class to a main.cpp - this code is worked.
Where is the ...
3
Solved
I have a function that draws triangles through OpenGL
I draw two triangles by pressing a button (function on_drawMapPushButton_clicked()).
Then i draw a sphere that placed above these triangles....
3
Solved
I feel like this should be pretty straightforward, but for my life I can't figure out how to draw a basic line using Qt 3D. The only guidance I've been able to find on the subject is this obscure v...
1
Solved
I am trying to create a customizable Qt3D component by merging three ConeMeshes into a single entity. The user must be able to interact with the custom entity, so I have added an ObjectPicker to th...
1
Solved
1
Solved
I create a Qt3D mesh like this:
Qt3DCore::QEntity *newEntity = new Qt3DCore::QEntity();
Qt3DExtras::QConeMesh *mesh =new Qt3DExtras::QConeMesh();
mesh->setTopRadius(0.2);
mesh->setBottomRadi...
Obaza asked 27/8, 2018 at 12:52
1
Solved
On Qt3D, an entity can have these two components:
Qt3DRender::QGeometryRenderer component which contains the mesh geometry data like vertex positions and normals.
Qt3DCore::QTransform component w...
1
Solved
It seems to me that Qt3D cannot render 2D meshes well. To see what I mean open the shadow map QML example and change the camera controller from FirstPersonCameraController to OrbitCameraController....
2
Solved
I want to get mouse events (like mouse position) on a Qt3D Window, every time I click inside the window.
I've seen this question (also the same question on this forum) but my Qt3DWindow is not ins...
1
Is it possible to do handle mouse input in qt3d in c++? I am able to do so using qml using a sample in the qt3d repo
https://github.com/qtproject/qt3d/tree/5.6/examples/qt3d/mouseinput-qml
There ...
2
I want to not draw some objects on the scene. In normal OpenGL we have just to not call function related to drawing the mesh.
Unfortunately I didn't found this "functionality" in the QML. The Enti...
2
I enjoy using Qt3D, but all of the examples I see for it are full window applications. What I can't understand from the examples is how to add a qt3d rendering window to a regular qt gui applicatio...
1
Solved
My task: Calculate the pixel coordinates (e.g. make a snapshot) of a 3D mesh to find the 2D shape of this mesh from a specific camera angle.
I'm currently using Qt3D with a QGeometryRenderer to re...
Kissel asked 11/1, 2018 at 12:27
1
Solved
2
Solved
I am developing an application using Qt3D and need to access raw vertex data via C++. I am using the QObjectPicker for raypointing, but since the data is specialized (I have developed an importer t...
1
Solved
I am writing an application using Qt3D. Most of the 3D handling I have been doing has used QML not the C++ interface. I have created a QML effect that loads my shader programs similar to the PerVer...
1
Solved
1 Next >
© 2022 - 2024 — McMap. All rights reserved.