Re: [Interest] [QT3d] Does anyone have any idea how to position a light in C++?

2016-06-11 Thread Oleg Evseev
Example "lights" is not what are you looking for? This is in qml but obviously it is not so hard to write it in c++ just add components QTransform and QPointLight (or SpotLight) to the QEntity and it will work. Regards, Oleg. 2016-06-11 13:43 GMT+03:00 Pierre Chicoine

Re: [Interest] [QT3d] Does anyone have any idea how to position a light in C++?

2016-06-11 Thread Oleg Evseev
oine <pierrechicoine...@gmail.com>: > With a point light, did you mean add a point light and transform to every > entity or to the root entity to light the whole scene with one transform? > > Thanks for the reply Oleg. > On Jun 11, 2016 3:52 AM, "Oleg Evseev" <ev.m...@gmai

Re: [Interest] [Qt3D] Troubles to migrate to Qt5.7rc

2016-06-09 Thread Oleg Evseev
I have the following in my app on qt 5.6: // FrameGraph QFrameGraph *frameGraph = new QFrameGraph(); QViewport *viewport = new QViewport(); viewport->setRect(QRectF(0.0f, 0.0f, 1.0f, 1.0f)); viewport->setClearColor(QColor("light blue")); QLayerFilter *layerFilter = new

Re: [Interest] [QT3d] Does anyone have any idea how to position a light in C++?

2016-06-11 Thread Oleg Evseev
mponent(pLightQTransform); > > pLightQTransform->setTranslation(QVector3D(0,0,300)); > > > > > On Sat, Jun 11, 2016 at 4:11 AM, Oleg Evseev <ev.m...@gmail.com> wrote: > >> Create new entity with transform and light components, add this entity to >>

Re: [Interest] How to set absolute Qt3D::QCamera rotation/orientation

2016-06-17 Thread Oleg Evseev
Qt3DRender::QCamera as an QEntity has QTransform component. You can get it with help of Qt3DCore::QTransform *transform() const function and then setTranslation, setRotation or setMatrix for it as you wish. Maybe that is what are you looking for? Regards, Oleg. 2016-06-08 14:32 GMT+03:00 Ola

Re: [Interest] [Qt 3D] Entities with custom meshes disappear when there are many of them in one place

2016-06-17 Thread Oleg Evseev
/QTBUG-53935 Regards, Oleg 2016-05-01 23:57 GMT+03:00 Oleg Evseev <ev.m...@gmail.com>: > Hi, > > Not going into details just the main point: > > In my scene I have huge ground plane and on top of it I draw car path. > I break path mesh into peaces, create new entit

[Interest] [Qt3D] FirstPersonCameraController not working in Scene3D-loader

2016-04-23 Thread Oleg Evseev
Hello, There is example scene3d-loader in qt3d. It loads Scene with AnimatedEntity, that uses FirstPersonCameraController QML type. But unlike others examples, that use Qt3DQuickWindow view with working camera controllers, scene3d-loader uses QQuickView and FirstPersonCameraController doesn't

Re: [Interest] [QT3D] 3d Object and texture loads

2016-05-24 Thread Oleg Evseev
Maybe you read this https://blog.qt.io/blog/2016/01/08/qt3d-asset-conditioning/ ? Regards, Oleg 2016-05-24 20:36 GMT+03:00 Pierre Chicoine : > I believe I read somewhere in connection with Qt3D that there was a more > organic object and texture type that loads

Re: [Interest] [QT3D] Multiple vertex buffers per Qt3DRender::QGeometry

2016-05-12 Thread Oleg Evseev
I think my suggestion https://bugreports.qt.io/browse/QTBUG-50720 (and attached commit on gerrit) will help solve your task with updating the subset of QBuffer. I did it for 5.7 branch, but currently I use almost same code in 5.6. Regards, Oleg 12 мая 2016 г. 18:54 пользователь "Camden Mannett"

Re: [Interest] [QT3D] Mesh sizes

2016-05-18 Thread Oleg Evseev
Sean Harmer answered this question already: http://lists.qt-project.org/pipermail/interest/2016-April/022292.html > At the moment, no. This is something we may well add for 5.8. > For now you'll need to calculate it yourself or pass it in as metadata somehow.

[Interest] [QT3D] How to make billboard?

2016-05-06 Thread Oleg Evseev
Hello, I am interesting if there are ready to use classes or functions to make billboards (2D elements in 3D world that always faces the camera) in QT3D (qml and cpp). As I see by https://bugreports.qt.io/browse/QTBUG-24454 in Qt3D 1.0 there was BillBoardTransform class, functionality of which

[Interest] [Qt 3D] Entities with custom meshes disappear when there are many of them in one place

2016-05-01 Thread Oleg Evseev
Hi, Not going into details just the main point: In my scene I have huge ground plane and on top of it I draw car path. I break path mesh into peaces, create new entity with QGeometryRenderer, meshGeometry and so on in it and append it to my current parent Entity. When vertex array get filled, I

