FleX icon indicating copy to clipboard operation
FleX copied to clipboard

Missing feature: send gpu data (e.g. SDF to SDF) to Flex in D3D (or OpenGL)

Open CK85 opened this issue 5 years ago • 4 comments

Hi,

I like to send device->device updates of SDF data to FleX without using a CPU readback.

The reason: I created a smooth voxel terrain via SDFs on the GPU (there is no readback to the CPU), and now I like to send the procedural terrain gpu data directly to FleX to create a collision. Currently SDF to SDF would be nice, but it might also be fine with a tri-mesh, if that works.

I only know that I can use NvFlexRegisterD3DBuffer to send Flex data directly to a compute buffer, but not the other way round.

Best, Chris

CK85 avatar Aug 20 '18 06:08 CK85

Hi Chris,

You are right that this functionality is currently missing from the D3D impl. It is assuming SDF data comes from host. There's no real restriction here so we will work to fix this for the next point release.

Thanks, Miles

mmacklin avatar Aug 26 '18 21:08 mmacklin

Ok, thanks!

CK85 avatar Sep 07 '18 17:09 CK85

Alternatively, on top of doing a device->device update.

Could also we get access to unordered view directly? (so could use a write compute shader and save a copy, or do only partial updates if needed).

mrvux avatar Feb 12 '19 15:02 mrvux

+1: I also need this

digitalwannabe avatar Jun 07 '20 23:06 digitalwannabe