-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
METIS-based meshlet generation #16947
METIS-based meshlet generation #16947
Conversation
This reverts commit 6d1948a.
…metis-meshlet-generation
Co-authored-by: IceSentry <[email protected]>
options[metis::option::UFactor::INDEX] = 1; // Important that there's very little imbalance between partitions | ||
|
||
let mut meshlet_per_triangle = vec![0; triangle_count]; | ||
let partition_count = triangle_count.div_ceil(126); // Need to undershoot to prevent METIS from going over 128 triangles per meshlet |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
by how much does it overshoot the partitions it makes if you set this to 128?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1-2 triangles, which then leads to tiny meshlets with 1 triangle. Need to undershoot unfortunately :(
Objective
Improve DAG building for virtual geometry
Solution
Testing
Showcase
New
Old