Re: [Interest] Split entities into groups and render them in custom order

2016-07-12 Thread Oleg Evseev
2016-07-10 19:09 GMT+03:00 Oleg Evseev <ev.m...@gmail.com>: > I tried to make following sequence in "enable-qml" manual test example by > cleaning it (attached it): > > * Viewport > ** RenderSurfaceSelector > *** CameraSelector > ClearBuffers &

[Interest] Building Qt/Android on Windows

2016-07-14 Thread Oleg Evseev
Hi, Trying to build Qt/Android 5.7 on Windows 7 SP1 x64 using this instruction https://wiki.qt.io/Building_qt-android_on_windows Set environment variables: set "ANDROID_API_VERSION=android-23" set "ANDROID_SDK_ROOT="d:\Android\sdk"" set "ANDROID_TARGET_ARCH=armeabi-v7a" set

Re: [Interest] Qt3D 5.7 Native Build on Raspbery Pi error when running examples

2016-07-27 Thread Oleg Evseev
Hi, Catalin This problem was already filed to Jira: https://bugreports.qt.io/browse/QTBUG-54229 and this is in fact a dublicate of this: https://bugreports.qt.io/browse/QTBUG-54711 as you see there is commit that fix it. It's not yet merged into qt3d 5.7 code.qt.io. You can cherry pick those

[Interest] Does Scene3D freezes up, when change anchors on Linux?

2016-07-27 Thread Oleg Evseev
Hi all I have a problem - Scene3D freezes up (stop render anything) when change anchors on Windows 7 (anchors or orientation on Android 4.4) https://bugreports.qt.io/browse/QTBUG-54900 Could someone can check if there is such problem on any Linux too (example was attached to QTBUG-54900)? Thank

Re: [Interest] Qt 3D Issue on Android

2016-07-26 Thread Oleg Evseev
Hi, Navaneeth. Qt 3D 5.5 commit was a pretty long time ago and it was positioned as technical preview . Did you try last Qt 3d 5.7 (at least 5.7.0)? --- Regards, Oleg 2016-07-26 13:46 GMT+03:00 Navaneeth K Ramakrishnan : > Hi, > > > I am getting an error, when running

Re: [Interest] RowLayout are overlapping

2016-08-04 Thread Oleg Evseev
Hi, Máximo Put them (two RowLayout) into ColumnLayout Regards, Oleg. 2016-08-04 10:28 GMT+03:00 Máximo Ramírez : > Hello, > > I'm trying to do top navigation bar based on drawer and tabs, but when I > put two RowLayout instead of show one first and the second after the >

Re: [Interest] QMesh load obj

2016-07-13 Thread Oleg Evseev
Hi, SceneLoader is what you are looking for. Also take a look to "qgltf" example, and this link http://blog.qt.io/blog/2016/01/08/qt3d-asset-conditioning/ --- Regards, Oleg 2016-07-05 11:15 GMT+03:00 北风刮到脸上 <1158292...@qq.com>: > hello Sean Harmer: > i am now using qt5.7 with qt3d module,now

[Interest] [Qt3D] Splash screen while 3d scene is rendering

2016-07-18 Thread Oleg Evseev
Hi, I want to do an splash screen while my 3d scene is loading. Loader item get status Ready almost instantly (after all qml elements are loaded), but before 3d scene objects are rendered - they are then shown one by one (the process I want to hide from user view). How could it be done? Thank in

Re: [Interest] Building Qt/Android on Windows

2016-07-15 Thread Oleg Evseev
After all I was able to build it. I set environment variables through Advanced System Settings (instead of command line) and add to Path variable. 2016-07-14 15:35 GMT+03:00 Oleg Evseev <ev.m...@gmail.com>: > Hi, > > Trying to build Qt/Android 5.7 on Windows 7 SP1 x64 using t

Re: [Interest] Split entities into groups and render them in custom order

2016-07-12 Thread Oleg Evseev
gt; ** RenderSurfaceSelector > *** CameraSelector > LayerFilter [layer = opaque] > * ClearBuffers > LayerFilter [layer = transparent] > > > That should work, or alternatively put a NoDraw as a child of CLearBuffers > to prevent that branch from drawing anything. >

Re: [Interest] Split entities into groups and render them in custom order

2016-07-12 Thread Oleg Evseev
of the first LayerFilter? >> Then the second LayerFilter can be a leaf node. >> >> * Viewport >> ** RenderSurfaceSelector >> *** CameraSelector >> LayerFilter [layer = opaque] >> * ClearBuffers >> LayerFilter [layer = transparent] >

[Interest] [Qt3D] Entities with PhongAlphaMaterial disappear when there are several of them

