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

Investigate faster collision mesh generation/loading options #512

Open
kring opened this issue Jun 29, 2021 · 0 comments
Open

Investigate faster collision mesh generation/loading options #512

kring opened this issue Jun 29, 2021 · 0 comments
Labels
performance Improvements to performance, including reductions in memory usage research Explore an idea or prototype a concept and share the results

Comments

@kring
Copy link
Member

kring commented Jun 29, 2021

As mentioned in #509, computing physics meshes for collision is a significant chunk of our tile load time, so we should avoid it when we can. When we do need it, however, it would be nice if it were faster. So this issue is to do some research into how this can be achieved, including but not limited to:

  • Use Chaos instead of PhysX... is it faster?
  • PhysX has a flag, EPhysXMeshCookFlags::FastCook, which it says can be used to "Prioritize cooking speed over runtime speed". How do we get Unreal Engine to invoke PhysX with that flag and what are the implications?
  • Can we save time - and still get a useful result - by creating convex collision meshes instead of the fully-detailed ones?
  • Similar to the above but even more extreme, can we use the tile bounding boxes as coarse collision volumes and will that be good enough for some use-cases?
  • We probably don't want to put Engine-specific collision formats in 3D Tiles, even as an extension. But what extension could we add to 3D Tiles that would allow us to accelerate client-side collision mesh generation?
  • Probably lots more.
@kring kring added research Explore an idea or prototype a concept and share the results performance Improvements to performance, including reductions in memory usage labels Jun 29, 2021
@kring kring mentioned this issue May 31, 2022
30 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
performance Improvements to performance, including reductions in memory usage research Explore an idea or prototype a concept and share the results
Projects
None yet
Development

No branches or pull requests

1 participant