Revision: 1207
http://panotools.svn.sourceforge.net/panotools/?rev=1207&view=rev
Author: dmg
Date: 2010-01-03 18:19:46 +0000 (Sun, 03 Jan 2010)
Log Message:
-----------
Updated changelog and comments
Modified Paths:
--------------
trunk/libpano/ChangeLog
trunk/libpano/parser.c
Modified: trunk/libpano/ChangeLog
===================================================================
--- trunk/libpano/ChangeLog 2010-01-03 18:00:53 UTC (rev 1206)
+++ trunk/libpano/ChangeLog 2010-01-03 18:19:46 UTC (rev 1207)
@@ -1,5 +1,15 @@
+2010-01-03 dmg <dmg@...>
+
+ * Pablo fixed the bug in which, if a Tr[xyz] was present, the
+ Translation operation was executed, even if the parms were
+ zero. This restricted the FOV to 180 degrees, regardless of
+ projection.
+
2010-01-01 dmg <dmg@...>
+ * math.c (panini_general_erect): Fixed minor typing error when
+ implementing the formulae.
+
* queryfeature.c (panoProjectionFeaturesQuery): Cleaned up the
general panini parameters.
Modified: trunk/libpano/parser.c
===================================================================
--- trunk/libpano/parser.c 2010-01-03 18:00:53 UTC (rev 1206)
+++ trunk/libpano/parser.c 2010-01-03 18:19:46 UTC (rev 1207)
@@ -404,6 +404,8 @@
return -1;
}
if (li == NULL) return -1;
+ // Make sure that we only apply trans when these parameters are not zero
+ // Otherwise images are not rendered beyond 180 degrees FOV
if (im->cP.trans_x != 0.0 ||
im->cP.trans_y != 0.0 ||
im->cP.trans_z != 0.0)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|