2016-07-08 Thread Oleg Evseev
Hi, I have a problem with disappearing of PhongAlphaMaterial entities https://bugreports.qt.io/browse/QTBUG-54515 It's critical issue for my project and I'd like to try to help fix it. Maybe somebody can get me any advice where should I start looking in qt3d src first? [image: phongtest[1].gif

[Interest] Split entities into groups and render them in custom order

2016-07-09 Thread Oleg Evseev
Hi, I'm trying to understand how can I split entities into groups and render them in custom order. That is, for example, first render SkyBox - behind all entities, than a Ground - plane mesh in front of SkyBox, but behind everything else. Then render a group of many transparent entities in order

Re: [Interest] Split entities into groups and render them in custom order

2016-07-10 Thread Oleg Evseev
2016-07-09 22:31 GMT+03:00 Sean Harmer <sean.har...@kdab.com>: > Hi, > > On 09/07/2016 14:27, Oleg Evseev wrote: > >> Hi, >> >> I'm trying to understand how can I split entities into groups and render >> them in custom order. >> >> That is,

Re: [Interest] RowLayout are overlapping

2016-08-04 Thread Oleg Evseev
; This are the things that should be explicitly in the documentation. > > El 04/08/16 a las 04:20, Oleg Evseev escribió: > > Hi, Máximo > > Put them (two RowLayout) into ColumnLayout > > Regards, Oleg. > > 2016-08-04 10:28 GMT+03:00 Máximo Ramírez <aquiles...@gmail.com&g

Re: [Interest] Second RowLayout not reconize width

2016-08-04 Thread Oleg Evseev
Hi, Máximo Please carefully read documentation, there is all you need. http://doc.qt.io/qt-5/qml-qtquick-layouts-columnlayout.html http://doc.qt.io/qt-5/qml-qtquick-layouts-rowlayout.html http://doc.qt.io/qt-5/qml-qtquick-layouts-layout.html use Layout.fillWidth > RowLayout { > width:

Re: [Interest] Qt3D

2017-02-09 Thread Oleg Evseev
Hi, for example here: qt3d\tests\manual\custom-mesh-cpp\ qt3d\tests\manual\custom-mesh-qml\ With regards, Oleg ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] Qt3d 5.7 embedded success anyone

2016-08-19 Thread Oleg Evseev
I have, and still do on Android. I follow last 5.7 2016-08-19 17:15 GMT+03:00 Pierre Chicoine : > Has anyone been successful in getting Qt3d working on any embedded > platform such as Android, Raspberry PI or Beaglebone? > >

[Interest] Something wrong with JIRA?

2016-09-07 Thread Oleg Evseev
Navigation through JIRA is slow and I can't create a new bug report Error creating issue: Indexing completed with 1 errors --- Regards, Oleg ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

[Interest] [Quick Controls 2] Best way to add binding arrow tip to Popup?

2016-10-06 Thread Oleg Evseev
Hi everyone, I'm interesting how to add arrow tip to popup, that looks like this: If I understand correctly, according to http://doc.qt.io/qt-5/qtquick-scenegraph-customgeometry-example.html I have an option to do custom shape qt quick item instead of simple rectangle with help of QSGGeometry.

Re: [Interest] [Quick Controls 2] Best way to add binding arrow tip to Popup?

2016-10-06 Thread Oleg Evseev
> > But lack of this solution - you can not set the opacity of such > constructed popup :) Plus, I think, set elevation to get shade of popup without doing it for arrow tip will not have a good look. 2016-10-06 22:16 GMT+03:00 Oleg Evseev <ev.m...@gmail.com>: > An

Re: [Interest] [Quick Controls 2] Best way to add binding arrow tip to Popup?

2016-10-06 Thread Oleg Evseev
width: component.width > height: component.height > color: "gray" > // change the rotation values based on orientation here > transform: Rotation { origin.x: 0; origin.y: 0; angle: 90 } > } > } > > On Thu, Oct 6, 2016 at 7:12 AM, Oleg Evseev <e

Re: [Interest] [Quick Controls 2] Best way to add binding arrow tip to Popup?

2016-10-06 Thread Oleg Evseev
And yes I understand that this could be done with help of clipping rotated rectangle by half and get it ahead of popup with border offset overlap. But lack of this solution - you can not set the opacity of such constructed popup :) 2016-10-06 22:11 GMT+03:00 Oleg Evseev <ev.m...@gmail.

Re: [Interest] [Quick Controls 2] Best way to add binding arrow tip to Popup?

2016-10-07 Thread Oleg Evseev
> over the look and how it integrates with the rest of the popup. And all > from QML.. > > cheers, > Gunnar > > > On 06 Oct 2016, at 21:22, Oleg Evseev <ev.m...@gmail.com> wrote: > > > > But lack of this solution - you can not set the opacity of such > cons

Re: [Interest] [Qt3D] Crash when changing an entity's parent many times

