[Interest] Qt3D custom geometry

2017-04-07 Thread Igor Mironchik
Hello, What is wrong in this geometry? I expect vertical triangle, but I got a mess. // 3 distinct vertices QByteArray vertexBufferData; vertexBufferData.resize(3 * (3 + 3 + 3) * sizeof(float)); // Vertices QVector3D v0( 0.0f, 0.0f, 0.0f ); QVector3D v1( -1.0f, 1.0f, 0.0f

[Interest] Qt3DExtras::Qt3DWindow

2017-04-07 Thread Igor Mironchik
Hi, When embedding Qt3DExtras::Qt3DWindow to QWidget based application, i.e. use QWidget * container = QWidget::createWindowContainer( view, q ); in the widget, you have to allocate Qt3DExtras::Qt3DWindow on the heap. Or application will crash on exit. So in main() we need something similar

Re: [Interest] smoothest way to zoom/pan QGraphicsView?

2017-04-07 Thread Ch'Gans
On 7 April 2017 at 19:41, Jean-Michaël Celerier wrote: > In my experience setting a GL viewport makes everything much less snappy (at > least on linux & os x, did not test on windows). > > Here is a video of my software with GL viewport: https://vid.me/kjRe > And without: https://vid.me/e2vu > > A

[Interest] Qt for Android - Multi-Window Support

2017-04-07 Thread Robert Iakobashvili
Hi, Is there any support for Android Multi-Window made or planned? https://developer.android.com/guide/topics/ui/multi-window.html Thank you. Kind regards, Robert ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/lis

Re: [Interest] Qt3D, custom mesh and materials

2017-04-07 Thread Sean Harmer
For completeness, this was due to missing tangent vectors in the custom geometry. Tangents are required for normal mapping materials. Cheers, Sean On 05/04/2017 17:34, Helmut Mülner wrote: Another question for the Qt3D experts: I created a custom mesh by defining the following attributes: po

Re: [Interest] SceneGraph clearing buffers

2017-04-07 Thread Sean Harmer
On 07/04/2017 03:59, Russell, Matthew wrote: Hi Is there a way to have a scene graph (called on beforeRendering) clear the buffers of a Scene3d on top of it? i.e. I have a scene graph under my QML (similar to the Squircle example) where I call glClearColor, and a Scene3d with a RenderSurfac

Re: [Interest] smoothest way to zoom/pan QGraphicsView?

2017-04-07 Thread Jean-Michaël Celerier
In my experience setting a GL viewport makes everything much less snappy (at least on linux & os x, did not test on windows). Here is a video of my software with GL viewport: https://vid.me/kjRe And without: https://vid.me/e2vu As you can see (as far as one can see in such a video), when I move t