texture: change parametrization in CUDA texturing from XAtlas to best view clustering - #1270
Open
JuSiGabriel wants to merge 1 commit into
Open
JuSiGabriel wants to merge 1 commit into
JuSiGabriel wants to merge 1 commit into
Conversation
… views clustering
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Replaced the CUDA texturing UV parametrization with a custom in-house method and removed the old xatlas path entirely.
The new parametrization builds texture charts by grouping mesh faces into connected components that share the same best source view, then assigns UVs by directly projecting each chart into that camera. Faces without a valid view fall back to a simple local planar triangle parametrization. This keeps the parametrization step lightweight and predictable, reuses information already computed by the CUDA texturing pipeline, and avoids the overhead of running a separate global UV unwrapping stage.