2016-10-26 Thread Oleg Evseev
Hi, I had problems similar to what you describe https://bugreports.qt.io/browse/QTBUG-55093 in qt 5.7. I haven't check it on 5.8. 2016-10-26 16:37 GMT+03:00 Xavier Bigand : > Hi, > > I have to change to parent to nullptr to make some entities invisible, but > when I

Re: [Interest] QT3D. Sorting Transparencies in C++

2016-11-08 Thread Oleg Evseev
Hi, Pierre I think this thread would be interesting for you (question and answers) http://lists.qt-project.org/pipermail/interest/2016-July/023455.html --- Regards, Oleg 2016-11-08 16:14 GMT+03:00 Pierre Chicoine : > Has anyone come up with a way of sorting

Re: [Interest] [Quick Controls 2] Best way to add binding arrow tip to Popup?

2016-10-12 Thread Oleg Evseev
Great thanks, Shawn. Canvas is what I searching for! Even in canvas example there is a Talk bubble example that is look similar to tipped Popup! [image: Встроенное изображение 1] Canvas is Qt Quick Item, so it is quite easy to add it on the scene and add a shadows (or other effects) to it

Re: [Interest] [Quick Controls 2] Best way to add binding arrow tip to Popup?

2016-10-12 Thread Oleg Evseev
> It probably wasn't mentioned because it's got a bad reputation as being > slow. It's easy to abuse it and end up with crappy performance. As long as > you limit the amount of painting you do and how often you do it, I don't > think using it is really an issue in practice. I see, thanks for

Re: [Interest] [Quick Controls 2] Best way to add binding arrow tip to Popup?

2016-10-12 Thread Oleg Evseev
Jérôme, I didn't understand what your suggestion for? One can easy draw round cornered rectangle with Canvas (see roundedrect.qml in canvas example) [image: Встроенное изображение 1] Based on that example I did my rectangle (with *all *rounded corners) with tip in one draw path and solved my

[Interest] [Qt3D] Diffusemap alpha

2017-01-09 Thread Oleg Evseev
Hi, I was wondered why Qt3D diffusemap material doesn't implement texture alpha for fragColor or why there no diffuseMapAlpha material at least. I tried to modify diffusemap.frag by analogy with normaldiffusemapalpha.frag set diffuseTextureColor as vec4 and make fragColor = vec4(

[Interest] [Qt3D] QTransform is not shareable

2017-01-07 Thread Oleg Evseev
Hi, I wonder why the QTransform component is not shareable between multiple QEntity's Regards, Oleg. ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] Qt3D filtering for different renderviews

2017-03-30 Thread Oleg Evseev
Hi Juan, > How can I make the second renderview to skip the background entity? With help of LayerFilter. > I have tried to add a LayerFilter for it, but that way I have to add a Layer component to each object in my scene, which is not practical. Totally agree. It would be nice if you add

Re: [Interest] [NFC] RFID tag reading

2017-03-15 Thread Oleg Evseev
But I still didn't understand how those different filtering in setContext() and in start() work? Why they are different, where m_filters is used? 2017-03-14 12:43 GMT+03:00 Oleg Evseev <ev.m...@gmail.com>: > Hi Alex, > > I did https://codereview.qt-project.org/#/c/188351/.

[Interest] [Qt3D]

