corrected the vertical orientation of texture to be consistent with per wedge tex coords

This commit is contained in:
Paolo Cignoni 2010-04-08 16:49:50 +00:00
parent d32ed18e1d
commit a184a620e4
1 changed files with 1 additions and 1 deletions

View File

@ -762,7 +762,7 @@ static int Open( OpenMeshType &m, const char * filename, PlyInfo &pi )
if( pi.mask & Mask::IOM_VERTTEXCOORD )
{
(*vi).T().P().X() = va.u;
(*vi).T().P().Y() = 1.0-va.v; // because "v" attr comes from "t"
(*vi).T().P().Y() = va.v;
}
if( pi.mask & Mask::IOM_VERTCOLOR )