Commit Graph

182 Commits

Author SHA1 Message Date
Paolo Cignoni 283834183d gcc dislike doubleline comments; removed. 2006-05-25 09:40:14 +00:00
Paolo Cignoni 47e62b3c6e Removed all GLUT dependencies! 2006-05-25 09:22:58 +00:00
Paolo Cignoni de11419338 Corrected bug in the pickface to comply deleted faces and to allow to have unsorted results. 2006-05-25 04:42:29 +00:00
Paolo Cignoni 309fa30451 Wrong matrix type in cone (thx Maarten) 2006-03-29 07:54:03 +00:00
Federico Ponchio cc73ff49c9 for(ii... -> for(int ii 2006-02-28 13:25:48 +00:00
Paolo Cignoni c01d03e1ee Removed glut. Added ifdef guards and namespace.
Added bool return value to the pick function
2006-02-13 13:06:34 +00:00
Paolo Cignoni 1f2ff388d2 Removed glew inclusion 2006-02-13 13:05:05 +00:00
Paolo Cignoni 287fd21a07 Switched from rough zoffset to glpolygonoffset for hiddenline and flatlines modes. Less zfighting... 2006-02-09 10:00:39 +00:00
matteodelle 060df82dd4 *** empty log message *** 2006-01-11 16:06:25 +00:00
Paolo Cignoni edc2f8532d add namespace vcg:: 2006-01-10 12:22:34 +00:00
Paolo Cignoni 20b3385c59 fix some bugs 2006-01-04 16:39:29 +00:00
Nico Pietroni e9b8ee44e1 unified use of float in drawing methods 2006-01-03 11:13:25 +00:00
Paolo Cignoni d32db6dd2a add test (tm==TMPerWedgeMulti) 2005-12-15 14:05:59 +00:00
Paolo Cignoni 67528dcf14 multiple texture support 2005-12-14 00:18:43 +00:00
Federico Ponchio d652973606 glut->GL/glut (for real this time) 2005-12-06 14:11:15 +00:00
ganovelli 03d96c24b2 *** empty log message *** 2005-12-03 09:36:28 +00:00
Paolo Cignoni b3abb3c44f Changed a wrong uppercase in the include 2005-12-02 10:38:07 +00:00
Paolo Cignoni 8ae47cd7c7 Added support for one texture mode (perwedge)
Changed texturemapid array into a safer vector
2005-12-02 00:03:22 +00:00
Paolo Cignoni 07d2259700 shot.camera -> shot.Camera()
shot.similarity.Matrix() -> shot.Similarity().Matrix()
2005-11-25 10:33:33 +00:00
Paolo Cignoni 6a04d281df Added bound checking in texture access 2005-11-24 08:06:50 +00:00
Paolo Cignoni 7bca532292 Added a missing colormaterial for flatwire. 2005-11-22 23:57:28 +00:00
Paolo Cignoni 50f4e33dcc add
#ifndef __PICK______H
#define __PICK______H
2005-10-27 14:46:26 +00:00
Paolo Cignoni 45583a69ae add namespace vcg:: to GetFrustum(...) 2005-10-24 14:42:57 +00:00
Paolo Cignoni 53f49b4784 Added glscale(scalar) and corrected bug in glscale(point2) 2005-10-13 08:32:26 +00:00
Federico Ponchio 0446646573 another bunch of typenames. 2005-10-12 18:24:30 +00:00
Federico Ponchio b54c4ce850 Added gazillions typenames, commented out old broken functions,
added unsigned int TextureMapID[128], and unsigned int & TMId(int i).
2005-10-12 17:19:03 +00:00
Paolo Cignoni b5d9271a14 add GLPickTri 2005-09-15 15:44:52 +00:00
ganovelli 3312583e86 glut.h --> GL/glut.h 2005-07-23 09:21:37 +00:00
Paolo Cignoni 2d2bbfb454 fix some bugs 2005-07-11 09:04:26 +00:00
Paolo Cignoni 701abb9c2c modificato:
- void  Cone(..)
 aggiustate le normali per avere un effetto piu' gradevole.
2005-06-30 13:20:32 +00:00
ganovelli 0c7caf4a75 added draw plane 2005-06-30 10:17:04 +00:00
ganovelli 3d0dee1073 *** empty log message *** 2005-06-30 10:16:11 +00:00
Paolo Cignoni e6feeb2e3d aggiunto:
- static void CavalieriProj( .. )
- static void IsometricProj( .. )

modificato:
- static void TransformGL( .. )
- static void SetSubView( .. )
2005-06-29 15:02:29 +00:00
Nico Pietroni 0a7cd4af5c minor changes 2005-05-19 09:09:54 +00:00
Paolo Cignoni 9447483394 ho tolto 2 warning del tipo unreferenced formal parameter, commentando le var che producevano tale warning. 2005-05-09 11:28:48 +00:00
Paolo Cignoni 6fa3316cb6 added glboxwire 2005-05-05 12:28:13 +00:00
Paolo Cignoni b07f6f2343 Minor Changes To Compile With List Containers. 2005-04-22 15:16:48 +00:00
Nico Pietroni 6160f0545d added boolean parameter to use on not the display list 2005-04-04 11:59:16 +00:00
Nico Pietroni a5128f71e3 added disabling of cullfaces to obtaing a correct visualization of arrows 2005-03-03 13:29:35 +00:00
Nico Pietroni 5ce9f028b7 1 error corrected in display list of glCylinder 2005-03-03 13:11:30 +00:00
Nico Pietroni 0663f16525 first working version 2005-03-03 10:48:54 +00:00
Paolo Cignoni 6c1174ecdd ripristinata la modalita' di render bbox.... 2005-02-26 12:45:23 +00:00
ganovelli a212f6320d added vcg namespace 2005-02-22 11:15:01 +00:00
Paolo Cignoni b1469351ad corrected some syntax errors in GetFrustum 2005-02-22 10:57:05 +00:00
ganovelli 31ac4bbe6f GetFrustum moved from gl/camera to math/camera.h 2005-02-21 18:11:47 +00:00
Paolo Cignoni abaae0c2fd FromTrackball() corrected 2005-02-11 11:43:09 +00:00
Paolo Cignoni 0fde2046fc constructor name was wrong (old class name) 2005-01-12 14:39:41 +00:00
Paolo Cignoni 68f225ebd7 *** empty log message *** 2004-12-16 14:41:36 +00:00
Paolo Cignoni 3aa3da0d46 Cambiato il nome del costruttore era rimasto quello vecchio... e tolti alcune righe di codice commentate 2004-12-16 11:08:35 +00:00
Paolo Cignoni 02aee67598 *** empty log message *** 2004-12-15 18:45:50 +00:00
ganovelli 2a8d132abd added FromTrackball and fixed include names (Poiint to point) 2004-11-03 09:41:57 +00:00
ganovelli a66d6d3ebd added SetSubView, some comment and put the class back(!) 2004-11-03 09:38:21 +00:00
Nico Pietroni 8c83d3d4d0 minor changes 2004-10-07 13:14:37 +00:00
Nico Pietroni 1852feab38 minor changes in visulizing of selected tetrahedra 2004-10-06 16:24:59 +00:00
Nico Pietroni c803df0f82 added PickTetraFace function 2004-10-06 16:23:59 +00:00
ganovelli 33a8e77c07 changed from classes to functions 2004-10-05 19:04:45 +00:00
Nico Pietroni f1cb3297e6 first running version 2004-10-04 17:07:23 +00:00
Nico Pietroni 7890752544 added clip plane rendering 2004-10-04 17:05:13 +00:00
Federico Ponchio e5d01c7a80 <gl/glew.h> --> <GL/glew.h> 2004-09-30 01:40:39 +00:00
Federico Ponchio a9780d57e9 <gl/glew.h> -> <GL/glew.h> 2004-09-30 00:48:07 +00:00
ganovelli 331db0410f glGet added 2004-09-28 14:04:36 +00:00
Nico Pietroni 29eb7604c4 first running version 2004-09-23 13:13:09 +00:00
ganovelli 397fa72c41 creation 2004-09-15 22:59:13 +00:00
Nico Pietroni a81551f3a1 minor changes 2004-08-26 13:18:32 +00:00
Paolo Cignoni ed3a96d48d Added test on presence of glTranspose extension (for old hw support) 2004-07-13 15:55:57 +00:00
Nico Pietroni 96e07ffd53 changed order of initial include ( it had problems with extension of openGL) 2004-07-13 11:25:57 +00:00
ganovelli 98d0c5b263 first draft: it includes glew ! 2004-07-12 15:57:33 +00:00
ganovelli 5bc692a094 first draft 2004-07-12 15:51:55 +00:00
Nico Pietroni d4af2821e3 changed draw in flatwire.... 2004-07-08 08:41:31 +00:00
Paolo Cignoni 1d04957291 Added box3 drawing functions 2004-07-07 23:30:28 +00:00
Nico Pietroni dc9c863f3a changen wire and hiddenlines draw modes 2004-06-03 09:11:35 +00:00
Paolo Cignoni 66e7c5372e Removed inclusion of gl extension stuff 2004-05-26 15:15:46 +00:00
Paolo Cignoni dd22e28ce9 Removed inclusion of gl extension stuff and added glcolor stuff 2004-05-26 15:13:01 +00:00
Nico Pietroni 2a7f401e6a added callback funtions 2004-05-17 15:27:16 +00:00
Nico Pietroni 2d4a3d6be4 added calback funtions color on tetrahedron or vertex 2004-05-14 09:48:12 +00:00
Federico Ponchio bc13d242fe <GL/GL.h> --> <GL/gl.h> 2004-05-13 23:44:47 +00:00
Federico Ponchio c66c874c06 *** empty log message *** 2004-05-12 20:55:18 +00:00
Federico Ponchio 8a4f1f166f Added #include <glew.h> 2004-05-12 13:07:47 +00:00
Paolo Cignoni 7e8e197d57 remove include of gl and added glextgension exploiting, 2004-05-04 23:36:23 +00:00
Paolo Cignoni 30227aff07 inlined functions for avoid multiple linking errors 2004-04-07 10:47:03 +00:00
Paolo Cignoni 711c2a00d9 First working version! 2004-04-05 11:56:14 +00:00
Federico Ponchio 59dca5a840 *** empty log message *** 2004-03-31 15:27:17 +00:00