2017-04-03 Thread Oleg Evseev
Hi, Almost a year ago I wrote a bug about Scene3D freezing when its anchor is changed (https://bugreports.qt.io/browse/QTBUG-54900). Due to this on android Scene3D freeze up on changing orientation of app (autorotate), especially on the non toppest smartphones/pads. All this time the only

Re: [Interest] [Qt3D]

2017-04-03 Thread Oleg Evseev
Sorry for missed letter theme 2017-04-03 12:32 GMT+03:00 Oleg Evseev <ev.m...@gmail.com>: > Hi, > > Almost a year ago I wrote a bug about Scene3D freezing when its anchor is > changed (https://bugreports.qt.io/browse/QTBUG-54900). > > Due to this on android Scene

[Interest] [Qt Connectivity] Bluetooth state is not a HostPoweredOff on Android when turning it off

2017-04-04 Thread Oleg Evseev
Hi, I'm working with bluetooth on android. Handling bluetoothLocalDevice hostModeStateChanged signal I get HostConnectable on one tablet (Android 5.1) and HostDiscoverable on another phone (Android 4.4.4) when I *turn off* (!) bluetooth in system. And no signals when I turn bluetooth on in system

Re: [Interest] Qt3D simple geometry example

2017-04-04 Thread Oleg Evseev
Hi, Igor Take a look on this examples in qt3d/tests/manual folder: custom-mesh-cpp custom-mesh-qml custom-mesh-update-data-cpp custom-mesh-update-data-qml I think they are exactly what you need. With regards, Oleg. 2017-04-04 11:01 GMT+03:00 Igor Mironchik : >

Re: [Interest] Applying transformation

2017-04-05 Thread Oleg Evseev
Hi, Igor. With all due respect, looking on your questions, it seems that you have huge knowledge gap in linear algebra. It would be wise to firstly read how transformations can be represented by matrices: https://en.wikipedia.org/wiki/Transformation_matrix

[Interest] [Qt3D][Threads] A right way to do calculations for qt 3d entities in separate thread

2017-04-15 Thread Oleg Evseev
Hi, I have a Scene3D with different QEntities. One of the entity have a slot with calculations which involves updating QGeometry of one of its child (QEntity) and sometimes creating new child entity. I'm looking for a way to move those calculations into separate thread. But according to

Re: [Interest] Tired of QML

2017-04-15 Thread Oleg Evseev
In fact basic documentation link "Important Concepts In Qt Quick - Positioning" http://doc.qt.io/qt-5/qtquick-positioning-topic.html is the third one in most basic overview of Qt Quick http://doc.qt.io/qt-5/qtquick-index.html It is a pity that you were tired earlier on first two basic links :)

Re: [Interest] Tired of QML

2017-04-15 Thread Oleg Evseev
> > I do not understand why this code does not work: > > ListView { > > anchors.fill: parent > > model: downloadsModel > > header: DownloadListHeader{} > > delegate: DownloadListItem > > { > > preInfoColumnWidth: parent.header.preInfoColumnWidth

Re: [Interest] [Qt3D][Threads] A right way to do calculations for qt 3d entities in separate thread

2017-04-15 Thread Oleg Evseev
> > We do something analogous with the sceneparser plugins which for the scene > file being loaded, it creates a QEntity subtree complete with > GeometryRenderer, Material, Transform components. These are then moved to > the main thread with QObject::moveToThread and grafted into the main tree >

Re: [Interest] Tired of QML

2017-04-15 Thread Oleg Evseev
Hi Alexander, First thing you need to understand that the apparent "order" like this Item {} Item {} or that Item { Item {} } doesn't mean that items will be arrange as column (or maybe row). This order is relevant only to Z coordinate, that means what item will be on top of the other.

Re: [Interest] [Qt3D] Update vertex buffer data together with increasing count of vertices leads to artifacts

2017-04-23 Thread Oleg Evseev
> > could you file a JIRA with a test case please? Yes, I'll try to do test example later. By the way, it seems that I was wrong blaming updateData function to cause artifacts. In fact besides update geometry in my application new alike entities with custom geometry are created (for simplicity

Re: [Interest] [NFC] RFID tag reading

2017-03-13 Thread Oleg Evseev
> I'm pretty sure that it's a hardware aspect issues, but maybe somebody from Qt community had encountered such things and has alternative solutions. I hurried with that. I wonder why then nfc app from google play (for example NFC Tools) is working properly on first tablet (4.4.4 android) even if

[Interest] [NFC] RFID tag reading

2017-03-13 Thread Oleg Evseev
Hi, I'm trying to run ndefeditor example on one android tablet (with android 4.4.4), app prints QtNfc getStartIntent to console, but targetDetected/targetLost signals aren't fired, until I add to AndroidManifest (as suggested here with same issues

Re: [Interest] [NFC] RFID tag reading

2017-03-14 Thread Oleg Evseev
a patch to > Qt (codereview.qt-project.org) for this problem (target branch 5.9)? If > you put me on review I am happy to accept it. > > -- > Alex > > From: Interest <interest-bounces+alexander.blasche=qt...@qt-project.org> > on beh

Re: [Interest] [NFC] RFID tag reading

2017-03-13 Thread Oleg Evseev
Finally solved this one http://stackoverflow.com/a/42771453/5765076 (at least for my tablet). Add suggestion to Jira https://bugreports.qt.io/browse/QTBUG-59455 Hopes it will helps someone. With best regards, Oleg ___ Interest mailing list

[Interest] ApplicationWindow overlay item opacity aspects

2017-03-14 Thread Oleg Evseev
Hi, Trying to change modal popups dim color using overlay property of ApplicationWindow, I wonder why opacity with this one not works (dim background is solid black): overlay.modal: Rectangle { color: "black" opacity: 0.2 } Only this one works: overlay.modal:

[Interest] [Qt3D] SkyboxEntity textures are not rendered on Windows 7 (just black)

2017-04-14 Thread Oleg Evseev
Hi, Cause Sean is now get busy with SkyboxEntity, I take this opportunity to ask what could be wrong: Related to qt3d I have Qml with loader that loads qml with Scene3D. World3D - root entity is written in C++ and shared with qml with help of qmlRegisterType. hierarchy is this: World3D --

Re: [Interest] [Qt3D] SkyboxEntity textures are not rendered on Windows 7 (just black)

2017-04-14 Thread Oleg Evseev
gt; > could you provide a test case for this please? Not sure what could be > wrong off hand. > > Cheers, > > Sean > > > On 14/04/2017 17:51, Oleg Evseev wrote: > >> Hi, >> >> Cause Sean is now get busy with SkyboxEntity, I take this opportunity to >

Re: [Interest] [QT3D] access geometry data of a loaded model

2017-07-11 Thread Oleg Evseev
Hi, Take a look on qt3d\tests\manual\assimp example, from there you will understand how to find specific entities or components of scene loader tree. --- With regards, Oleg 2017-07-11 12:32 GMT+03:00 : > > > Hi > > I use QT5.8 C++ API. > I know how to create and display

Re: [Interest] Qt3D: Create custom meshes and textures in C++, use in QML

2017-07-07 Thread Oleg Evseev
> > I think the entity could also be a property (a QEntity* or a QEntity, I am > not sure) of the controller. > Yes, it could, but only QEntity* of course, cause it inherits QObject in the end so it can't be copied. ___ Interest mailing list

Re: [Interest] Qt Android - Mouse Hovering Events

2017-07-16 Thread Oleg Evseev
Hi, Robert As I saw the Material and Universal styles have gained hover effects in Qt 5.8 in Qt Quick Controls 2.1 http://blog.qt.io/blog/2016/10/06/qt-quick-controls-2-1-and-beyond/ https://youtu.be/43HrMH379-E I suppose it works on Android. --- With regards, Oleg 2017-07-16 10:49 GMT+03:00

Re: [Interest] Qt3D: Create custom meshes and textures in C++, use in QML

2017-07-06 Thread Oleg Evseev
> I think you misunderstood me: *MY GUI is in QML, only the backend is in C++* This is certainly what I mean. Take a look my setData example from https://bugreports.qt.io/browse/QTBUG-60429 it uses Scene3D in QML and C++ backend. > ___ Interest mailing

Re: [Interest] Qt3D: Create custom meshes and textures in C++, use in QML

2017-07-06 Thread Oleg Evseev
Hi, Helmut I'm not sure I understand your problem in a right way, but I think my setData example from https://bugreports.qt.io/browse/QTBUG-60429 maybe helpful. > Or is it possible to construct some of these in C++ and use them in QML via setContextProperty: Buffer, Geometry, GeometryRenderer or

Re: [Interest] Qt3D: Create custom meshes and textures in C++, use in QML

2017-07-06 Thread Oleg Evseev
> This is basically the same approach as in the Stackoverflow answer That's why I wrote "*I'm not sure I understand your problem in a right way"* before. Why is this approach not suitable for you? (just in case, in difference with StackOverflow approach in my example camera and render settings

Re: [Interest] Qt3D: Create custom meshes and textures in C++, use in QML

2017-07-06 Thread Oleg Evseev
> no information about ownership (transfer) It is same as usual data ownership when mix C++/QML http://doc.qt.io/qt-5/qtqml-cppintegration-data.html especially take into account this: *additionally, the QML engine respects the normal QObject parent ownership semantics of Qt C++ objects, and will

Re: [Interest] [Qt3D] Update vertex buffer data together with increasing count of vertices leads to artifacts

2017-04-26 Thread Oleg Evseev
> > could you file a JIRA with a test case please? > > > Yes, I'll try to do test example later. > I did https://bugreports.qt.io/browse/QTBUG-60429 (as I mentioned in bug description I thought that it was due to that currently in qt 3d calling both QBuffer setData/functor and partial data

[Interest] [Qt3D] Update vertex buffer data together with increasing count of vertices leads to artifacts

2017-04-21 Thread Oleg Evseev
Hi, I frequently update geometry with help of updateData function of vertex QBuffer, increasing vertices count with help of setCount function of geometry position QAttribute like this: uint vertexCount = positionAttribute->count();

[Interest] [Qt3D] Crash with "Invalid thumbnail dimensions: 0x0" on android

2017-05-10 Thread Oleg Evseev
Hi, I got crash in application only on Xiaomi Mi4c with MIUI based on Android 5.1.1 (opengl 3.1 V@103.0) when scene loader loads 3d model with qt-5.8. Building against qt-5.9 works fine. Got "Invalid thumbnail dimensions: 0x0" in logcat *On other androids* (including Xiaomi Mi2 with MIUI based

Re: [Interest] [Qt3D] Mirrored textures aspects

2017-05-08 Thread Oleg Evseev
Ok, thanks for clarify this! ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

[Interest] [Qt3D] Mirrored textures aspects

2017-05-08 Thread Oleg Evseev
Sean or Paul, Could you please explain aspects related to mirrored textures https://bugreports.qt.io/browse/QTBUG-54881 I didn't understand why when building against qt-5.8 I don't need to mirror textures image and SceneLoader load 3d models fine, but in qt-5.9 (like in qt-5.7 before) I need to

[Interest] [Qt3D] Smooth orbit camera

2017-05-06 Thread Oleg Evseev
Hi, I'm looking for solution to get smooth orbit camera in qt3d. That is for example when I need to change angle of observe it doesn't translate camera immediately, but with some delay, just like in games: when vehicle turn camera follow it with delay. Does it make sense to use newest Qt3D

Re: [Interest] [Qt3D] Smooth orbit camera

2017-05-06 Thread Oleg Evseev
ertyAnimation directly to animate some arrow > drawing in my scene which also works great and is easy to set up.) > > --- > Andy Maloney // https://asmaloney.com > twitter ~ @asmaloney <https://twitter.com/asmaloney> > > > On Sat, May 6, 2017 at 1:46 PM,

Re: [Interest] [Qt3D] Smooth orbit camera

2017-05-06 Thread Oleg Evseev
Thanks Sean, There is no any instrument in qt3d animation framework similar to QuaternionAnimation (a PropertyAnimation for quaternions), isn't there? 2017-05-06 22:26 GMT+03:00 Sean Harmer <sean.har...@kdab.com>: > Hi, > > On 06/05/2017 19:34, Oleg Evseev wrote: > >&g

[Interest] [QT3D] Force qt to use qgltf.exe from mingw/bin instead of android/bin

2017-11-23 Thread Oleg Evseev
Hi all, I've got error: No rule to make target 'C:/Qt/5.9.3/android_armv7/bin/qgltf.exe', needed by 'xxx.qrc'. Stop. How to point qt to use c:\Qt\5.9.3\mingw53_32\bin\qgltf.exe for android builds? Thanks in advance. -- With regards, Oleg. ___

[Interest] Modify object list in qml

2017-11-29 Thread Oleg Evseev
Hi all, I would like to push an empty object in front of objects list model of ComboBox. I can do this in c++: QList SomeClass::getList() { QList list = db.getList(); list.push_front(Q_NULLPTR); return list; } then set it as model for ComboBox: model:

Re: [Interest] Modify object list in qml

2017-11-29 Thread Oleg Evseev
> destinataire prévu, vous êtes par la présente informé que toute > utilisation, diffusion, copie, ou stockage de ce message ou de ses pièces > jointes est strictement interdit. > > On Wed, Nov 29, 2017 at 2:41 PM, Oleg Evseev <ev.m...@gmail.com> wrote: > >> Hi all, &g

[Interest] [QT3D] Cannot set compressed data for non-compressed format error for dds textures

2017-12-16 Thread Oleg Evseev
Hi all, I'm trying to run against Qt 5.9.3 my old qt 3d example qgltf (from Qt 5.8) that load 3d object with dds texture (from here https://bugreports.qt.io/browse/QTBUG-57998) but I got errors: Cannot set compressed data for non-compressed format 0x1908 What can be a problem? -- With regards,

Re: [Interest] [QT3D] Does anyone have an example of using QSkyboxEntity?

2017-11-16 Thread Oleg Evseev
qt3d\tests\manual\skybox\ 2017-11-16 2:27 GMT+03:00 Pierre Chicoine : > Has anyone figured out how to use a QSkyboxEntity? > > An example would be awesome. > > I've tried all sorts of techniques. I use C++ but I'm sure I could > translate a QML file if anyone has

[Interest] QML ObjectOwnership for List of QObjects

2017-12-10 Thread Oleg Evseev
Hi all, Could someone explain QObject ownershiping aspects, please. According to http://doc-snapshots.qt.io/qt5-dev/qtqml-cppintegration-data.html when data is transferred from C++ to QML, the ownership of the data always remains with C++. The exception to this rule is when a QObject is returned

Re: [Interest] QML ObjectOwnership for List of QObjects

2017-12-10 Thread Oleg Evseev
other more pretty solutions? 2017-12-10 18:05 GMT+03:00 Oleg Evseev <ev.m...@gmail.com>: > Hi all, > > Could someone explain QObject ownershiping aspects, please. > > According to http://doc-snapshots.qt.io/qt5-dev/qtqml-cppintegration-data > .html when data

[Interest] How to exclude files from lupdate in .pro?

2017-12-27 Thread Oleg Evseev
Hi all, According to documentation in qt there is a workaround lupdate_only{...} - conditional statement so the lupdate tool sees some file (for example .qml files) but the C++ compiler ignores them. I wonder if there is a opposite workaround some conditional statement (or something else) so the

[Interest] [Qt3d] Textures flickering

2018-07-29 Thread Oleg Evseev
Hi all, When I load big models with help QSceneLoader in assimp-cpp test example (or small models but move camera far away from object) textures start flickering: https://youtu.be/5FUOWc412JE How to fix that? Thanks in advance for help. --- With regards, Oleg

Re: [Interest] [Qt3d] Textures flickering

2018-07-29 Thread Oleg Evseev
say from the short video, but it looks like you may have z > fighting going on, two coinciding meshes and the lack on precision causing > this flickering… > > Mike > > > On 29 Jul 2018, at 14:58, Oleg Evseev wrote: > > > > Hi all, > > > > When I load big mo

Re: [Interest] [Qt3D] Windows Deployment. Path to models?

2018-08-13 Thread Oleg Evseev
Build app without models and its size reduced by size of models. So they are the part of exe as other resources, right? But not displayed :( 2018-08-13 19:46 GMT+03:00 Oleg Evseev : > Hello! > > Trying to deploy windows desktop application with qt3d. Application runs > but scenel

Re: [Interest] [Qt3D] Windows Deployment. Path to models?

2018-08-13 Thread Oleg Evseev
My bad. Windows Deployment nothing to do with my issue. In fact this was in release mode even in qt creator due to my mistake with #ifdef QT_DEBUG and not adding entities to QLayerFilter %) Sorry for bothering. 2018-08-13 20:08 GMT+03:00 Oleg Evseev : > Build app without models and its s

[Interest] [Qt3D] Windows Deployment. Path to models?

2018-08-13 Thread Oleg Evseev
Hello! Trying to deploy windows desktop application with qt3d. Application runs but sceneloaders don't load qgltf models added through assest QT3D_MODELS. In code models are loaded from resources: setSceneLoaderSource(QString("qrc:/models/helicopter.qgltf")); In qt creator everything loads fine.

[Interest] [Qt3D] Issues

2018-08-09 Thread Oleg Evseev
Hi, I wonder why FirstPersonCameraController now in qt 5.11.1 by arrow up-down keys moves camera up and down instead of moving forward like in games (like first person view should), and as it is in 5.9.5? Also qgltf.exe of qt 5.11.1 for windows "Failed to import" (without any other error

Re: [Interest] [External] [SVG] QML Image: Error decoding

2018-07-17 Thread Oleg Evseev
QT_PLUGIN += qsvg in your .pro file as well? > > > > -Even > > > > *From:* Interest [mailto:interest-bounces+even.kristoffersen= > honeywell@qt-project.org] *On Behalf Of *Oleg Evseev > *Sent:* 16. juli 2018 17:56 > *To:* Qt Project > *Subject:* [Externa

[Interest] [SVG] QML Image: Error decoding

2018-07-16 Thread Oleg Evseev
Hi! Got error: QML Image: Error decoding: qrc:/images/Bluebubble.svg: ?? ??? for such reduced code in my big project: ApplicationWindow { id: application width: 1280 height: 800 visible: true Image { source:

Re: [Interest] [Qt3d] Line culling

2018-07-25 Thread Oleg Evseev
I have the same issue but with plane. If there is only one vertex inside camera frustum - entity get culled. --- With regards, Oleg 2018-03-14 11:54 GMT+03:00 Saif Suleiman : > Hi every one, > > Why when one of the two vertices of a line placed out side the camera > frustum, the whole line gets

Re: [Interest] [External] [SVG] QML Image: Error decoding

2018-07-17 Thread Oleg Evseev
Run my project on android - it display svg as should. My current desktop is Win 10 Pro 64bit. But I don't understand how it can be relevant, because accelbubble example shows svg fine on this desktop. 2018-07-17 11:58 GMT+03:00 Oleg Evseev : > Yes, I tried add QTPLUGIN += qsvg it doesn't h

[Interest] Connecting Signals to Methods

2018-04-23 Thread Oleg Evseev
Hi all, Is there a way to connect signal to function using the connect() method in javascript QML with Qt::UniqueConnection type? --- With regards, Oleg. ___ Interest mailing list Interest@qt-project.org

Re: [Interest] [Qt3D][Android] Weird different performance on almost same class GPUs

2019-01-01 Thread Oleg Evseev
I've tested another tablet, made test app and summarized all results I have in bug report: https://bugreports.qt.io/browse/QTBUG-72808 --- With regards, Oleg. ___ Interest mailing list Interest@qt-project.org

Re: [Interest] Qt3D How to draw 2D-Text always facing the Camera

2018-12-18 Thread Oleg Evseev
Hi Volker, Yes, you have to add custom material because Qt3DRender::QShaderProgram s of default materials are inside private class, so you can't change shaders' code source. Take a look at https://codereview.qt-project.org/#/c/182053/ (that was for including in qt 3d, but you could easily use it

[Interest] [Qt3D][Android] Weird different performance on almost same class GPUs

2018-12-18 Thread Oleg Evseev
Hi all, I have two phones: Qualcomm Snapdragon 400 MSM8928, GPU Adreno 305, OpenGL ES 3.0, RAM 1Gb Qualcomm APQ8064 Snapdragon S4 Pro, GPU Adreno 320, OpenGL ES 3.0, RAM 2Gb And one tablet: MediaTek MT8735, GPU Mali-T720 (1 core), OpenGL ES 3.1, 1280x800, Android 8.1, RAM 2Gb According to

  1   2   >