-
Notifications
You must be signed in to change notification settings - Fork 111
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
Manifold Decompose doesn't preserve vertex properties #786
Comments
Probably a bug because decompose was there before vertex properties. |
I'd be happy to try to implement and test a solution, do you know of anywhere in the code that also filters the vertex properties by index that might be similar @pca006132 ? |
That would be excellent, thanks! It might help to look at CompactProps. If you get excited about cleaning up |
It turned out that the only cause of this was that |
…test for Decompose with properties, and ExpectProperties function in test_main in order to check properties in a mesh match those set by SetProperties.
…. Added test for Decompose with properties, and ExpectProperties function in test_main in order to check properties in a mesh match those set by SetProperties." This reverts commit 03848fa.
* Fix for #786 by setting numProps in GatherFaces method. Added test for Decompose with properties, and ExpectProperties function in test_main in order to check properties in a mesh match those set by SetProperties. * Correct formatting of ExpectProperties * Correct more formatting * Removed ExpectProperties and instead use existing test methods * Call RelatedGL for each Decomposed Manifold
…ks (#795) * Fix for #786 by setting numProps in GatherFaces method. Added test for Decompose with properties, and ExpectProperties function in test_main in order to check properties in a mesh match those set by SetProperties. * Correct formatting of ExpectProperties * Correct more formatting * Add x_context variants of set_properties and warp functions in cbindings, along with tests * Revert "Correct more formatting" This reverts commit 6e409cf. * Revert "Correct formatting of ExpectProperties" This reverts commit 4d5ee88. * Revert "Fix for #786 by setting numProps in GatherFaces method. Added test for Decompose with properties, and ExpectProperties function in test_main in order to check properties in a mesh match those set by SetProperties." This reverts commit 03848fa. * Remove _context variants of functions and make context argument the default for all callbacks. Add bounds checks to warp test and volume and surface area checks to level set test * Correct formatting * Use M_PI not M_PIf as Windows/Mac don't have it * Use glm not C math * Mac build sensitive to glm::pow<float,float> vs glm::pow<float> * Use std::pow for pow
Calling Decompose on a Manifold made up of multiple disconnected meshes divides it into the separate Manifolds, but only containing vertex positions and not including other vertex properties if defined (unless I'm mistaken?).
The text was updated successfully, but these errors were encountered: