Very important change. No more scaling and translation in the saved file!
This commit is contained in:
parent
3535cddaaa
commit
ef439236b1
|
@ -23,6 +23,9 @@
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
History
|
History
|
||||||
$Log: not supported by cvs2svn $
|
$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
|
Revision 1.4 2006/11/21 19:22:53 e_cerisoli
|
||||||
Added Comments for documentation
|
Added Comments for documentation
|
||||||
|
|
||||||
|
@ -75,7 +78,6 @@ namespace vcg {
|
||||||
|
|
||||||
// Tranche principale
|
// Tranche principale
|
||||||
double ss = 8.0/m.bbox.Diag();
|
double ss = 8.0/m.bbox.Diag();
|
||||||
m.bbox.Diag();
|
|
||||||
|
|
||||||
fprintf(fp,
|
fprintf(fp,
|
||||||
"Transform {\n"
|
"Transform {\n"
|
||||||
|
@ -83,13 +85,10 @@ namespace vcg {
|
||||||
" translation %g %g %g\n"
|
" translation %g %g %g\n"
|
||||||
" children\n"
|
" children\n"
|
||||||
" [\n"
|
" [\n"
|
||||||
,ss
|
,1.0,1.0,1.0,
|
||||||
,ss
|
0.0,0.0,0.0);
|
||||||
,ss
|
// ,ss,ss,ss
|
||||||
, -m.bbox.Center()[0]*ss
|
// , -m.bbox.Center()[0]*ss, -m.bbox.Center()[1]*ss,-3-m.bbox.Center()[2]*ss );
|
||||||
, -m.bbox.Center()[1]*ss
|
|
||||||
,-3-m.bbox.Center()[2]*ss
|
|
||||||
);
|
|
||||||
|
|
||||||
// Start Shape
|
// Start Shape
|
||||||
fprintf(fp,
|
fprintf(fp,
|
||||||
|
|
Loading…
Reference in New Issue