Revision: 5761 http://sourceforge.net/p/smartbody/code/5761 Author: fastict Date: 2014-08-06 00:19:14 +0000 (Wed, 06 Aug 2014) Log Message: ----------- branch - merging in r5668 and r5669 from trunk
Merged revision(s) 5668-5669 from trunk: 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. ........ Fixed the bug of using wrong ChrBrad folder in the script. Now the retargeting works correctly. ........ Revision Links: -------------- http://sourceforge.net/p/smartbody/code/5668 http://sourceforge.net/p/smartbody/code/5669 Modified Paths: -------------- branches/fast/smartbody-toolkit-5542/core/smartbody/SmartBody/src/sbm/GPU/SbmDeformableMeshGPU.cpp branches/fast/smartbody-toolkit-5542/core/smartbody/SmartBody/src/sbm/ParserCOLLADAFast.cpp branches/fast/smartbody-toolkit-5542/core/smartbody/SmartBody/src/sbm/sbm_deformable_mesh.cpp branches/fast/smartbody-toolkit-5542/core/smartbody/SmartBody/src/sr/sr_material.cpp branches/fast/smartbody-toolkit-5542/core/smartbody/SmartBody/src/sr/sr_material.h branches/fast/smartbody-toolkit-5542/core/smartbody/sbgui/src/EmbeddedOgre.cpp branches/fast/smartbody-toolkit-5542/data/examples/OnLineRetargettingDemo.py Property Changed: ---------------- branches/fast/smartbody-toolkit-5542/ branches/fast/smartbody-toolkit-5542/core/smartbody/ branches/fast/smartbody-toolkit-5542/core/smartbody/sbgui/ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Infragistics Professional Build stunning WinForms apps today! Reboot your WinForms applications with our WinForms controls. Build a bridge from your legacy apps to the future. http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk _______________________________________________ Smartbody-svn mailing list Smartbody-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/smartbody-svn