Revision: 5668 http://sourceforge.net/p/smartbody/code/5668 Author: fengww Date: 2014-06-27 00:31:23 +0000 (Fri, 27 Jun 2014) Log Message: ----------- Fix the alpha blending issue with Ogre rendering. The problem is from both the Collada parsing and Ogre renderer settings. The fix is to include an additional flag in sr_material to indicate whether the material requires alpha_blending. This helps to separate opaque and transparent sub-models before converting them into Ogre format. In the Ogre setting, both the rendering priority and depth sorting need to be enabled to ensure that the transparent meshes got rendered AFTER the opaque meshes. The depth sorting helps render the layered mesh ( such as hair ) in correct far-to-near order and produce a more pleasing results.
A similar fix is also added to the GPU mesh rendering ( without depth sorting, though. ). Some minor fixes to disable new locomotion controller in createStandardControllers. Modified Paths: -------------- trunk/core/smartbody/SmartBody/src/sb/sbm_character.cpp trunk/core/smartbody/SmartBody/src/sbm/GPU/SbmDeformableMeshGPU.cpp trunk/core/smartbody/SmartBody/src/sbm/ParserCOLLADAFast.cpp trunk/core/smartbody/SmartBody/src/sbm/sbm_deformable_mesh.cpp trunk/core/smartbody/SmartBody/src/sk/sk_motion.cpp trunk/core/smartbody/SmartBody/src/sr/sr_material.cpp trunk/core/smartbody/SmartBody/src/sr/sr_material.h trunk/core/smartbody/sbgui/src/EmbeddedOgre.cpp This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft _______________________________________________ Smartbody-svn mailing list Smartbody-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/smartbody-svn