From ef439236b1bfaac432d7c0c7bc9013eca6c26588 Mon Sep 17 00:00:00 2001 From: cignoni Date: Tue, 12 Jun 2007 10:15:35 +0000 Subject: [PATCH] Very important change. No more scaling and translation in the saved file! --- wrap/io_trimesh/export_vrml.h | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/wrap/io_trimesh/export_vrml.h b/wrap/io_trimesh/export_vrml.h index 25916c23..83e807fc 100644 --- a/wrap/io_trimesh/export_vrml.h +++ b/wrap/io_trimesh/export_vrml.h @@ -23,6 +23,9 @@ /**************************************************************************** History $Log: not supported by cvs2svn $ +Revision 1.5 2007/03/20 16:47:49 cignoni +Update to the new texture syntax + Revision 1.4 2006/11/21 19:22:53 e_cerisoli Added Comments for documentation @@ -75,7 +78,6 @@ namespace vcg { // Tranche principale double ss = 8.0/m.bbox.Diag(); - m.bbox.Diag(); fprintf(fp, "Transform {\n" @@ -83,13 +85,10 @@ namespace vcg { " translation %g %g %g\n" " children\n" " [\n" - ,ss - ,ss - ,ss - , -m.bbox.Center()[0]*ss - , -m.bbox.Center()[1]*ss - ,-3-m.bbox.Center()[2]*ss - ); + ,1.0,1.0,1.0, + 0.0,0.0,0.0); +// ,ss,ss,ss +// , -m.bbox.Center()[0]*ss, -m.bbox.Center()[1]*ss,-3-m.bbox.Center()[2]*ss ); // Start Shape fprintf(fp,