Revision: 8872
http://playerstage.svn.sourceforge.net/playerstage/?rev=8872&view=rev
Author: hsujohnhsu
Date: 2010-09-02 01:40:11 +0000 (Thu, 02 Sep 2010)
Log Message:
-----------
rgb format flip per user report of backward-ness
Modified Paths:
--------------
code/gazebo/branches/wg/server/rendering/OgreCamera.cc
Modified: code/gazebo/branches/wg/server/rendering/OgreCamera.cc
===================================================================
--- code/gazebo/branches/wg/server/rendering/OgreCamera.cc 2010-09-02
01:38:44 UTC (rev 8871)
+++ code/gazebo/branches/wg/server/rendering/OgreCamera.cc 2010-09-02
01:40:11 UTC (rev 8872)
@@ -164,9 +164,9 @@
if (this->imageFormatP->GetValue() == "L8")
this->imageFormat = Ogre::PF_L8;
else if (this->imageFormatP->GetValue() == "R8G8B8")
+ this->imageFormat = Ogre::PF_B8G8R8;
+ else if (this->imageFormatP->GetValue() == "B8G8R8")
this->imageFormat = Ogre::PF_R8G8B8;
- else if (this->imageFormatP->GetValue() == "B8G8R8")
- this->imageFormat = Ogre::PF_B8G8R8;
else if ( (this->imageFormatP->GetValue() == "BAYER_RGGB8") ||
(this->imageFormatP->GetValue() == "BAYER_BGGR8") ||
(this->imageFormatP->GetValue() == "BAYER_GBRG8") ||
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:
Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
Playerstage-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-commit