Revision: 6638 http://sourceforge.net/p/smartbody/code/6638 Author: fengww Date: 2017-01-25 01:58:55 +0000 (Wed, 25 Jan 2017) Log Message: ----------- Add deferred rendering pipeline for advanced shader rendering. The scene is first rendered to several maps of position, normal, depth, and etc. These maps are then used in the following passes for ambient occlusion and environment lighting. Currently only supports simple screen-space ambient occlusion and diffuse environment lighting ( with pre-convoluted environment map. ).
Also use stb_image library to replace SOIL lib for image loading since stb_image supports floating point HDR image loading. To-do : lossy/specular environment lighting, normal/specular mapping, shadow maps could be added for better rendering results. Modified Paths: -------------- trunk/core/smartbody/SmartBody/SmartBody.vcxproj trunk/core/smartbody/SmartBody/SmartBody.vcxproj.filters trunk/core/smartbody/SmartBody/src/external/glew/glew.h trunk/core/smartbody/SmartBody/src/external/glew/glew32.dll trunk/core/smartbody/SmartBody/src/external/glew/glew32.lib trunk/core/smartbody/SmartBody/src/external/glew/glxew.h trunk/core/smartbody/SmartBody/src/external/glew/wglew.h trunk/core/smartbody/SmartBody/src/sb/SBAssetManager.cpp trunk/core/smartbody/SmartBody/src/sb/SBAssetManager.h trunk/core/smartbody/SmartBody/src/sb/SBMotionGraph.cpp trunk/core/smartbody/SmartBody/src/sb/SBPythonMesh.cpp trunk/core/smartbody/SmartBody/src/sbm/GPU/SbmShader.cpp trunk/core/smartbody/SmartBody/src/sbm/GPU/SbmShader.h trunk/core/smartbody/SmartBody/src/sbm/GPU/SbmTexture.cpp trunk/core/smartbody/SmartBody/src/sbm/GPU/SbmTexture.h trunk/core/smartbody/SmartBody/src/sbm/sbm_deformable_mesh.cpp trunk/core/smartbody/SmartBody/src/sk/sk_skeleton.cpp trunk/core/smartbody/SmartBody/src/sr/sr_camera.cpp trunk/core/smartbody/SmartBody/src/sr/sr_gl_render_funcs.cpp trunk/core/smartbody/sbgui/src/fltk_viewer.h trunk/core/smartbody/sbgui/src/resourceViewer/ResourceWindow.cpp trunk/core/smartbody/sbgui/visualc9/sbgui.vcxproj trunk/core/smartbody/sbgui/visualc9/sbgui.vcxproj.filters Added Paths: ----------- trunk/core/smartbody/SmartBody/src/external/stb/ trunk/core/smartbody/SmartBody/src/external/stb/stb.h trunk/core/smartbody/SmartBody/src/external/stb/stb_c_lexer.h trunk/core/smartbody/SmartBody/src/external/stb/stb_connected_components.h trunk/core/smartbody/SmartBody/src/external/stb/stb_divide.h trunk/core/smartbody/SmartBody/src/external/stb/stb_dxt.h trunk/core/smartbody/SmartBody/src/external/stb/stb_easy_font.h trunk/core/smartbody/SmartBody/src/external/stb/stb_herringbone_wang_tile.h trunk/core/smartbody/SmartBody/src/external/stb/stb_image.h trunk/core/smartbody/SmartBody/src/external/stb/stb_image_resize.h trunk/core/smartbody/SmartBody/src/external/stb/stb_image_write.h trunk/core/smartbody/SmartBody/src/external/stb/stb_leakcheck.h trunk/core/smartbody/SmartBody/src/external/stb/stb_perlin.h trunk/core/smartbody/SmartBody/src/external/stb/stb_rect_pack.h trunk/core/smartbody/SmartBody/src/external/stb/stb_sprintf.h trunk/core/smartbody/SmartBody/src/external/stb/stb_textedit.h trunk/core/smartbody/SmartBody/src/external/stb/stb_tilemap_editor.h trunk/core/smartbody/SmartBody/src/external/stb/stb_truetype.h trunk/core/smartbody/SmartBody/src/external/stb/stb_vorbis.c trunk/core/smartbody/SmartBody/src/external/stb/stb_voxel_render.h trunk/core/smartbody/SmartBody/src/external/stb/stretchy_buffer.h trunk/core/smartbody/sbgui/src/SBFrameBufferObject.cpp trunk/core/smartbody/sbgui/src/SBFrameBufferObject.h trunk/core/smartbody/sbgui/src/SBRenderer.cpp trunk/core/smartbody/sbgui/src/SBRenderer.h This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ Smartbody-svn mailing list Smartbody-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/smartbody-svn