Re: [Interest] Deployement/Installation with QBS

2018-10-25 Thread Xavier Bigand
Le jeu. 25 oct. 2018 à 11:26, Christian Kandeler a écrit : > On Thu, 25 Oct 2018 11:01:00 +0200 > Xavier Bigand wrote: > > > I have a DynamicLibrary project and I want that QtCreator copy the dll in > > an other directory than the shadow build one before running the custo

[Interest] Deployement/Installation with QBS

2018-10-25 Thread Xavier Bigand
Hello, I have a DynamicLibrary project and I want that QtCreator copy the dll in an other directory than the shadow build one before running the custom run command I set. So in my qbs file I put: Group { files: "*.dll" qbs.install: true qbs.install

Re: [Interest] R: Qt3D FPS limits

2018-03-21 Thread Xavier Bigand
If you want to lower the limit you can simply add a pause in the rendering thread before the swap buffer based on a timer. I don't really know how to do that with qt3d, but with qt quick there is some slot like onBeforeRendering and onAfterRendering in which you should be able to insert a FPS limit

Re: [Interest] How to render small Images decently on non retina displays with QtQuick?

2018-03-07 Thread Xavier Bigand
This is good to know, I personally never fall in a such case, but I will keep that in a corner of my head. Thank you. 2018-03-07 9:08 GMT+01:00 Uwe Rathmann : > On Tue, 06 Mar 2018 16:55:23 +, Nuno Santos wrote: > > > I just had to add it to resources and pass it to the image element. > > Us

Re: [Interest] How to render small Images decently on non retina displays with QtQuick?

2018-03-06 Thread Xavier Bigand
The anti-aliasing only works on edges except for the Super Sampling AA. 2018-03-06 17:49 GMT+01:00 Nuno Santos : > Allan, > > I have tried to enable antialiasing to true but it didn’t made any > difference > > :( > > > On 6 Mar 2018, at 16:47, Allan Sandfeld Jensen wrote: > > > > On Dienstag, 6.

Re: [Interest] How to render small Images decently on non retina displays with QtQuick?

2018-03-06 Thread Xavier Bigand
in QtQuick. > > What can be used to render SVG’s in QtQuick? > > On 6 Mar 2018, at 16:45, Xavier Bigand wrote: > > Hi, > > If your sample picture is relevant I can suggest you to convert it as SVG > (vectoring it) or using distance field technique. > > 2018-03-06

Re: [Interest] How to render small Images decently on non retina displays with QtQuick?

2018-03-06 Thread Xavier Bigand
Hi, If your sample picture is relevant I can suggest you to convert it as SVG (vectoring it) or using distance field technique. 2018-03-06 17:06 GMT+01:00 Jason H : > Maybe this has something to do with with mipMapping/smooth? It looks like > it's not anti-aliasing? > > *Sent:* Tuesday, March 06

Re: [Interest] QImage detect full transparent

2018-02-25 Thread Xavier Bigand
-thread a such algorithm with a map reduce, take a look to https://doc.qt.io/qt-5.10/qtconcurrent-index.html. 2018-02-25 21:27 GMT+01:00 Xavier Bigand : > A complete scan will always be relatively slow, if you can you should > consider to do a cache or something similar. > Dependin

Re: [Interest] QImage detect full transparent

2018-02-25 Thread Xavier Bigand
A complete scan will always be relatively slow, if you can you should consider to do a cache or something similar. Depending of your constraints the cache should be created while packaging/building your application or when the user will request the info the first time. The cacheKey() won't work in

Re: [Interest] Can't deploy anymore on QtCretor 4.5

2017-12-09 Thread Xavier Bigand
ds:11.0.4' In the build.gradle files in the section dependencies, but I don't really like to have a fixed version number that depend on my local configuration. 2017-12-09 11:42 GMT+01:00 Xavier Bigand : > I got a lot more errors by doing that, so I put it back some of our > configurations

Re: [Interest] Can't deploy anymore on QtCretor 4.5

2017-12-09 Thread Xavier Bigand
In the "Build Steps" group, click the "Details" button of the "Build > Android APK" entry. This will expand it. > > * There should now be a "Create Templates" button. > > > On 09/12/17 11:55, Xavier Bigand wrote: > >> Yes, but QtCr

Re: [Interest] Can't deploy anymore on QtCretor 4.5

2017-12-09 Thread Xavier Bigand
x27;t deploy. We didn't do any change on the manifest file, so I don't understand the issue. 2017-12-09 8:47 GMT+01:00 Nikos Chantziaras : > You need to edit the Android manifest file, not the pro.user file. Creator > has a special editor dialog for it. > > > > On 09

[Interest] Can't deploy anymore on QtCretor 4.5

2017-12-08 Thread Xavier Bigand
Hello, It seems to be a nice version, but I still have some trouble when targeting Android, with the version 4.4 I had to edit the .pro.user to make the deployment working by forcing the BuildTargetSdk at android-26. But now it seems that something different goes wrong, here is my output: 00:39:0

Re: [Interest] Need advice to add tests to an existing project

2017-11-08 Thread Xavier Bigand
t; 2017-11-08 2:35 GMT+01:00 Christian Gagneraud : > > On 8/11/2017 11:50 AM, Xavier Bigand wrote: > >> > >> Thank you Christian for answer. > >> > >> Yes I thought to create a static library of our project, but as we have > >> many IDE it will be an ef

Re: [Interest] Need advice to add tests to an existing project

2017-11-07 Thread Xavier Bigand
line options to launch it in automated test mode. But if I do that will we able to launch tests directly from QtCreator as suite tests or at least with a new running target (with correct launch options)? 2017-11-03 23:47 GMT+01:00 Christian Gagneraud : > On 4 November 2017 at 05:12, Xavier Big

[Interest] Need advice to add tests to an existing project

2017-11-03 Thread Xavier Bigand
Hello, I recently added some unit tests to a personal project made with qbs, and I am interested to do something similar on my work project. We already have some hand made tests that are launched at start up, it start to be not enough and I am interested to go deeper with better reports and a s

Re: [Interest] [Qt3D] Mixing C++ and QML

2017-10-21 Thread Xavier Bigand
ect that handles the list properties. > > We use this for e.g. in the renderer's SkeletonLoader class to create > QJoints for the frontend tree. > > Cheers, > > Sean > > On 19/10/2017 16:40, Xavier Bigand wrote: > >> The issue is that QEntity doesn't ref

Re: [Interest] [Qt3D] Mixing C++ and QML

2017-10-19 Thread Xavier Bigand
The issue is that QEntity doesn't reflect directly the qml type Entity, this is the same for many Qt3D classes. Here is the declaration of QEntity from qentity.h class QT3DCORESHARED_EXPORT QEntity : public QNode { Q_OBJECT public: explicit QEntity(QNode *parent = nullptr); virtu

[Interest] [Qt3D] Mixing C++ and QML

2017-10-19 Thread Xavier Bigand
Hi, I am looking for a way to manage an Entity tree in C++ and the Scene configuration in QML. My C++ code manage entities from a root node and I want to move the Frame graph and camera management,... to qml. I can't figure out how to do that because if create a class that derive from QEntity som

Re: [Interest] Using ccache with QtCreator under Windows

2017-09-15 Thread Xavier Bigand
I tried with a symlink as you suggested, but it still doesn't work. I also putted the path of mingw binaries in my PATH environment variable. 2017-09-14 19:46 GMT+02:00 Konstantin Tokarev : > > > 14.09.2017, 20:44, "Xavier Bigand" : > > Hello, > > > >

[Interest] Using ccache with QtCreator under Windows

2017-09-14 Thread Xavier Bigand
Hello, I am trying to use ccache, that I got here : https://code.google.com/archive/p/ccache-win32/ This binary seems working fine, and I just put it in the Qt\Tools\mingw530_32\bin folder near g++ and other binaries. In .pro file of our project I simply add the line : QMAKE_CXX = ccache g++ The

Re: [Interest] Crash with Qt application that use OpenGL

2017-04-21 Thread Xavier Bigand
//lists.qt-project.org/pipermail/interest/2016-October/025009.html > > > On 21.04.2017 14:51, Xavier Bigand wrote: > > Hi Oliver, > > All other applications that crash at startup on the hardware on which we > also have the issue are made with Qt, games and all other applications are

Re: [Interest] Crash with Qt application that use OpenGL

2017-04-21 Thread Xavier Bigand
nGL easier to use. I will fill a bug to Nvidia. Thank you all. 2017-04-21 12:59 GMT+02:00 Till Oliver Knoll : > > > > Am 20.04.2017 um 21:04 schrieb Xavier Bigand >: > > > > It is not necessary a bug from Nvidia, it can comes from bad parameters > to functions li

Re: [Interest] Crash with Qt application that use OpenGL

2017-04-21 Thread Xavier Bigand
Here is the trace. I don't know if it is an error from the Nvidia drivers or Qt. 2017-04-20 23:01 GMT+02:00 Xavier Bigand : > Ok, Thank you for suggestions Sergio, I also never used Apitrace. > > The black list seems to be a good thing even if it can't work for us as >

Re: [Interest] Crash with Qt application that use OpenGL

2017-04-20 Thread Xavier Bigand
l get a better support under Windows as it seems much more well defined. 2017-04-20 21:23 GMT+02:00 Sergio Martins : > On 2017-04-20 20:04, Xavier Bigand wrote: > >> It is not necessary a bug from Nvidia, it can comes from bad >> parameters to functions like glDrawElement

Re: [Interest] Crash with Qt application that use OpenGL

2017-04-20 Thread Xavier Bigand
2017 10:27:03 PDT Xavier Bigand wrote: > > I think that I have found a crash in the nvidia drivers made by QtQuick. > > Then the bug is in NVidia code. Report to them, please. > > -- > Thiago Macieira - thiago.macieira (AT) intel.com > Software Architect - Int

[Interest] Crash with Qt application that use OpenGL

2017-04-20 Thread Xavier Bigand
Hi, I think that I have found a crash in the nvidia drivers made by QtQuick. On the computer on which our application crash at startup in the nvoglv32.dll QtCreator crash too in the same way, that it why I suspect that it comes from Qt. It seems to be specific to the following configuration: -

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

2017-01-03 Thread Xavier Bigand
Hi, Sorry for the delay, I just tested with Qt5.8 RC and it now works. Thank you and happy new year. 2016-10-26 17:19 GMT+02:00 Sean Harmer : > Hi, > > can you file a JIRA with a small test case please? > > Cheers, > > Sean > > On 26/10/2016 16:16, Xavier Bigand

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

2016-10-26 Thread Xavier Bigand
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 put them visible bac

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

2016-10-26 Thread Xavier Bigand
Hi, I have to change to parent to nullptr to make some entities invisible, but when I put them visible back I get a crash. The crash is a segfault in the method void Entity::setNodeManagers(NodeManagers *manager) because the this pointer is null. Here is the callstack : Qt53DRenderd.dll!Qt3DR

Re: [Interest] [Qt3D] stability and performance issues with Qt 5.8

2016-10-21 Thread Xavier Bigand
; My goal is to be able to change often the ubershader generated code and the corresponding uniforms of materials. I am trying to optimize it, because it is easy on our side to do it and avoiding Qt3D thread synchronization,... 2016-10-21 18:15 GMT+02:00 Xavier Bigand : > I am actually u

Re: [Interest] Faster Qt app build

2016-10-21 Thread Xavier Bigand
Hi, 2016-10-21 22:03 GMT+02:00 Nuno Santos : > For Mac/iOS applications Qt uses clang (sorry for the misunderstanding) > For Android build Qt uses GCC > > My main dev machine is a Macbook 13 Retina i5 2.5 dual core with a stock > SSD drive > The Windows machine I refer has a i5 2.5 quad-core wit

[Interest] [Qt3D] stability and performance issues with Qt 5.8

2016-10-21 Thread Xavier Bigand
I am actually use Qt 5.8 branch from Git, I have some performances and stability regression compared to the 5.7 release. I can't run my application in Debug mode (tested with mingw and VS 2013) with both Qt versions (5.7 and 5.8=), it runs in release but behavior change fast when I do very small c

Re: [Interest] [Qt3D] Wrong value passed to the shader when using a QMatrix value

2016-10-03 Thread Xavier Bigand
I found the issue : https://bugreports.qt.io/browse/QTBUG-56337 I think that is the kind of bug I can fix, I suppose that I have to follow guidelines from http://wiki.qt.io/Portal:Contributors ? 2016-10-03 15:06 GMT+02:00 Xavier Bigand : > Hi, > > I am trying to pass a QMatrix obj

[Interest] [Qt3D] Wrong value passed to the shader when using a QMatrix value

2016-10-03 Thread Xavier Bigand
Hi, I am trying to pass a QMatrix object to my shader, but instead of receiving an identity matrix all field are null. Here is my parameter declaration : mTexCoordTransform(new Qt3DRender::QParameter(QStringLiteral("u_texCoordTransform"), QMatrix())) And here my uniform declaration in the shad

Re: [Interest] [Qt3D] Best way to do operations before rendering

2016-10-03 Thread Xavier Bigand
at is, call your function that builds your uber shader then when that is > done add your sub-tree that uses that shader to the main scene graph. > > Cheers, > > Sean > > > On 02/10/2016 22:22, Xavier Bigand wrote: > >> I have some operations that I need to do before the s

[Interest] [Qt3D] Best way to do operations before rendering

2016-10-02 Thread Xavier Bigand
I have some operations that I need to do before the scene-graph start the rendering or a least be able to do an operation before a specific node is rendered. I want to start by building the source code of the uber-shader used by my custom material. So I tried to use a QFrameAction on my root scene

Re: [Interest] [Qt3D] QGeometryRenderer can't be shared

2016-09-30 Thread Xavier Bigand
https://bugreports.qt.io/browse/QTBUG-56305 2016-09-30 16:47 GMT+02:00 Sean Harmer : > Hi, > > please do open a JIRA. However, it is more natural to share the Geometry > rather than the GeometryRenderer component itself. > > Cheers, > > Sean > > On 30/09/2016 15:1

Re: [Interest] [Qt3D] QGeometryRenderer can't be shared

2016-09-30 Thread Xavier Bigand
bug, because it doesn't seems natural and reusing directly a component will be much better. 2016-09-30 15:34 GMT+02:00 Xavier Bigand : > I took a look to the addComponent implementation and it seems normal that > my code doesn't work because a component is intended to be at

Re: [Interest] [Qt3D] QGeometryRenderer can't be shared

2016-09-30 Thread Xavier Bigand
I took a look to the addComponent implementation and it seems normal that my code doesn't work because a component is intended to be attached once. So I don't understand the meaning of the shareable flag. I'll try to share the geometry instead. 2016-09-30 15:20 GMT+02:00 Xavier B

[Interest] [Qt3D] QGeometryRenderer can't be shared

2016-09-30 Thread Xavier Bigand
I am trying to share my QGeometryRenderer between many Entities, but the addComponent doesn't have any effect. When I load our models from files, I save the root entity node in a map, and after I clone the node tree when a previously model is in the map. I have no issue with the material component

Re: [Interest] [qt3d] Batching optimization

2016-09-27 Thread Xavier Bigand
shader program? 2016-09-27 11:09 GMT+02:00 Xavier Bigand : > The previous mail was filtered due to the weight, I forward it with an > external link for the picture. > > > -- Forwarded message -- > From: Xavier Bigand > Date: 2016-09-26 17:46 GMT+02:00 > Subje

[Interest] Fwd: [qt3d] Batching optimization

2016-09-27 Thread Xavier Bigand
The previous mail was filtered due to the weight, I forward it with an external link for the picture. -- Forwarded message -- From: Xavier Bigand Date: 2016-09-26 17:46 GMT+02:00 Subject: Re: [Interest] [qt3d] Batching optimization To: Sean Harmer Cc: interest@qt-project.org

Re: [Interest] [qt3d] Batching optimization

2016-09-26 Thread Xavier Bigand
transformation and don't require to be rendered in a particular order (like those with alpha). I'll made some tests on our engine to evaluate the performance win, it may be insignificance due to the sort. 2016-09-25 11:55 GMT+02:00 Sean Harmer : > Hi Xavier, > > On 23

[Interest] [qt3d] Batching optimization

2016-09-23 Thread Xavier Bigand
Hi, Does qt3d backend capable to batch geometries to reduce the number of draw calls? In our case this optimization should improve performances a lot, because we generate dynamically geometries that doesn't change often and are created in world coordinates (no transformations applied). -- Xav

Re: [Interest] Can't build Qt 5.8 alpha (Windows)

2016-09-21 Thread Xavier Bigand
I just found a bug report for this build issue : https://bugreports.qt.io/browse/QTBUG-55585 Is there already a branch for version 5.8.0 beta? 2016-09-21 20:51 GMT+02:00 Xavier Bigand : > With sources from git I had tried to build the branch 5.8. > > But as I successfully build the b

Re: [Interest] Can't build Qt 5.8 alpha (Windows)

2016-09-21 Thread Xavier Bigand
to integrated my custom build to QtCreator kit, but it fails when I try to add it to Qt Versions, it tell my to run make install (thing that I did). 2016-09-21 19:59 GMT+02:00 Thiago Macieira : > On quarta-feira, 21 de setembro de 2016 12:07:34 PDT Xavier Bigand wrote: > > I try wi

Re: [Interest] What don't you like about Qt?

2016-09-21 Thread Xavier Bigand
As some recommands to me to build my own version of Qt, I give it a try. Sadly I am not able to build Qt 5.8 alpha nor the branch 5.8 from git. I switched to the branch 5.7 that seems to compile correctly (still running). That exactly why I think that it would be great if binaries of alpha and bet

[Interest] Can't build Qt 5.8 alpha (Windows)

2016-09-20 Thread Xavier Bigand
I have the following error : g++ -c -include .pch\release\qt_pch.h -pipe -fno-keep-inline-dllexport -msse2 -mstackrealign -mfpmath=sse -O2 -std=c++1z -fexceptions -mthreads -frtti -Wall -Wextra -Wvla -Wdate-time -DUNICODE -DQT_NO_USING_NAMESPACE -DQT_NO_FOREACH -DPCRE_STATIC -DWINVER=0x600 -D_WIN32

Re: [Interest] What don't you like about Qt?

2016-09-18 Thread Xavier Bigand
2016-09-18 15:17 GMT+02:00 André Pönitz : > On Sun, Sep 18, 2016 at 02:37:01AM +0200, Xavier Bigand wrote: > > I am using Qt for my day job, > > > > Our first difficulty with Qt is the release cycle that is really long > and the > > difficulty to test the futur versions.

Re: [Interest] What don't you like about Qt?

2016-09-17 Thread Xavier Bigand
I am using Qt for my day job, Our first difficulty with Qt is the release cycle that is really long and the difficulty to test the futur versions. As we often need the latest features or bug fixes, waiting 3-4 month isn't possible, and some times we just implement our self features or use workarou

[Interest] QtQuick Controls 2.0 copy/past

2016-09-02 Thread Xavier Bigand
Hi, I made few more tests on android with QtQuick Controls 2.0, and I was surprise to see that the copy/past isn't possible. So I found the following bug report https://bugreports.qt.io/browse/QTBUG-34867 Is there a chance to see that fixed in Qt5.8? because it can be a blocker for a lot of appli

Re: [Interest] Force property's binding to be executed from C++

2016-08-23 Thread Xavier Bigand
Qml binding directly. This also work with signal and slots. >> >> Most likely, you want to bind on any changed properties of the skin and >> revaluate the whole skin manager update sequence I guess. >> >> Jerome >> >> >> On Tue, Aug 23, 2016 at 5:36 PM,

Re: [Interest] Force property's binding to be executed from C++

2016-08-23 Thread Xavier Bigand
> property var currentSkin: null; > onCurrrentSkinChanged: updateSkin(); // handle when the skin switches > } >Connections { > target: currentSkin > onSkinPropertyChanged: id:skinManager.updateSkin() // handle when > propterties of the skin chang

[Interest] Force property's binding to be executed from C++

2016-08-23 Thread Xavier Bigand
Hi, To skin our GUI we have a dedicated qml component instanced once that contains all necessary values under properties. I am able to access to those properties from C++ code but they aren't correctly synchronized with the selected skin. Here is my cpp code : void SkinManagerWrapper::update

Re: [Interest] Few questions about Qt Data Visualization

2016-08-20 Thread Xavier Bigand
. Have a good day. 2016-08-20 9:52 GMT+02:00 Sean Harmer : > > > On 18/08/2016 17:16, Xavier Bigand wrote: > >> Hi, >> >> I need to create a small tool to visualize some 2D or 3D data for >> debugging our software, actually we are using GeoGebra but it ha

[Interest] Few questions about Qt Data Visualization

2016-08-18 Thread Xavier Bigand
Hi, I need to create a small tool to visualize some 2D or 3D data for debugging our software, actually we are using GeoGebra but it have few issues (can be really slow,...). We mostly need to display points and polygons. It would be great if I can use Qt Data Visualization directly. I need the fo

Re: [Interest] Creating Qt Quick controls from C++

2016-07-13 Thread Xavier Bigand
and/or manipulated from C++ - > as is the case in the other UI frameworks I mentioned. > > Regards, > Rob > > On Fri, Jul 8, 2016 at 11:56 AM, Xavier Bigand > wrote: > >> I think that our approche can be wrong, maybe you don't need to be able >> to access to the QtQ

Re: [Interest] Creating Qt Quick controls from C++

2016-07-07 Thread Xavier Bigand
I think that our approche can be wrong, maybe you don't need to be able to access to the QtQuick components from the C++. The best is to follow the philosophy of QtQuick with the property bindings. You can expose variables (properties) from your c++ to the QML and let the QML interact with them. In

Re: [Interest] 5.8 Features?

2016-06-24 Thread Xavier Bigand
Like you said I think that the iOS and Android progress too fast and on an other cadence than Qt. We should not forget that Qt has to create a unified cross platform API, that is necessary harder than creating a new one for one platform. I think that a latency of 6 months to a year is still reason

Re: [Interest] [Qt3D] Custom texture loader and material shaders

2016-06-23 Thread Xavier Bigand
Ok I was able to reproduce the leak with material-cpp sample https://bugreports.qt.io/browse/QTBUG-54311 2016-06-21 12:08 GMT+02:00 Sean Harmer : > On Tuesday 21 June 2016 00:11:23 Xavier Bigand wrote: > > I am trying to check the material sample, but when launching the program

Re: [Interest] [Windows][opengl] How graphic card is choosen on a portable computer with many?

2016-06-22 Thread Xavier Bigand
??? I known macOS can switch video > card, but I think it's transparent to the user or application (maybe that's > explain the old OpenGL version they are using!). > > I'm pretty sure it must be possible under Linux, but I never try it or did > it. > > On Wed

[Interest] [Windows][opengl] How graphic card is choosen on a portable computer with many?

2016-06-22 Thread Xavier Bigand
Hi, Some of users can't launch our application because there computer have 2 graphic cards. To fix the issue they have to force the card made for gaming to be used with our software. Our application is made with Qt and QML, but we have our custom 3D engine that do not work on intel integrated GPU.

Re: [Interest] 5.8 Features?

2016-06-22 Thread Xavier Bigand
be great, because I dislike Android Studio. 2016-06-22 11:43 GMT+02:00 ekke : > Am 22.06.16 um 11:31 schrieb Xavier Bigand: > > I made few tests for a personal project with Qt Quick Controls 2 on > Android and was not convinced. Because for a full GUI application it still > too fa

Re: [Interest] 5.8 Features?

2016-06-22 Thread Xavier Bigand
I made few tests for a personal project with Qt Quick Controls 2 on Android and was not convinced. Because for a full GUI application it still too far from the same GUI made with the Android SDK. I still think that for small applications that is preferable to develop them with the platform SDK as t

Re: [Interest] [qt3d] Few questions about shader management with custom materials

2016-06-21 Thread Xavier Bigand
2016-06-21 14:49 GMT+02:00 Sean Harmer : > On Tuesday 21 June 2016 14:40:37 Xavier Bigand wrote: > > I have few more questions : > > - How Qt know the type of the uniform, does it parse the shader source? > > We don't parse the source but rather use the introspectio

Re: [Interest] [qt3d] Few questions about shader management with custom materials

2016-06-21 Thread Xavier Bigand
: > On Tuesday 21 June 2016 00:03:31 Xavier Bigand wrote: > > Thank you, it's super nice. > > > > Does qt3d cache the compilation of shaders between two executions of the > > application? > > Not yet. :) > > Sean > > > > > 2016-06-20 22:54 GMT

Re: [Interest] [Qt3D] Custom texture loader and material shaders

2016-06-20 Thread Xavier Bigand
20 22:55 GMT+02:00 Sean Harmer : > The textures should be cached in a similar way to the shaders. If they are > not in your case, it's a bug. Please file a test case. > > Cheers, > > Sean > > On 20/06/2016 16:37, Xavier Bigand wrote: > > I just put a QHash

Re: [Interest] [qt3d] Few questions about shader management with custom materials

2016-06-20 Thread Xavier Bigand
Thank you, it's super nice. Does qt3d cache the compilation of shaders between two executions of the application? 2016-06-20 22:54 GMT+02:00 Sean Harmer : > Hi, > > On 20/06/2016 17:17, Xavier Bigand wrote: > > Hi, > > I am planning to use our custom materials with

[Interest] [qt3d] Few questions about shader management with custom materials

2016-06-20 Thread Xavier Bigand
Hi, I am planning to use our custom materials with Qt3D, because will already have an uber shader for the lighting and shadowing of objects. I think that I'll create one material called LightingMaterial that can change the shader's sources depending of his properties, but in this case it seems tha

Re: [Interest] [Qt3D] Custom texture loader and material shaders

2016-06-20 Thread Xavier Bigand
I just put a QHash table to return the previous generated Qt3DRender::QTextureImageDataPtr, but it doesn't work. Need I fill a bug for this? 2016-06-20 17:15 GMT+02:00 Xavier Bigand : > I took a look with nsight and it appears that my textures are currently > loaded many times, ce

Re: [Interest] [Qt3D] Custom texture loader and material shaders

2016-06-20 Thread Xavier Bigand
I took a look with nsight and it appears that my textures are currently loaded many times, certainly one for each object instance. Need I manage textures resources my self? 2016-06-02 20:39 GMT+02:00 Xavier Bigand : > I forgot to precise that mipmaps are already generated in our file for

Re: [Interest] [Qt3D] Ununderstable message when closing a scene

2016-06-18 Thread Xavier Bigand
I also open a bug report for the memory management : https://bugreports.qt.io/browse/QTBUG-54194 2016-06-17 14:52 GMT+02:00 Xavier Bigand : > https://bugreports.qt.io/browse/QTBUG-54184 > > For the leaks I need to check, but firstly it seems that textures stay in > RAM even when alr

Re: [Interest] [qt3d] Loading textures from a custom file format

2016-06-17 Thread Xavier Bigand
Render::QTextureImageDataPtr that is directly given at the added TextureImage. I don't know if it's the right thing to do everything in my implementation of QAbstractTexture. I am also curious on how set the anisotropy level. 2016-06-17 16:21 GMT+02:00 Xavier Bigand : > I am trying to understan

Re: [Interest] Routing all QML file requests through a custom resource provider

2016-06-17 Thread Xavier Bigand
o avoid the use of the private APIs if possible. I might vote for that > bug, though - reasoning behind "privatizing" FileEngine seems a bit shaky > to me. > > 17.06.2016 21:32, Xavier Bigand пишет: > > I think that we do something similar that you try to achieve. > &g

Re: [Interest] Routing all QML file requests through a custom resource provider

2016-06-17 Thread Xavier Bigand
I think that we do something similar that you try to achieve. I am working on an application that almost works like a game. During development our resources on the regular file system of Windows, Mac,... but when building the final release all ressources are filtered and compressed in a custom pac

[Interest] [qt3d] Loading textures from a custom file format

2016-06-17 Thread Xavier Bigand
I am trying to understand how I have to use QAbstractTexture and QAbstractTextureImage to load textures from our custom format. Our format is pretty simple and consist in a compressed file that contains an header with all necessary informations : - texture size - precise texture format (PVRTCI_4

Re: [Interest] [Qt3D] Ununderstable message when closing a scene

2016-06-17 Thread Xavier Bigand
https://bugreports.qt.io/browse/QTBUG-54184 For the leaks I need to check, but firstly it seems that textures stay in RAM even when already in VRAM. 2016-06-17 12:33 GMT+02:00 Sean Harmer : > Hi, > > On Friday 17 June 2016 12:11:56 Xavier Bigand wrote: > > I finally found a wor

Re: [Interest] [Qt3D] Ununderstable message when closing a scene

2016-06-17 Thread Xavier Bigand
t3D have a lot of memory leaks, after changing a few projects our application use more than 1Go when with our actual 3D engine it's always lower than 200Mo. 2016-06-16 23:03 GMT+02:00 Xavier Bigand : > Thank for the report. > > I was not sure if it wasn't me doing something wrong

Re: [Interest] [Qt3D] Ununderstable message when closing a scene

2016-06-16 Thread Xavier Bigand
; Annoying and it came recently, but not critical as you can continue > running the debugger. > > Harald > > 2016-06-16 17:53 GMT+02:00 Xavier Bigand : > >> Sometimes when it doesn't crash on the first scene switch I can get this >> assert : >> ASSERT: "

Re: [Interest] [Qt3D] Ununderstable message when closing a scene

2016-06-16 Thread Xavier Bigand
de. 2016-06-16 17:35 GMT+02:00 Xavier Bigand : > I am getting the following message when I unload a scene. I am simply > deleting the entities I don't have to display anymore. > > QMetaProperty::read: Unable to handle unregistered datatype > 'Qt3DRender::QBuffer*'

[Interest] [Qt3D] Ununderstable message when closing a scene

2016-06-16 Thread Xavier Bigand
I am getting the following message when I unload a scene. I am simply deleting the entities I don't have to display anymore. QMetaProperty::read: Unable to handle unregistered datatype 'Qt3DRender::QBuffer*' for property 'Qt3DRender::QAttribute::buffer' What is the proper way to unload meshes in

Re: [Interest] QtQuick compiler

2016-06-15 Thread Xavier Bigand
t; On Wed, Jun 15, 2016 at 8:42 AM, Xavier Bigand > wrote: > >> I thought that the QtQuick compiler is now available with the open source >> licences, but QtCreator doesn't found it event with Qt5.7 RC. >> Need I build it myself? >> >> -- >> Xavier >

[Interest] QtQuick compiler

2016-06-15 Thread Xavier Bigand
I thought that the QtQuick compiler is now available with the open source licences, but QtCreator doesn't found it event with Qt5.7 RC. Need I build it myself? -- Xavier ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailm

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

2016-06-14 Thread Xavier Bigand
fer = new QClearBuffers(); > clearBuffer->setBuffers(QClearBuffers::ColorDepthStencilBuffer); > > clearBuffer->setParent(cameraSelector); > cameraSelector->setParent(layerFilter); > layerFilter->setParent(renderSurfaceSelector); > > renderSurfaceSelector->setPar

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

2016-06-03 Thread Xavier Bigand
I finally found that the QFrameGraph class was renamed as QRenderSettings. And now I have the following error : No render surface selector found in frame graph I suspect that I need few new initialisation steps with Qt 5.7 2016-06-03 15:21 GMT+02:00 Xavier Bigand : > There is no more the cl

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

2016-06-03 Thread Xavier Bigand
tings component found -- Xavier Bigand Développeur 66 Rue Marceau, 93100 Montreuil. +33 (0) 1 48 97 92 96 ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] [Qt3D] Custom texture loader and material shaders

2016-06-02 Thread Xavier Bigand
I forgot to precise that mipmaps are already generated in our file format and texture compressed (PVRTC, DXTC,...) 2016-06-02 18:41 GMT+02:00 Xavier Bigand : > Hi, > > I finally come back into Qt3D tests. > > For the texture loader, I made my own QAbstractTextureImage > and Q

Re: [Interest] [Qt3D] Custom texture loader and material shaders

2016-06-02 Thread Xavier Bigand
ause I can set only buffer, pixelType and pixelFormat on QTexImageData class. Need I also implement my own QAbstractTextureProvider functor to provide other properties? 2016-03-28 10:45 GMT+02:00 Sean Harmer : > Hi, > > sorry, forgot to reply to the texture part. > > On 27/03/2016 2

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

2016-05-24 Thread Xavier Bigand
I don't think that it exist a 3D format that is made to have a fast loading, obj, collada are text based format and even FBX that is a binary format seems to give fat and complexe hierarchy files. If you really need performances the best is to do a custom file format that feet your needs. For exem

[Interest] [Qt3D] OpenCL support

2016-05-19 Thread Xavier Bigand
Hi, I found a really interesting SSAO post process (Line-Sweep Ambient Obscurance ), but the reference implementation is written in cuda and it exist a OpenCL port. So I would know if it can be integrated with Qt3D using OpenCL. If it's already possible to do it, do

Re: [Interest] [Qt3D] Crash when using an empty vertex buffer

2016-05-10 Thread Xavier Bigand
2016-05-10 13:28 GMT+02:00 Sean Harmer : > On Tuesday 10 May 2016 11:27:01 Xavier Bigand wrote: > > I am creating dynamic geometries and at some moment a geometry can be > > empty, that cause a crash. > > > > I think that it would be nice if the renderer was safer and a

[Interest] [Qt3D] Crash when using an empty vertex buffer

2016-05-10 Thread Xavier Bigand
I am creating dynamic geometries and at some moment a geometry can be empty, that cause a crash. I think that it would be nice if the renderer was safer and avoid the draw call of empty geometries. It's like new and delete that manage correctly the allocation of 0 bytes. Else I'll have to manage t

Re: [Interest] Is there any plan to make property binding working in C++?

2016-05-09 Thread Xavier Bigand
We do something similar but with few optimizations, like lazy and on memory management. 2016-05-09 10:36 GMT+02:00 Samuel Gaist : > > On 9 mai 2016, at 10:32, Jean-Michaël Celerier < > jeanmichael.celer...@gmail.com> wrote: > > > > > On Mon, May 9, 2016 at 7:41 AM, Thiago Macieira < > thiago.maci

Re: [Interest] Is there any plan to make property binding working in C++?

2016-05-09 Thread Xavier Bigand
Exactly property binding is interesting when we are doing more complex operations, with your examples I don't really see where the connect solve a dependency graph. An example from our code : bool WallEntity::dimentionsVisibleBinding() { if (mWall.get(); == nullptr) // dimenti

[Interest] Is there any plan to make property binding working in C++?

2016-05-08 Thread Xavier Bigand
Hi, Firstly I have to thank every contributors of Qt particularly mens from KDAB for such great things as QML and Qt3D. With QML I learn the property binding paradigm, which is a really big thing that can help to solve a lot of complex problems, but I think that it is not enough known. I really

Re: [Interest] Preferred way to create custom look-and-feel GUI

2016-05-08 Thread Xavier Bigand
If you want something modern you should use QML. Maybe with QtQuickControls 2.0 to get controls, because QtQuick itself provides only primitives, Rectangle, Image, MouseArea,... but no buttons,... QML is made to be easy to customize instead of Widgets, you will also capable to do nice animations.

Re: [Interest] qt.labs.controls / QtQuickControls2: ToolBar, Label / Image Colors, tinting...

2016-05-07 Thread Xavier Bigand
qt.io/browse/QTBUG-49288 And this is for the color blinding feature : https://bugreports.qt.io/browse/QTBUG-49152 2016-05-07 12:39 GMT+02:00 ekke : > Am 07.05.16 um 11:48 schrieb Xavier Bigand: > > Your image is black because the shader is multiplying the color. You > should do your

Re: [Interest] qt.labs.controls / QtQuickControls2: ToolBar, Label / Image Colors, tinting...

2016-05-07 Thread Xavier Bigand
> id: buttonImage2 > anchors.centerIn: parent > source: "qrc:/images/menu.png" > } > // YEP: now it's white :) > ColorOverlay { > anchors.fill: buttonImage2 >

Re: [Interest] qt.labs.controls / QtQuickControls2: ToolBar, Label / Image Colors, tinting...

2016-05-06 Thread Xavier Bigand
I think that is better to used a ShaderEffect instead of QtGraphicalEffects that comes with an FBO. An FBO can take a lot a GPU resources and doesn't works well with some Android phone due to bad drivers. I personally use this : ShaderEffect { visible: Qt.colorEqual(parent.color, "whi

  1   2   >