Commit Graph

576 Commits

Author SHA1 Message Date
Mael Rouxel-Labbé ae06b044ce Improved existing SMP code
-Factorized the different tools to construct vertices and faces container in
a single class.
-Updated all examples accordingly and replaced the polylines output by an OFF
output across all files.
-Some other minor changes (missing includes, indentation, typos, etc.)
2017-06-22 16:14:55 +02:00
Mael Rouxel-Labbé 3245d726e3 Misc minor changes 2017-06-22 16:14:55 +02:00
Mael Rouxel-Labbé 664d873d2d Removed Parameterization_polyhedron_adaptor_ex.h 2017-06-22 16:14:55 +02:00
Mael Rouxel-Labbé c71d8285d0 Updated the examples of the SMP to work with the new Seam mesh
Also a small change in the Polyhedron demo
2017-06-22 16:14:55 +02:00
Mael Rouxel-Labbé 922d072609 Added flip and non-valid parameterization tests
MVC post processor is only called in ARAP if the parameterization is no valid.
2017-06-22 16:14:55 +02:00
Andreas Fabri c3057850e9 Add example 2017-06-22 16:14:55 +02:00
Mael Rouxel-Labbé 6d47ef3735 Fixed the MVC post processor overzealously constraining all borders
As for the 'real' MVC parameterizer, only one border must be constrained.
2017-06-22 16:14:55 +02:00
Mael Rouxel-Labbé b8d7bd24c0 Fixed using ARAP's border parameterizer in the initial MVC parameterization 2017-06-22 16:14:55 +02:00
Mael Rouxel-Labbé 12344fd325 Fixed the brute force 'simpleness' test of the borders in the ARAP post processor 2017-06-22 16:14:55 +02:00
Mael Rouxel-Labbé a7da445497 The initial parameterization in ARAP_param now depends on the number of borders 2017-06-22 16:14:55 +02:00
Mael Rouxel-Labbé fcdc127a08 Fixed a function duplicated over different files 2017-06-22 16:14:55 +02:00
Mael Rouxel-Labbé 3644a91f82 Added a way to write uvmaps into OFF files 2017-06-22 16:14:55 +02:00
Mael Rouxel-Labbé 4a9f01685a Fixed not using the solver member in MVC_post_processing_3 2017-06-22 16:14:55 +02:00
Mael Rouxel-Labbé 30a7d7843f Updated Surface_mesh_parameterization's documentation 2017-06-22 16:14:55 +02:00
Mael Rouxel-Labbé e5dcc1c9a0 Properly factorized the Containers_filler internal class 2017-06-22 16:14:55 +02:00
Mael Rouxel-Labbé 7e7ff03831 Changed some comments 2017-06-22 16:14:55 +02:00
Mael Rouxel-Labbé e8d22d0f24 Some progress towards compilation of ARAP with a seam_mesh
Most of the issues come from the incomplete seam_mesh graph traits now.
2017-06-22 16:14:55 +02:00
Mael Rouxel-Labbé d978cc47c8 Added an example to test various configuration of mesh type and parameterizer 2017-06-22 16:14:55 +02:00
Mael Rouxel-Labbé 320e40d6c4 Fixed some return type in the MVC post processor 2017-06-22 16:14:55 +02:00
Mael Rouxel-Labbé 8afe8af986 Fixed choice of fixed vertices for different types of lambda
Not too sure about that change, but it (sort of) makes sense to only
fix one point when lambda !=0, it works, and looking -now- at the other
branch on ARAP, they had done the same.
2017-06-22 16:14:55 +02:00
Mael Rouxel-Labbé 95bc5f4b91 Changed some comments 2017-06-22 16:14:55 +02:00
Mael Rouxel-Labbé 8a1688e13f Fixed include directives 2017-06-22 16:14:55 +02:00
Sébastien Loriot 8ac36da8dd doc clean up 2017-06-22 16:14:55 +02:00
Mael Rouxel-Labbé b4c0784a67 Small changes to make ARAP work with a Surface_mesh
Note that this requires the boost hash maps of commit ec7aa45
2017-06-22 16:14:55 +02:00
Mael Rouxel-Labbé 23ac9a95c1 Fixed compilation of the ARAP paramaterizer
The location of Misc_conic.h was changed by the merge of master
2017-06-22 16:14:55 +02:00
Sébastien Loriot 8a8948ebed update doc 2017-06-22 16:14:55 +02:00
Mael Rouxel-Labbé 92496eacfc Split post processing functions away from ARAP parameterizer's class 2017-06-22 16:14:55 +02:00
Mael Rouxel-Labbé a83fecb3c7 Changed some comments 2017-06-22 16:14:55 +02:00
Mael Rouxel-Labbé 0f10528369 Added post processing that (attempts to) fix potential flips in the ARAP param 2017-06-22 16:14:55 +02:00
Mael Rouxel-Labbé 17e3477151 Changed some comments 2017-06-22 16:14:55 +02:00
Mael Rouxel-Labbé c73c0c904e Reworked the counter of the energy-minimizing loop 2017-06-22 16:14:55 +02:00
Mael Rouxel-Labbé e738fc6dac Added a macro to choose which vertices are fixed 2017-06-22 16:14:55 +02:00
Mael Rouxel-Labbé fd4e709c1b Added a way to compute 'a' using the algeabric kernel to solve the cubic eq 2017-06-22 16:14:55 +02:00
Mael Rouxel-Labbé 8cbd200250 Changed some comments 2017-06-22 16:14:55 +02:00
Mael Rouxel-Labbé 81cfaeb944 Fixed using the wrong coordinates in the RHS of the system and the energy
Global coordinates were used instead of UV coordinates...
2017-06-22 16:14:55 +02:00
Mael Rouxel-Labbé 18091ce6df Removed superfluous references to property maps 2017-06-22 16:14:55 +02:00
Mael Rouxel-Labbé 4388da9582 Added draft of the local/global mesh parameterization algorithm 2017-06-22 16:14:55 +02:00
Mael Rouxel-Labbé 688340cf50 Fixed a comment 2017-06-22 16:14:55 +02:00
Mael Rouxel-Labbé 65b2708daf Removed the superfluous uv_map from ContainersFiller 2017-06-22 16:14:55 +02:00
Mael Rouxel-Labbé c478443b3e Fixed const correctness 2017-06-22 16:14:55 +02:00
Mael Rouxel-Labbé 79490fd8b0 Cleaned code (indentation, whitespace, etc.) 2017-06-22 16:14:55 +02:00
Maxime Gimeno f9f000d1e5 Clean-up
- errors still remain :Surface_mesh_parameterize/next_bug and BGL/tests
2017-06-22 16:14:55 +02:00
Maxime Gimeno c403f3c688 Fix remaining bugs and add a "highlighting" of the current patch being projected. 2017-06-22 16:12:26 +02:00
Maxime Gimeno ee8f7d0dff Fix the LSCM Parameterizer 2017-06-22 16:12:26 +02:00
Maxime Gimeno fd8336ecf8 Implementation of the seaming. 2017-06-22 16:12:26 +02:00
Maxime Gimeno 407bb3e675 Restore Parameterization_plugin with the BGL API. 2017-06-22 16:12:26 +02:00
Andreas Fabri 88b81378ce WIP 2017-06-22 16:12:26 +02:00
Andreas Fabri 63a5c1fd0b still WIP 2017-06-22 16:12:26 +02:00
Andreas Fabri c03ca8fb63 broken code, as I ask Sebastien to find the compile timer error 2017-06-22 16:12:26 +02:00
Andreas Fabri f6f52e01b0 cleanup and fix of Simple_parameterization.cpp 2017-06-22 16:12:26 +02:00