Comments (6)
I will prepare a PR. I think I have found a solution.
from qt3d-offscreenrenderer.
i've just found out, that this bug also present in yours example. If you move any entity to 0 0 0 point, rotate and scale it, for example, like this:
// scenemodifier.cpp
cylinderTransform->setScale(1.0f);
cylinderTransform->setRotationX(13);
cylinderTransform->setRotationY(-6);
cylinderTransform->setRotationZ(-1);
cylinderTransform->setTranslation(QVector3D(0.0f, 0.0f, 0.0));
from qt3d-offscreenrenderer.
I don't have time to look into this issue at the moment as I'm currently writing my master's thesis. One thing you could try is to add the objects in the same manner to the original basic shapes example.
from qt3d-offscreenrenderer.
I just read your issue again and feel like I've experienced this bug in other contexts (i.e. without offscreen rendering), too. Is there any update from your side on this? Might be fixed in newer Qt versions.
from qt3d-offscreenrenderer.
Tested on Qt 5.15.2 and the bug is still there. Some remarks:
- It may be related to this issue: Qt3d: Artifacts of displaying when applied Qt3DRender::QLayerFilter "At a certain position of the red sphere, an artifact appears, which looks like display from the another camera in coordinates (0.0, 0.0, 0.0)."
- Same objects with
Qt3DExtras::Qt3DWindow
draw correctly
from qt3d-offscreenrenderer.
I remember I had a similar issue somewhere else and the solution in the link you posted to add a QNoDraw
node worked back then but it doesn't seem to do the trick here in this case which.
from qt3d-offscreenrenderer.
Related Issues (5)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qt3d-offscreenrenderer.