Re: [Interest] Qt3D: Mesh, buffer and tangent

2017-04-11 Thread Ch'Gans
On 11 April 2017 at 20:45, Sean Harmer wrote: > Hi, > > On Tuesday 11 April 2017 10:46:24 Ch'Gans wrote: >> Hi there, >> >> I'm writing some code to display 2D polygons as 3D polygonal plates, >> my input being a 2D triangulated polygon. >> As i'm pretty new to 3D/OpenGL, I had a look first at how

Re: [Interest] Getting a QImage from an QML Image, protocol agnostic QImage?

2017-04-11 Thread Jason H
> Sent: Tuesday, April 11, 2017 at 10:19 AM > From: "Sean Harmer" > To: interest@qt-project.org > Subject: Re: [Interest] Getting a QImage from an QML Image, protocol agnostic > QImage? > > On Tuesday 11 April 2017 16:05:57 Jason H wrote: > > I am looking for a way to get the original pixel dat

Re: [Interest] Simulate Android CircularReveal with Qml

2017-04-11 Thread Jason H
  Should be super simple. You have the background, below the foreground,  being revealed in a circle. So put your foreground item in a Rectangle with radius: width/2; clip: true, then animate the width from 0 to whatever.   Sent: Tuesday, April 11, 2017 at 8:54 AM From: "Majid Kamali" To: in

Re: [Interest] Getting a QImage from an QML Image, protocol agnostic QImage?

2017-04-11 Thread Sean Harmer
On Tuesday 11 April 2017 16:05:57 Jason H wrote: > I am looking for a way to get the original pixel data from a Image element > into QImage. A few ways just grab the image as rendered (returning less > data if scaled down) but I want the full image. > > I don't mind loading the pixel data for myse

[Interest] Getting a QImage from an QML Image, protocol agnostic QImage?

2017-04-11 Thread Jason H
I am looking for a way to get the original pixel data from a Image element into QImage. A few ways just grab the image as rendered (returning less data if scaled down) but I want the full image. I don't mind loading the pixel data for myself, but the Image element take s QUrl, and if passed to

[Interest] Simulate Android CircularReveal with Qml

2017-04-11 Thread Majid Kamali
Hi. How can I create CircularReveal [1] in Qml? I tried using both OpacityMask and ShaderEffect, but with no luck. Using CircularReveal2, transition is not circle but an ellipse, because width and height of Item are not equal. Using CircularReveal3, OpacityMask is anchored in Item and quality of it

Re: [Interest] QEntity

2017-04-11 Thread Igor Mironchik
Hi, 11.04.2017 14:38, Sean Harmer пишет: On Tuesday 11 April 2017 14:22:22 Igor Mironchik wrote: Hello, Approximately QEntity with cone mesh, phong material and transformation eats 200-250 KB of memory. And my question is it many, normal, or little? I don't know I've not measured it. But yo

Re: [Interest] QEntity

2017-04-11 Thread Igor Mironchik
Hello, 11.04.2017 14:38, Sean Harmer пишет: On Tuesday 11 April 2017 14:22:22 Igor Mironchik wrote: Hello, Approximately QEntity with cone mesh, phong material and transformation eats 200-250 KB of memory. And my question is it many, normal, or little? I don't know I've not measured it. But

Re: [Interest] Moc fails using Qt 5.6

2017-04-11 Thread jschneiderman
Will do later tonight. John Schneiderman Senior Software Engineer Galaxy Desktop Team GOG.com From: Konrad Rosenbaum Sent: wtorek, 11 kwietnia 2017 14:00 To: interest@qt-project.org Cc: jschneider...@gog.com Subject: Re: [Interest] Moc fails using Qt 5.6 Hi, On Mon, April 10, 2017 15:29, jschne

Re: [Interest] Moc fails using Qt 5.6

2017-04-11 Thread Konrad Rosenbaum
Hi, On Mon, April 10, 2017 15:29, jschneider...@gog.com wrote: > I've attached a bit of demonstration code that shows how moc fails when > using separators inside enumerations and comments. The error I’m getting > is: Class declaration lacks Q_OBJECT macro. Even though it is clearly in > the spe

Re: [Interest] QEntity

2017-04-11 Thread Sean Harmer
On Tuesday 11 April 2017 14:22:22 Igor Mironchik wrote: > Hello, > > Approximately QEntity with cone mesh, phong material and transformation > eats 200-250 KB of memory. > > And my question is it many, normal, or little? I don't know I've not measured it. But you can share materials/effects/tex

[Interest] QEntity

2017-04-11 Thread Igor Mironchik
Hello, Approximately QEntity with cone mesh, phong material and transformation eats 200-250 KB of memory. And my question is it many, normal, or little? Thank you. ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailma

Re: [Interest] Qt3D memory leaks

2017-04-11 Thread Igor Mironchik
Hi, I fixed a little 3Dtree. Now branches positions are correct. And I know that not all leafs is visible (this is because leaf geometry is implemented as plain which renders only on one side). 10.04.2017 13:20, Igor Mironchik пишет: Hello, I guess that Qt3D has huge memory leaks. You ca

Re: [Interest] Qt3D: Mesh, buffer and tangent

2017-04-11 Thread Sean Harmer
Hi, On Tuesday 11 April 2017 10:46:24 Ch'Gans wrote: > Hi there, > > I'm writing some code to display 2D polygons as 3D polygonal plates, > my input being a 2D triangulated polygon. > As i'm pretty new to 3D/OpenGL, I had a look first at how the plane, > cylinder, cuboid, cone, and torus are doin

[Interest] Google "guetzli" JPEG encoder Qt image plugin

2017-04-11 Thread Till Oliver Knoll
Hi all, A simple QImageIOPlugin based JPEG "Guetzli" encoder is available here: https://github.com/till213/GuetzliImageIOPlugin Guetzli-generated images are typically 20-30% smaller than images of equivalent quality generated with libjpeg. All credits go to Google Research Europe here. Also