[Interest] [Qt3D] OpenCL support
Sean Harmer
sean.harmer at kdab.com
Fri May 20 09:23:39 CEST 2016
Hi,
On Friday 20 May 2016 00:28:51 Xavier Bigand wrote:
> Hi,
>
> I found a really interesting SSAO post process (Line-Sweep Ambient
> Obscurance <http://wili.cc/research/lsao/>), 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 the support of OpenCL continue with
> future renderer backends (vulkan, DX12)?
We don't have an aspect that uses OpenCL. If I were approaching this, I would
first try it with a compute shader before embarking on the more difficult OpenCL
aspect approach. Also, using a compute shader should make it easier to
port/adapt should we ever introduce more graphics API backends like
Vulkan/DX12/Metal.
Of course, if you want to write an OpenCL aspect, then please feel free to do
so. I guess for the interop we'd somehow need to expose the OpenGL context or
you could do like Scene3D item does and provide your own context. Means usign
some private API for now though.
Cheers,
Sean
--
Dr Sean Harmer | sean.harmer at kdab.com | Managing Director UK
Klarälvdalens Datakonsult AB, a KDAB Group company
Tel. UK +44 (0)1625 809908, Sweden (HQ) +46-563-540090
KDAB - Qt Experts - Platform-independent software solutions
More information about the Interest
mailing list