Yesterday, 09:56 PM
What would be the best approach for acheiving a HD sdf collision map close to the player? I would love to reach a resolution of 1-5 centimeters (in a VR setting).
I'm working on a smooth voxel system with detailing through tesselation and displacement. Next up for me is generating this HD collsion map but I'm stumped at finding a solution here.
So far the implemented process is:
It needs to be runtime and on demand as chunks are loaded and LOD changed. I know of the method from the Unity demo team. I could likely do this or something similar, but with some virtual volume method so that i only resolve high definition close to geometry.
At some point I need to stop the flood-fill propagation of distances if nothing else at the seams between high resolution and low resolution. How mathematically accurate does the SDF need to be for Obi to work properly? Is accuracy most important close to zero or does it have to be seamless?
I'm working on a smooth voxel system with detailing through tesselation and displacement. Next up for me is generating this HD collsion map but I'm stumped at finding a solution here.
So far the implemented process is:
- Have a low resolution SDF field
- Generate mesh from SDF
- Unwrap mesh UV's and apply virtual texturing
- Use tesselation+displacement when rendering. It now looks HD and photorealistic!
It needs to be runtime and on demand as chunks are loaded and LOD changed. I know of the method from the Unity demo team. I could likely do this or something similar, but with some virtual volume method so that i only resolve high definition close to geometry.
At some point I need to stop the flood-fill propagation of distances if nothing else at the seams between high resolution and low resolution. How mathematically accurate does the SDF need to be for Obi to work properly? Is accuracy most important close to zero or does it have to be seamless?