Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accesing Unreal Engine's Mesh Distance Fields #1800

Open
madratman opened this issue Feb 20, 2019 · 5 comments
Open

Accesing Unreal Engine's Mesh Distance Fields #1800

madratman opened this issue Feb 20, 2019 · 5 comments

Comments

@madratman
Copy link
Contributor

madratman commented Feb 20, 2019

Does anyone have experience with unreal engine's mesh distance field, and if there's an API to query it at run time?
I am unable to find an API for the same (unless I am not googling this properly), however as evident from the above section in unreal's documentation and corresponding videos for lighting and shadows for rendering in UE4, it builds the distance field anyway. Question is, how can we query it?

It would be really useful to be able to query the distance field programatically, for autonomy related tasks like trajectory optimization / collision avoidance. Also, it serves as a ground truth for mapping algorithms

@madratman
Copy link
Contributor Author

madratman commented Feb 20, 2019

ok, seems like meshdistancefield is the wrong keyword to look at.
there's FDistanceFieldVolumeData and FDistanceFieldVolumeTexture for a static mesh

the above two are wrt to a single static mesh. There's also a Global Distance Field (ctrl+f "Global Distance Field" in the MeshDistanceFields doc. That's what we really need

@ironclownfish
Copy link
Contributor

Ask Sai

@GuangyaoSHI
Copy link

ok, seems like meshdistancefield is the wrong keyword to look at.
there's FDistanceFieldVolumeData and FDistanceFieldVolumeTexture for a static mesh

the above two are wrt to a single static mesh. There's also a Global Distance Field (ctrl+f "Global Distance Field" in the MeshDistanceFields doc. That's what we really need

Do you know how to query distance field now from Unreal? I am doing a project and I want to use that information for trajectory optimization.

@rajat2004
Copy link
Contributor

Seems to be somewhat similar to the newly added Voxel Grid API, see the original PR #3209 and the docs update PR #3239

@stale
Copy link

stale bot commented Apr 16, 2022

This issue has been automatically marked as stale because it has not had activity from the community in the last year. It will be closed if no further activity occurs within 20 days.

@stale stale bot added the stale label Apr 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants