Commit Graph

99 Commits

Author SHA1 Message Date
Paolo Cignoni 5d4900c29f Added cast for mac compiling 2007-02-22 09:17:56 +00:00
Paolo Cignoni 13a26e1b89 Added cast for mac compiling 2007-01-18 01:26:23 +00:00
matteodelle 17ebec98c6 minor eroor correction on variable names 2006-12-18 16:02:57 +00:00
Marco Callieri 02f23020fc added a function to approximate a far plane value given a shot and the mesh bbox 2006-12-18 15:26:24 +00:00
matteodelle 5360cc0977 *** empty log message *** 2006-12-18 14:28:07 +00:00
Marco Callieri a344d59446 camera+shot revamp: changed field names to something with more sense, cleaning of various functions, correction of minor bugs/incongruences, removal of the infamous reference in shot. 2006-12-18 09:46:39 +00:00
Paolo Cignoni 1cb21d78f1 Slightly changed the colormaterial mode for the flatwire 2006-12-12 11:06:58 +00:00
ganovelli ebfacd2db3 first draft of the class the draw a Pos 2006-12-10 19:59:28 +00:00
Paolo Cignoni 67007b3691 Added a class prototype for avoiding the inclusion of tetra.h 2006-12-07 00:39:22 +00:00
Paolo Cignoni aa10ac62be Removed useless include <tetra.h> 2006-12-04 09:27:13 +00:00
Paolo Cignoni 132ffb7d82 Added type cast (in order to remove warnings) 2006-10-27 08:55:15 +00:00
Federico Ponchio 4b46ed3c4e Aggiunti un paio di typename... al solito. 2006-10-14 16:26:26 +00:00
Paolo Cignoni b9b2725478 Removed the default use of the OpenGL transpose extension. Added two method for direct (non transposed) matrix multiplication and getting 2006-10-09 19:56:09 +00:00
Marco Di Benedetto d878081824 First Commit. 2006-10-05 18:34:13 +00:00
ganovelli 89c3034fd9 *** empty log message *** 2006-07-06 12:38:32 +00:00
Paolo Cignoni e7200db32e remove warning C4244 2006-07-03 13:46:34 +00:00
ganovelli a24e269ac4 Aggiunto namespace tetra, cambiato riferimento a puntatore 2006-06-29 13:25:46 +00:00
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