[Interest] Qt3D Reading from a Compute Shader
Russell, Matthew
MRussell at neptec.com
Thu Mar 2 18:18:16 CET 2017
>From the looks of it, I think that's exactly what I need. =D
I suspected it would be a RenderPass, but a child of the DispatchCompute makes sense too. I'm also still pretty new at this.
As soon as I get 5.9a built, I'll give this a try in my code.
Thanks!
From: Interest [mailto:interest-bounces+mrussell=neptec.com at qt-project.org] On Behalf Of Juan José Casafranca
Sent: Wednesday, March 1, 2017 6:15 PM
To: interest at qt-project.org
Subject: Re: [Interest] Qt3D Reading from a Compute Shader
I wrote a patch for this some weeks ago. I think is already merged in Qt 5.9. Have a look at the buffercapture example (qt5/qt3d/tests/manual/buffercapture-qml).
Let me know if you have any trouble.
On miércoles, 1 de marzo de 2017 22:09:15 (CET) Russell, Matthew wrote:
> Hi,
>
> Is it possible with QML to read a buffer operated on by a compute shader?
>
> If I understood this message properly,
> http://lists.qt-project.org/pipermail/interest/2016-November/025167.html ,
> then this wasn't possible in 5.8, but might be available in 5.9.
>
> Specifically, I'm showing point data from a lidar in a multi viewport
> Scene3d. My Buffer is used in a Geometry that has a Material on it that
> performs a compute shader in the first pass, and then passes that data to
> the vertex shaders.
>
> My problem is that as I receive new point data from the lidar, I need to
> re-write my data, but I wanna capture the modifications the compute shader
> performed. Otherwise, the compute shader translates my point data
> properly, but when I re-push my buffer, all the translations are forgotten.
>
> Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20170302/6d7e6346/attachment.html>
More information about the Interest
mailing list