FleX
FleX copied to clipboard
Missing feature: send gpu data (e.g. SDF to SDF) to Flex in D3D (or OpenGL)
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
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
Ok, thanks!
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).
+1: I also need this