Re: [osg-users] Nvidia RTX

2019-02-21 Thread Chris Hanson
On Thu, Feb 21, 2019 at 6:42 PM Robert Osfield wrote: > I haven't looked at GL/Vulkan interoperability yet so can't provide > any clarity on this, but I can say is that there are NVidia demos show > this so it should be possible. If anyone spots an Nvidia demo that shows some OpenGL / RTX int

Re: [osg-users] Nvidia RTX

2019-02-21 Thread Robert Osfield
Hi All, I haven't looked at GL/Vulkan interoperability yet so can't provide any clarity on this, but I can say is that there are NVidia demos show this so it should be possible. During the dev of the VSG I've found it useful to work on a osg2vsg utility library and program to help map OSG image a

Re: [osg-users] Nvidia RTX

2019-02-21 Thread Lionel Lagarde
The RTX examples I found (like https://iorange.github.io/p01/HappyTriangle.html) use a VK command (similar to a compute dispatch) to trigger the ray tracing: |void vkCmdTraceRaysNVX(VkCommandBuffer commandBuffer, VkBuffer raygenShaderBindingTableBuffer, VkDeviceSize raygenShaderBindingOffset,

Re: [osg-users] Nvidia RTX

2019-02-21 Thread Chris Hanson
So, you'd need a shared GL/Vk context in order to Vk load the data and then GL trace it, if I understand correctly? We could probably bring VSG into play to load the data. I think there's enough working code there already to do so. Or, really, we could just us what VSG has already and compose and

Re: [osg-users] Nvidia RTX

2019-02-21 Thread Lionel Lagarde
Hi, It is a GLSL extension, the ray tracing functions use some input data (like the acceleration structure) that can only be constructed and uploaded using the vk API. On 21/02/2019 13:34, Chris Hanson wrote: One of my guys pointed out this recent addition: https://github.com/KhronosGroup/

Re: [osg-users] EXTERNAL: Re: EXTERNAL: Re: Nvidia RTX

2019-02-21 Thread Rowley, Marlin R
Shoot me an email anytime. Marlin Rowley Software Engineer, Staff [cid:image002.jpg@01D39374.DEC5A2E0] Missiles and Fire Control 972-603-1931 (office) 214-926-0622 (mobile) marlin.r.row...@lmco.com From: osg-users On Behal

Re: [osg-users] EXTERNAL: Re: Nvidia RTX

2019-02-21 Thread Chris Hanson
On Wed, Feb 20, 2019 at 10:55 PM Rowley, Marlin R wrote: > I, personally, wouldn't be in such a rush to implement RTX support. The > graphics card can only handle 1 ray-tracing feature at acceptable > framerates. We are using OSG for terrain generation and I see rendering > triangles fast enoug

Re: [osg-users] Nvidia RTX

2019-02-21 Thread Chris Hanson
One of my guys pointed out this recent addition: https://github.com/KhronosGroup/GLSL/blob/master/extensions/nv/GLSL_NV_ray_tracing.txt On Wed, Feb 20, 2019 at 9:47 PM Chris Hanson wrote: > > Well, I was wondering if there was an OpenGL RTX API anywhere, but it > doesn't seem there is. > > Vul