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...
Tabes asked 13/12, 2018 at 18:56

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...
Eleventh asked 20/4, 2017 at 10:40

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 ...
Am‚lie 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...
Chops asked 1/8, 2017 at 9:30

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...
Sommer asked 24/12, 2019 at 6:0

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...
Solecism asked 6/7, 2020 at 10:23

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...
Subcartilaginous asked 8/3, 2020 at 9:8

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...
Williford asked 3/3, 2020 at 14:19

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 ...
Admixture asked 21/12, 2019 at 14:48

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....
Scrappy asked 5/3, 2019 at 10:58

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...
Godevil asked 28/6, 2016 at 5:38

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...
Ula asked 8/10, 2018 at 10:36

1

Solved

How can I draw the outline of an object on top of any other object in Qt3D? For instance to highlight a selected object in a 3D editor?
Behest asked 29/9, 2018 at 13:0

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...
Malathion asked 23/8, 2018 at 5:57

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....
Tews asked 13/8, 2018 at 8:55

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...
Comitative asked 19/7, 2018 at 12:26

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 ...
Openhanded asked 24/5, 2016 at 18:37

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...
Partain asked 6/12, 2017 at 14:19

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...
Butterball asked 22/4, 2014 at 22:0

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

I am looking for the best way to create a billboard in Qt3D. I would like a plane which faces the camera wherever it is and does not change sized when the camera dollies forward or back. I have rea...
Neilson asked 18/10, 2017 at 23:49

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...
Usurpation asked 10/10, 2017 at 13:25

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...
Harrelson asked 6/10, 2017 at 18:59

1

Solved

In my open source project I have setup a deferred rendering pipeline using Qt3D. So far so good, but now I'd like to move forward by adding spotlights projection volume. (e.g. as if there is smoke ...
Servomotor asked 20/8, 2017 at 14:53

© 2022 - 2024 — McMap. All rights reserved.