Commit Graph

41 Commits

Author SHA1 Message Date
ganovelli 357ef4e8f9 reverted last committ (done by mistake :) ) 2012-12-05 11:37:19 +00:00
ganovelli 6bc53d8376 minor 2012-12-05 11:23:30 +00:00
Federico Ponchio 0ac7034397 added method to get Projection matrix given near and far. 2012-08-29 13:21:22 +00:00
ganovelli f4010f0dce corrected setOrtho 2011-12-07 13:15:28 +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
matteodelle 155cfe6845 New coords conversion function 2010-03-30 19:58:35 +00:00
Marco Callieri 7548c5e2ac corrected a pow argument casting 2008-12-16 09:52:04 +00:00
Federico Ponchio a9e5756eda Distortion parameter zeroed on creation! 2008-11-06 15:36:44 +00:00
ganovelli efd69c8291 qualifier Camera<S>:: removed in inline definition (thanks Oscar Barney) 2008-09-22 13:42:49 +00:00
Paolo Cignoni e8c7472dca Corrected name of template type S in UndistortedToDistorted() to avoid the shadowing between S as type and S as variable name. 2008-09-09 17:41:33 +00:00
matteodelle c94dbdfdaf 2008-09-09 09:22:55 +00:00
matteodelle 0c2491e1b4 new functions to handle distortion: should not affect previous stuff. tested but still error prone... 2008-09-09 09:20:48 +00:00
matteodelle cd277247cc *** empty log message *** 2007-01-10 17:25:18 +00:00
Paolo Cignoni 01695ba1d5 Corrected a syntax error detected only by gcc.
Corrected the order of initialization in the constructor to match the declaration order
2006-12-21 00:13:27 +00:00
matteodelle 17ebec98c6 minor eroor correction on variable names 2006-12-18 16:02:57 +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
Marco Callieri f6261d2a45 Added Unproject, from 2D local space + Zdepth to 3D camera space. Added ViewportToLocal, inverse of LocalToViewport 2005-12-12 16:52:55 +00:00
Paolo Cignoni 6d5c0cd0f7 Removed excess ';' from end of template functions, for gcc compiling 2005-12-01 01:03:37 +00:00
Federico Ponchio 5008465972 Added IsOrtho... 2005-10-12 16:43:32 +00:00
Paolo Cignoni 44eb40324f small gcc-related compiling issues (typenames,ending cr, initialization order) 2005-07-11 13:16:34 +00:00
Paolo Cignoni bd4e3b01b0 Removed default values from the implementation of SetCavalieri and SetIsometric 2005-07-01 10:55:42 +00:00
Paolo Cignoni 494f6ccff7 aggiunto:
- l' enum dei tipi  PERSPECTIVE,  ORTHO, ISOMETRIC,  CAVALIERI
- inline void SetCavalieri(...)
- inline void SetIsometric(...)

- modificato
- void SetOrtho( .. )
2005-06-29 14:59:03 +00:00
Paolo Cignoni b01f11a93e Corrected declaration and some syntax errors in GetFrustum 2005-02-22 10:57:58 +00:00
ganovelli 31ac4bbe6f GetFrustum moved from gl/camera to math/camera.h 2005-02-21 18:11:47 +00:00
Paolo Cignoni 2fe93647ab added principal point 2005-02-15 14:55:52 +00:00
Paolo Cignoni b0978eb3d1 *** empty log message *** 2005-01-18 16:40:50 +00:00
Federico Ponchio 3cf27b9f2b Far and end are reserved. 2005-01-18 15:14:22 +00:00
Federico Ponchio fa6da0bbf3 vcg/Point.h -> vcg/point.h (again!) 2005-01-14 15:28:33 +00:00
ganovelli c2fb300d85 aggiunte conversione di coordinate 2005-01-05 13:25:29 +00:00
Paolo Cignoni 4a7a4ce0b3 *** empty log message *** 2004-12-16 11:22:30 +00:00
Paolo Cignoni 1b08ca6ab1 *** empty log message *** 2004-12-16 11:21:03 +00:00
Paolo Cignoni 02aee67598 *** empty log message *** 2004-12-15 18:45:50 +00:00
Federico Ponchio d02c45b27f _near and _far are reserved keywords 2004-12-04 15:51:22 +00:00
Paolo Cignoni 1d72b1f687 removed comment in comment gcc warning 2004-11-23 10:15:38 +00:00
ganovelli e70b193cf0 Point?.h to point?.h 2004-11-03 09:40:53 +00:00
ganovelli d0c1352cf3 SetPerspective and SetFrustum added (same parameters as in opengl) 2004-11-03 09:32:50 +00:00
Federico Ponchio 29b2d65bb3 #include <...Point --> #include <...point 2004-10-22 14:29:40 +00:00
Paolo Cignoni ec6ec72821 Remove glew.h include 2004-10-07 14:39:57 +00:00
ganovelli 30c9628f43 y axis reverse in projecting (!) 2004-10-07 14:22:38 +00:00
ganovelli 4a28f05056 version 5-10-2004 in progress 2004-10-05 19:04:25 +00:00
ganovelli c97e11dbb8 re-creation 2004-09-15 22:58:05 +00:00