[Interest] Qt3D Reading from a Compute Shader

Juan José Casafranca jjcasmar at gmail.com
Thu Mar 2 00:14:56 CET 2017


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/539c156c/attachment.html>


More information about the Interest mailing list