Commit Graph

316 Commits

Author SHA1 Message Date
Paolo Cignoni 5287115db2 small changes to allow clang compilation 2016-06-12 21:11:25 +00:00
Paolo Cignoni 47334c555d Small change to make the bbox function in segment equal to the other vcg object (getbbox instead of bbox) 2016-06-12 21:10:46 +00:00
Nico Pietroni 9097130c3b corrected some bug in the main call 2016-06-09 12:09:56 +00:00
Paolo Cignoni e65ef3a87c Cleaning up sample prog 2016-06-09 10:46:59 +00:00
Paolo Cignoni 121d356fbf Cleaning up sample prog 2016-06-09 10:46:10 +00:00
Paolo Cignoni ef724af624 Cleaning up sample prog 2016-06-09 08:44:43 +00:00
Paolo Cignoni 067f2e713d Cleaning up sample prog 2016-06-09 08:42:29 +00:00
granzuglia 848a17e0fb removed useless file 2016-05-06 06:11:05 +00:00
granzuglia e671856039 updated the rendering example using the new rendering system 2016-05-06 02:23:45 +00:00
Paolo Cignoni 1c8f6100cd better comment 2016-02-09 12:16:09 +00:00
Paolo Cignoni a43fd22a50 updated ransac sample (Still to be completed) 2016-02-09 09:35:11 +00:00
Paolo Cignoni c516493c7e better templating 2016-02-08 07:01:20 +00:00
Paolo Cignoni beda36650d First very rough skeleton of the ransac framework 2016-02-08 06:55:09 +00:00
Paolo Cignoni 2bb91ac57a Updated a number of sample app for the vcg lib 2016-01-25 14:47:06 +00:00
granzuglia 6bb2ed6382 - recommitted last working version of the trimesh_QT_shared project contained in the git repository 2015-07-30 11:13:19 +00:00
Nico Pietroni 00d485469f minor changes in the code to make it compile correctly 2015-06-15 14:43:27 +00:00
granzuglia 1864d686c0 - updated version of the shared context - multiple windows renderer 2015-06-14 10:28:47 +00:00
granzuglia dca2488ac4 - sample projects using new rendering engine 2015-06-10 23:58:57 +00:00
Paolo Cignoni fffd61bbed updated the sample to the last changes 2014-11-05 17:23:39 +00:00
Paolo Cignoni 34a920a6f9 First sample using implicit smoothing 2014-11-05 16:22:51 +00:00
Paolo Cignoni ab21f5437c harmless clang warning 2014-11-04 10:13:35 +00:00
Paolo Cignoni fa8690e457 Improving Doxygen Documentation 2014-11-04 10:01:48 +00:00
Paolo Cignoni 8380ea37a0 Updating to reflect Small changes to the smooth 2014-11-04 09:57:07 +00:00
Paolo Cignoni 0e9c582aeb first sample for harmonic interpolation 2014-11-03 15:07:07 +00:00
ganovelli 918cec664a fixed includes to new files position (also in app2/sample/hashing_2D) 2014-10-09 14:10:27 +00:00
ganovelli 5249736918 completed renaming to lowercase of space/index/index2d and hashing_test2d 2014-10-09 12:32:03 +00:00
ganovelli a945715727 renaming to lowercase 2014-10-09 12:30:04 +00:00
ganovelli d78ad96d9a files renaming to lowercase 2014-10-09 12:22:31 +00:00
Paolo Cignoni 8e9de883b3 Added edgemesh sampling example 2014-08-26 01:44:03 +00:00
Nico Pietroni 08839e1f4c corrected some minor warning 2014-08-01 00:24:08 +00:00
Nico Pietroni 46cdf95e0d reformulated the whole test application with grid_static ptr and formulated new tests 2014-08-01 00:18:13 +00:00
Gianpaolo Palma 28e1d4e21a Update after refactoring of the KdTree class. 2014-07-11 12:28:52 +00:00
Gianpaolo Palma 86cab645cf Added application to test the different indexing structure for the nearest neighbor search on the vertices of the mesh (radius search, knn nearest, closest point). 2014-07-11 12:20:40 +00:00
Paolo Cignoni c3f7b86500 Some changes to the voronoi processing class. Now it performs Loyyd relaxation on constrained elements only keeping into account the constrained set. In other words sample on the boundary are relaxed only keeping into account of he other boundary vertexes This will result in much better distributions of samples on the boundaries.
Improved also boundary management in the refinement/spring relaxing. 
Added a parameter for controlling the preprocessing refinment
2014-03-18 11:27:46 +00:00
Paolo Cignoni 323362697a Changed to trisplit to make it c++ 01 compliant 2014-03-04 17:18:03 +00:00
Paolo Cignoni f4fde23bb2 updated the sample to the voronoi processing renaming 2014-03-04 00:52:46 +00:00
Paolo Cignoni 2744e1330f Added new sample on voronoi processing 2014-03-04 00:41:54 +00:00
Paolo Cignoni f5701a9a85 Renaming for standard naming of samples 2014-02-25 16:49:23 +00:00
Paolo Cignoni 338cb9255c Renaming for standard naming of samples 2014-02-25 16:47:24 +00:00
Paolo Cignoni b7ed96e083 PolygonalMesh Debugging: corrected typo in the name of the polychord class 2014-02-18 11:12:37 +00:00
Paolo Cignoni 23d4533559 PolygonalMesh Debugging: corrected typo in the name of the polychord class 2014-02-18 11:01:44 +00:00
Paolo Cignoni 5f68ac2d07 cleaning up polygonal vcg samples 2014-02-18 09:17:18 +00:00
Paolo Cignoni b84e06c14e cleaning up vcg samples 2014-02-18 08:21:31 +00:00
Paolo Cignoni 217e22fd48 renaming polycoord to polychord 2014-02-18 07:38:07 +00:00
Paolo Cignoni ca72d6bf33 renaming polycoord to polychord 2014-02-18 07:36:23 +00:00
Paolo Cignoni f0ad4be422 cleaning up vcg samples 2014-02-18 07:32:03 +00:00
Paolo Cignoni d8b418085f added a missing pro 2014-02-18 07:31:15 +00:00
giorgiomarcias 2464b63495 Added a sample app showing how to use the Polycoord Collapse for polygonal meshes. 2014-02-12 12:44:57 +00:00
Paolo Cignoni 5cb33423cf Removed a useless enum definition in the glwidget of trimesh_ant_qt 2014-02-04 16:15:38 +00:00
Paolo Cignoni c4f4ed3360 Updated to the old changes do to the updatenormals class 2014-02-04 16:09:29 +00:00
Paolo Cignoni c0b621c810 updated the voronoisampling sample to show the new features of the recent changes to the voronoi relaxation framework. 2013-12-20 11:47:58 +00:00
Paolo Cignoni ab5869f6c3 Added the possibility of constraining the movement of some seeds onto a specific domain. Now during relaxation you can for example fix some seeds and constrain some other seeds over linear features defined as subset of vertices. 2013-12-20 02:33:36 +00:00
Paolo Cignoni fc047dbe3f updated the basic qt opengl example to support qt 5.0 ways of managing coords
(simply use the new QT2VCG_X/Y helper functions to translate mouse events)
2013-12-13 07:57:08 +00:00
Paolo Cignoni 6f83d41dbe added a missing &* to convert a returned iterator to a pointer in the allocator sample 2013-12-06 07:07:45 +00:00
Paolo Cignoni ce859f666e improved documentation. Added new allocator methods and clarified a bit how to delete elements 2013-12-04 17:26:38 +00:00
Paolo Cignoni a5f46ed452 Added sample for cylinder clipping 2013-11-28 23:39:02 +00:00
Gianpaolo Palma 11bbe2e63a Include changes to fix some compile errors with Glew 2013-11-28 11:04:59 +00:00
Paolo Cignoni 1039148025 updated the sample to the changes in voronoi_clustering.h 2013-11-27 17:46:09 +00:00
Paolo Cignoni 604bc3903f 2013-11-25 13:12:09 +00:00
Paolo Cignoni 0bf3377f67 Rewrote sample for voronoi sampling.
Now it also delete short edges and triangulate the regions.
2013-10-09 09:20:21 +00:00
Paolo Cignoni cc52ce5439 Rewrote sample for voronoi sampling. Now it also fix some vertexes just to show how to constrain some vertices. 2013-10-03 14:33:47 +00:00
Paolo Cignoni 18dbdc8fb2 Added another pointcloud simplification approach. 2013-09-11 13:34:02 +00:00
Paolo Cignoni e04875d33d Added sample for point cloud subsampling 2013-09-11 11:08:23 +00:00
Paolo Cignoni de2738a7c3 Updated to the recent changes 2013-09-10 10:56:23 +00:00
Paolo Cignoni a20f579018 updated to the func name changes in Stat 2013-09-10 10:55:17 +00:00
Paolo Cignoni eada2c02db First version of the voronoi sampler 2013-07-26 12:16:02 +00:00
Paolo Cignoni 5e36e051a4 improved comments and corrected a small bug in the topology sample 2013-07-23 07:36:40 +00:00
Paolo Cignoni ce0dfc02d2 minor changes to the samples, removed harmless warnings, updated interfaces 2013-07-23 07:33:48 +00:00
Paolo Cignoni 1c4e43955b Added new sample for voronoiclustering 2013-07-05 14:21:48 +00:00
Paolo Cignoni de332065d1 Added the feature aware poisson disk sampling example 2013-07-01 14:09:40 +00:00
Paolo Cignoni 880e617233 First Sample to use the voronoi based paramterizer 2013-04-16 15:20:05 +00:00
Paolo Cignoni de7b61b7e5 Corrected a EnableWedgeTex into EnableWedgeTexCoord 2013-04-16 15:15:33 +00:00
Paolo Cignoni 5928ca28b6 Updated the generic packing sample and added a sample that (partially) repack textures of a mesh using the new packer 2013-03-26 11:33:17 +00:00
Paolo Cignoni fce6ab1138 Added a sample to show the techniques to repack parametrizations 2013-03-25 13:19:22 +00:00
Paolo Cignoni c4fde3e879 Updated the spacepacker sample to the new interfaces for dumping, creating random outlines etc 2013-03-25 13:13:28 +00:00
Paolo Cignoni e94cfb5a43 Refactored a bit the extended marching cube core. Cleaned up a bit the trivial walker to be used by both of them. Updated the sample for marching cube. 2013-03-22 17:06:41 +00:00
Paolo Cignoni f156a5a82c Updated version of the oldpolyrect packer. Reasonably extended to multiple domain. To be tested/replaced 2013-03-13 19:09:50 +00:00
ganovelli 5c7608030f updated 2013-03-08 09:07:25 +00:00
ganovelli 8c998ccd11 vcg::tri::Allocate<MESH>::Get*Attribute(m,name);
has CHANGED!

