Revision: 8496 http://playerstage.svn.sourceforge.net/playerstage/?rev=8496&view=rev Author: natepak Date: 2010-01-13 01:41:06 +0000 (Wed, 13 Jan 2010)
Log Message: ----------- Fixed a uv coord issue for texture maps Modified Paths: -------------- code/gazebo/trunk/server/AssimpLoader.cc Modified: code/gazebo/trunk/server/AssimpLoader.cc =================================================================== --- code/gazebo/trunk/server/AssimpLoader.cc 2010-01-12 14:54:56 UTC (rev 8495) +++ code/gazebo/trunk/server/AssimpLoader.cc 2010-01-13 01:41:06 UTC (rev 8496) @@ -199,7 +199,7 @@ if (aMesh->mNumUVComponents[0]) subMesh->AddTexCoord(aMesh->mTextureCoords[0][j].x, - aMesh->mTextureCoords[0][j].y); + 1.0-aMesh->mTextureCoords[0][j].y); else subMesh->AddTexCoord(0,0); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ Playerstage-commit mailing list Playerstage-commit@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/playerstage-commit