Commit Graph

217 Commits

Author SHA1 Message Date
Paolo Cignoni 9f6d5f1d84 Completed the rewriting all the picking stuff. Now the default is NOT using OpenGL. And it is actually faster on all the machines I have tested... 2014-04-08 09:37:44 +00:00
Paolo Cignoni 306c334877 Added PickFaceSW for selecting faces in a rectangular region. 2014-04-07 14:49:07 +00:00
Paolo Cignoni adfa6dde12 Added PickVertSW to offer an alternative for selection for hw that does not support opengl selection 2014-04-07 12:32:21 +00:00
Nico Pietroni 6071372992 some minor changes 2014-04-07 06:29:56 +00:00
Nico Pietroni 4b15067dd1 minor modifications 2014-02-16 16:37:39 +00:00
Paolo Cignoni 94540d3ca6 float -> GLdouble for better compliance... 2013-12-12 21:09:22 +00:00
Paolo Cignoni d44d6e6f41 changed int -> size_t to remove warnings 2013-12-12 20:52:07 +00:00
Paolo Cignoni ecf5bfeeb2 Added a if(!TMId.empty()) before attempting to bind a texture id from an empty vector... 2013-12-06 10:16:59 +00:00
Nico Pietroni d4eb599a66 resolved 1 warning on cast 2013-11-24 15:08:27 +00:00
granzuglia 6ec773c50a - added missing upper bound control on vector access by index 2013-10-17 17:22:16 +00:00
granzuglia 6b7ca162ce - fixed compile time errors with qt 5.0 2013-05-24 16:31:16 +00:00
Paolo Cignoni b473bebdd3 added another style of rendering to the opengl addon.
Imprpved customizability of arrows
2012-12-21 15:34:32 +00:00
Paolo Cignoni e04a37bf60 removed harmless warnings 2012-12-02 14:57:08 +00:00
Paolo Cignoni 7540b29cf5 Added a few missing const specifiers 2012-11-28 11:23:51 +00:00
Nico Pietroni 70b2cd1d25 removed several functions and moved to the gl wrapper of mixed integer 2012-11-18 18:07:39 +00:00
Nico Pietroni 52648c58ad used per vertex and per face optional attributes 2012-10-15 01:13:30 +00:00
Nico Pietroni 45633b841e added initial define to avoid multiple inclusions 2012-10-08 11:53:07 +00:00
Paolo Cignoni 194d9eb4d7 Removed two old useless wrong stupid functions that have been left into wrap/trimesh.h for unforgivable lazyness... 2012-10-08 05:30:34 +00:00
Paolo Cignoni 98fd61970e added missing par 2012-10-07 17:20:54 +00:00
Paolo Cignoni 1aa2c374e1 corrected useless test for an ancient opengl extension (glPointParameterfv). no more needed and creating problems to new compilers... 2012-10-05 16:45:25 +00:00
Nico Pietroni e6cc513cae minor changes in singularity drawing 2012-09-22 13:40:56 +00:00
Nico Pietroni 62b1a26ecf changes drawing of cross field to show the 2 main directions 2012-09-05 23:27:10 +00:00
Nico Pietroni a4ee21d5d7 added GLDrawSeams function 2012-09-03 15:58:38 +00:00
Nico Pietroni c469b5b948 major modifications 2012-05-25 13:22:07 +00:00
Paolo Cignoni 80363d2ff0 added to these two gl-related files the system independent inclusion of GLU.
IT is necessary since the last version of QT does not include anymore glu when including QGL stuff
2012-05-23 08:50:03 +00:00
Nico Pietroni 2413b12724 switched to the new version of tangent directions component per face 2012-03-29 16:35:15 +00:00
Nico Pietroni 9d37776dd6 first release version 2012-03-16 13:50:45 +00:00
Paolo Cignoni 8a8f48ac85 Changed all the MeshType::HasSomething() into the now standard tri::HasSomething(MeshType &m) 2012-01-25 10:21:59 +00:00
Nico Pietroni 36b4d6eeab added inclusion of point2.h 2012-01-23 13:13:24 +00:00
Paolo Cignoni fbe0b23839 corrected bug in the allocation of the result of multiple connected triangulations (poligons with holes, and added parameter to revert the order of outlines) 2012-01-18 16:48:06 +00:00
Paolo Cignoni 34cb93552c added glloadmatrix that takes in input a matrix44 (just like glmultmatrix) 2011-12-14 08:53:56 +00:00
Federico Ponchio 4400d8dd2d added multithreading 2011-12-09 16:06:08 +00:00
Massimiliano Corsini da98ec18f1 2011-10-12 07:52:07 +00:00
Paolo Cignoni 2fe129645b Rolled back 2011-10-05 15:04:40 +00:00
Paolo Cignoni ca28591e69 Made the boundary capper based on the glu tessellator interface more robust to deleted stuff 2011-05-31 08:40:02 +00:00
Paolo Cignoni 7ff3b08e5f updated to use pos instead explicit topology 2011-05-24 09:42:10 +00:00
Paolo Cignoni 2239cbd747 added simple boundary capper. Takes a edge mesh and caps its boundaries. 2011-05-11 10:04:33 +00:00
Paolo Cignoni f0a5d17759 Added a hint that you NEED opengl definition before including this file 2011-05-11 10:03:28 +00:00
Paolo Cignoni 384ea891dc added drawing of edges in wireframe if meshes has no faces 2011-05-10 21:57:01 +00:00
matteodelle 49a15ebd82 mozione ponchio per rimozione codice inutile 2011-04-27 13:02:30 +00:00
Paolo Cignoni 214904b312 Ongoing corrections of include paths to comply the new folder arrangement 2011-04-03 22:50:59 +00:00
ganovelli f7d8e31056 minor (missing include, left CMeshO) 2011-01-23 22:28:39 +00:00
Paolo Cignoni 71bdb18e07 Added more hints for better controlling point rendering (smoothnes and distance attenuation) 2011-01-18 11:11:19 +00:00
ganovelli bd03229989 patch to force immediate mode (bug with vbo to be solved)
bug in call glTexCoordPointer fixed
2010-11-08 11:03:18 +00:00
Paolo Cignoni 343493ef11 Moved the ORTHO, PERSPECTIVE enums from the vcg namespace to the camera class namespace. 2010-10-31 13:19:09 +00:00
ganovelli 42c69abccf first working commit for the apss (from Algebraic point set surfaces
Gaël Guennebaud and Markus Gross, SIG07)
2010-10-29 17:18:29 +00:00
Nico Pietroni ce779c0082 added if(tm==TMPerWedge) glEnable(GL_TEXTURE_2D); on line 543 2010-07-15 13:29:31 +00:00
Nico Pietroni 26709cae6c cahnged WIN32 define to _WIN32 2010-07-15 13:27:18 +00:00
granzuglia 8f2c1d543d fixed small visualization bugs (dereferenced empty vertex attributes) 2010-05-24 14:53:54 +00:00
Paolo Cignoni 4cfffc32f2 corrected managment of per-mesh color for point clouds 2010-04-28 15:02:05 +00:00