Before it was returning a valid handle to the attribute
IF it existed, otherwise the handle was invalid.
 
Now it always returns a valid handle to the attribute,
by creating the attribute name if it did not exist or returning
the handle to it if it was already there.

ALl the code using Get*Attribute  has been changed accordingly.
2013-01-30 17:18:55 +00:00
Paolo Cignoni 794f2f27a7 Small Change of the Trackball apply interface. It does no more require a bool to specify if the trackball icon has to be drawn because it is always wrong to draw the trackball at the apply time (two reasons, antialiasing and transparency and zbuffer preservation) So now the standard call is just Apply() without the useless bool parameters.
Updated also all the vcg samples using the trackball
2013-01-28 15:15:14 +00:00
Paolo Cignoni 6990ec48d3 Added sample for point matching 2012-11-22 23:30:42 +00:00
Paolo Cignoni 7a8aba311b harmless gcc warnings in the samples 2012-11-10 16:57:26 +00:00
Paolo Cignoni 302e8130b0 Added Geodesic Sample 2012-11-07 01:16:21 +00:00
Paolo Cignoni c72396e6f7 Cleaned up the pro of two sample 2012-11-05 10:10:33 +00:00
Paolo Cignoni b6d198362c Small changes to the compactVector (added a check on empty vectors) and improved the sample on allocation. 2012-10-31 06:58:08 +00:00
Paolo Cignoni fe95eeca43 Improving Documentation: removed a ton of doxygen warnings. Cleared a bit the groups structure, added a few comments to allocator 2012-10-26 06:16:15 +00:00
Paolo Cignoni 6c3d86d448 Still Improving the documentation. 2012-10-25 23:52:48 +00:00
Paolo Cignoni a90b24dca5 Improved documentation... 2012-10-25 23:40:51 +00:00
Paolo Cignoni fc5a0216ac Improved documentation about allocation. Added sample on allocation. 2012-10-25 22:53:33 +00:00
Paolo Cignoni bf7511c68b removed useless include from some samples 2012-10-25 21:18:49 +00:00
Paolo Cignoni b50b1e88c3 Still improving documentation 2012-10-25 07:20:06 +00:00
Paolo Cignoni 5adb83c8c9 Added kdtree sample and updated a bit the comments of the other samples 2012-10-24 09:40:15 +00:00
Paolo Cignoni c87cd495de Rewrote of the Fitting to plane functions. Added Weighted version and sample 2012-10-22 18:27:30 +00:00
Paolo Cignoni 75122cd193 Improved comments and interface of perlin noise color 2012-10-19 12:32:05 +00:00
Paolo Cignoni d81d14189c Still improving doxygen base docs and samples... 2012-10-19 11:48:33 +00:00
Paolo Cignoni c83fd4d7bb Renamed as standard the sample file names 2012-10-17 05:15:58 +00:00
Paolo Cignoni 9ae5490a8b Still improving the documentation of the samples 2012-10-16 09:08:19 +00:00
Paolo Cignoni bebfa3eb8b Removed using namespace vcg from samples 2012-10-15 14:09:24 +00:00
Paolo Cignoni c40c1b7f6b Changed all vn,fn into VN(),FN() in all the samples.
Shortened the curvature example
Cleaned the attribute Example comments
2012-10-15 07:52:40 +00:00
Paolo Cignoni 6760de8bdd added per mesh attribute example to the trimesh_attribute sample 2012-10-13 21:35:42 +00:00