[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [13326] branches/soc-2007-joeedh: Major update and merge with trunk at revision 13233.

Joseph Eagar joeedh at gmail.com
Mon Jan 21 09:10:10 CET 2008


Revision: 13326
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=13326
Author:   joeedh
Date:     2008-01-21 09:10:10 +0100 (Mon, 21 Jan 2008)

Log Message:
-----------
Major update and merge with trunk at revision 13233.  

I've coded an entirely new bucketing
system to handle strands and vlak samples, 
which is actually disk-cachable (though I'm
not entirely sure it needs it now, it seemed necessary
at the time) via the same generic tiling
cache system used for DSM itself.

The bucketing system is also generic enough to
be used outside of DSM easily enough.

I also discovered a nasty performance bug in the
transparent and DSM zbuffer implementations.  Instead
of simply adding samples to a pixel like you'd expect,
instead the code was actually searching through the 
entire list of samples in the pixel to find the end,
*then* it'd append the sample.  I fixed this for DSM,
but havn't corrected the ztransp code yet.  According
to profiling results I did, time spent in the rasterization
functions dropped from 90 seconds in one test to around
4.5.

Next up is figuring why a (currently #if 0'd out) sanity
section of my tiling cache system is occasionally crashing,
coding a rough PCS soft shadow implementation, and seeing
what can be done about speeding up DSM creation time some
more.

Revision Links:
--------------
    http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=13233

Modified Paths:
--------------
    branches/soc-2007-joeedh/config/win32-mingw-config.py
    branches/soc-2007-joeedh/projectfiles_vc7/blender/blenkernel/BKE_blenkernel.vcproj
    branches/soc-2007-joeedh/projectfiles_vc7/blender/nodes/nodes.vcproj
    branches/soc-2007-joeedh/projectfiles_vc7/gameengine/gameplayer/ghost/GP_ghost.vcproj
    branches/soc-2007-joeedh/release/scripts/export_mdd.py
    branches/soc-2007-joeedh/release/scripts/flt_toolbar.py
    branches/soc-2007-joeedh/release/scripts/import_mdd.py
    branches/soc-2007-joeedh/source/blender/blenkernel/BKE_anim.h
    branches/soc-2007-joeedh/source/blender/blenkernel/BKE_dsm.h
    branches/soc-2007-joeedh/source/blender/blenkernel/BKE_global.h
    branches/soc-2007-joeedh/source/blender/blenkernel/BKE_tile.h
    branches/soc-2007-joeedh/source/blender/blenkernel/CMakeLists.txt
    branches/soc-2007-joeedh/source/blender/blenkernel/intern/anim.c
    branches/soc-2007-joeedh/source/blender/blenkernel/intern/curve.c
    branches/soc-2007-joeedh/source/blender/blenkernel/intern/multires.c
    branches/soc-2007-joeedh/source/blender/blenkernel/intern/particle_system.c
    branches/soc-2007-joeedh/source/blender/blenkernel/intern/scene.c
    branches/soc-2007-joeedh/source/blender/blenkernel/intern/softbody.c
    branches/soc-2007-joeedh/source/blender/blenkernel/intern/tcs_cache.c
    branches/soc-2007-joeedh/source/blender/blenkernel/intern/tcs_dsm.c
    branches/soc-2007-joeedh/source/blender/blenlib/intern/arithb.c
    branches/soc-2007-joeedh/source/blender/blenloader/intern/readfile.c
    branches/soc-2007-joeedh/source/blender/blenloader/intern/writefile.c
    branches/soc-2007-joeedh/source/blender/include/BIF_space.h
    branches/soc-2007-joeedh/source/blender/include/BIF_transform.h
    branches/soc-2007-joeedh/source/blender/include/blendef.h
    branches/soc-2007-joeedh/source/blender/include/butspace.h
    branches/soc-2007-joeedh/source/blender/include/transform.h
    branches/soc-2007-joeedh/source/blender/makesdna/DNA_object_force.h
    branches/soc-2007-joeedh/source/blender/makesdna/DNA_scene_types.h
    branches/soc-2007-joeedh/source/blender/makesdna/DNA_texture_types.h
    branches/soc-2007-joeedh/source/blender/makesdna/DNA_userdef_types.h
    branches/soc-2007-joeedh/source/blender/makesdna/DNA_view3d_types.h
    branches/soc-2007-joeedh/source/blender/makesdna/intern/SConscript
    branches/soc-2007-joeedh/source/blender/python/api2_2x/doc/Mathutils.py
    branches/soc-2007-joeedh/source/blender/radiosity/intern/source/radfactors.c
    branches/soc-2007-joeedh/source/blender/render/intern/include/strand.h
    branches/soc-2007-joeedh/source/blender/render/intern/include/zbuf.h
    branches/soc-2007-joeedh/source/blender/render/intern/source/convertblender.c
    branches/soc-2007-joeedh/source/blender/render/intern/source/dsm.c
    branches/soc-2007-joeedh/source/blender/render/intern/source/pixelshading.c
    branches/soc-2007-joeedh/source/blender/render/intern/source/rayshade.c
    branches/soc-2007-joeedh/source/blender/render/intern/source/rendercore.c
    branches/soc-2007-joeedh/source/blender/render/intern/source/renderdatabase.c
    branches/soc-2007-joeedh/source/blender/render/intern/source/shadeinput.c
    branches/soc-2007-joeedh/source/blender/render/intern/source/shadeoutput.c
    branches/soc-2007-joeedh/source/blender/render/intern/source/strand.c
    branches/soc-2007-joeedh/source/blender/render/intern/source/texture.c
    branches/soc-2007-joeedh/source/blender/render/intern/source/zbuf.c
    branches/soc-2007-joeedh/source/blender/src/buttons_editing.c
    branches/soc-2007-joeedh/source/blender/src/buttons_object.c
    branches/soc-2007-joeedh/source/blender/src/buttons_shading.c
    branches/soc-2007-joeedh/source/blender/src/drawview.c
    branches/soc-2007-joeedh/source/blender/src/edit.c
    branches/soc-2007-joeedh/source/blender/src/editipo.c
    branches/soc-2007-joeedh/source/blender/src/editview.c
    branches/soc-2007-joeedh/source/blender/src/header_imasel.c
    branches/soc-2007-joeedh/source/blender/src/header_info.c
    branches/soc-2007-joeedh/source/blender/src/header_time.c
    branches/soc-2007-joeedh/source/blender/src/header_view3d.c
    branches/soc-2007-joeedh/source/blender/src/poselib.c
    branches/soc-2007-joeedh/source/blender/src/poseobject.c
    branches/soc-2007-joeedh/source/blender/src/sculptmode.c
    branches/soc-2007-joeedh/source/blender/src/space.c
    branches/soc-2007-joeedh/source/blender/src/transform.c
    branches/soc-2007-joeedh/source/blender/src/transform_constraints.c
    branches/soc-2007-joeedh/source/blender/src/transform_conversions.c
    branches/soc-2007-joeedh/source/blender/src/transform_manipulator.c
    branches/soc-2007-joeedh/source/blender/src/transform_snap.c
    branches/soc-2007-joeedh/source/blender/src/usiblender.c
    branches/soc-2007-joeedh/source/blender/src/view.c
    branches/soc-2007-joeedh/tools/btools.py

Modified: branches/soc-2007-joeedh/config/win32-mingw-config.py
===================================================================
--- branches/soc-2007-joeedh/config/win32-mingw-config.py	2008-01-21 07:54:31 UTC (rev 13325)
+++ branches/soc-2007-joeedh/config/win32-mingw-config.py	2008-01-21 08:10:10 UTC (rev 13326)
@@ -158,3 +158,5 @@
 
 BF_BUILDDIR = '..\\build\\win32-mingw'
 BF_INSTALLDIR='..\\install\\win32-mingw'
+
+BF_PROFILE_FLAGS = '-pg'

Modified: branches/soc-2007-joeedh/projectfiles_vc7/blender/blenkernel/BKE_blenkernel.vcproj
===================================================================
--- branches/soc-2007-joeedh/projectfiles_vc7/blender/blenkernel/BKE_blenkernel.vcproj	2008-01-21 07:54:31 UTC (rev 13325)
+++ branches/soc-2007-joeedh/projectfiles_vc7/blender/blenkernel/BKE_blenkernel.vcproj	2008-01-21 08:10:10 UTC (rev 13326)
@@ -73,7 +73,7 @@
 			<Tool
 				Name="VCCLCompilerTool"
 				Optimization="0"
-				AdditionalIncludeDirectories="..\..\..\..\lib\windows\zlib\include;..\..\..\..\build\msvc_7\intern\bmfont\include;..\..\..\..\build\msvc_7\intern\bsp\include;..\..\..\..\build\msvc_7\intern\guardedalloc\include;..\..\..\..\build\msvc_7\intern\decimation\include;..\..\..\..\build\msvc_7\intern\elbeem\include;..\..\..\..\build\msvc_7\intern\iksolver\include;..\..\..\source\blender;..\..\..\source\blender\avi;..\..\..\source\blender\imbuf;..\..\..\source\blender\include;..\..\..\source\blender\python;..\..\..\source\blender\blenlib;..\..\..\source\blender\blenkernel;..\..\..\source\blender\makesdna;..\..\..\source\blender\nodes;..\..\..\source\blender\blenloader;..\..\..\source\kernel\gen_system;..\..\..\source\blender\renderconverter;..\..\..\source\blender\render\extern\include;..\..\..\source\gameengine\SoundSystem;..\..\..\..\build\msvc_7\extern\verse\include"
+				AdditionalIncludeDirectories="..\..\..\..\lib\windows\zlib\include;..\..\..\..\build\msvc_7\intern\bmfont\include;..\..\..\..\build\msvc_7\intern\bsp\include;..\..\..\..\build\msvc_7\intern\guardedalloc\include;..\..\..\..\build\msvc_7\intern\decimation\include;..\..\..\..\build\msvc_7\intern\elbeem\include;..\..\..\..\build\msvc_7\intern\iksolver\include;..\..\..\source\blender;..\..\..\source\blender\avi;..\..\..\source\blender\imbuf;..\..\..\source\blender\include;..\..\..\source\blender\python;..\..\..\source\blender\blenlib;..\..\..\source\blender\blenkernel;..\..\..\source\blender\makesdna;..\..\..\source\blender\nodes;..\..\..\source\blender\blenloader;..\..\..\source\kernel\gen_system;..\..\..\source\blender\renderconverter;..\..\..\source\blender\render\extern\include;..\..\..\source\gameengine\SoundSystem;..\..\..\..\build\msvc_7\extern\verse\include;..\..\..\..\build\msvc_7\intern\opennl\include"
 				PreprocessorDefinitions="_DEBUG;WIN32;_LIB;WITH_FREETYPE2;WITH_VERSE;WITH_OPENEXR;WITH_DDS"
 				BasicRuntimeChecks="3"
 				RuntimeLibrary="1"
@@ -125,7 +125,7 @@
 			<Tool
 				Name="VCCLCompilerTool"
 				InlineFunctionExpansion="1"
-				AdditionalIncludeDirectories="..\..\..\..\lib\windows\zlib\include;..\..\..\..\build\msvc_7\intern\bmfont\include;..\..\..\..\build\msvc_7\intern\bsp\include;..\..\..\..\build\msvc_7\intern\guardedalloc\include;..\..\..\..\build\msvc_7\intern\decimation\include;..\..\..\..\build\msvc_7\intern\elbeem\include;..\..\..\..\build\msvc_7\intern\iksolver\include;..\..\..\source\blender;..\..\..\source\blender\avi;..\..\..\source\blender\imbuf;..\..\..\source\blender\include;..\..\..\source\blender\python;..\..\..\source\blender\blenlib;..\..\..\source\blender\blenkernel;..\..\..\source\blender\makesdna;..\..\..\source\blender\nodes;..\..\..\source\blender\blenloader;..\..\..\source\kernel\gen_system;..\..\..\source\blender\renderconverter;..\..\..\source\blender\render\extern\include;..\..\..\source\gameengine\SoundSystem;..\..\..\..\build\msvc_7\extern\verse\include"
+				AdditionalIncludeDirectories="..\..\..\..\lib\windows\zlib\include;..\..\..\..\build\msvc_7\intern\bmfont\include;..\..\..\..\build\msvc_7\intern\bsp\include;..\..\..\..\build\msvc_7\intern\guardedalloc\include;..\..\..\..\build\msvc_7\intern\decimation\include;..\..\..\..\build\msvc_7\intern\elbeem\include;..\..\..\..\build\msvc_7\intern\iksolver\include;..\..\..\source\blender;..\..\..\source\blender\avi;..\..\..\source\blender\imbuf;..\..\..\source\blender\include;..\..\..\source\blender\python;..\..\..\source\blender\blenlib;..\..\..\source\blender\blenkernel;..\..\..\source\blender\makesdna;..\..\..\source\blender\nodes;..\..\..\source\blender\blenloader;..\..\..\source\kernel\gen_system;..\..\..\source\blender\renderconverter;..\..\..\source\blender\render\extern\include;..\..\..\source\gameengine\SoundSystem;..\..\..\..\build\msvc_7\extern\verse\include;..\..\..\..\build\msvc_7\intern\opennl\include"
 				PreprocessorDefinitions="NDEBUG;WIN32;_LIB;WITH_FREETYPE2;UNWRAPPER;WITH_VERSE;WITH_OPENEXR;WITH_DDS"
 				StringPooling="TRUE"
 				RuntimeLibrary="0"
@@ -229,7 +229,7 @@
 			<Tool
 				Name="VCCLCompilerTool"
 				Optimization="0"
-				AdditionalIncludeDirectories="..\..\..\..\lib\windows\zlib\include;..\..\..\..\build\msvc_7\intern\bsp\include;..\..\..\..\build\msvc_7\intern\bmfont\include;..\..\..\..\build\msvc_7\intern\guardedalloc\include;..\..\..\..\build\msvc_7\intern\decimation\include;..\..\..\..\build\msvc_7\intern\elbeem\include;..\..\..\..\build\msvc_7\intern\iksolver\include;..\..\..\source\blender;..\..\..\source\blender\avi;..\..\..\source\blender\imbuf;..\..\..\source\blender\include;..\..\..\source\blender\python;..\..\..\source\blender\blenlib;..\..\..\source\blender\blenkernel;..\..\..\source\blender\makesdna;..\..\..\source\blender\nodes;..\..\..\source\blender\blenloader;..\..\..\source\kernel\gen_system;..\..\..\source\blender\renderconverter;..\..\..\source\blender\render\extern\include;..\..\..\source\gameengine\SoundSystem;..\..\..\..\build\msvc_7\extern\verse\include"
+				AdditionalIncludeDirectories="..\..\..\..\lib\windows\zlib\include;..\..\..\..\build\msvc_7\intern\bsp\include;..\..\..\..\build\msvc_7\intern\bmfont\include;..\..\..\..\build\msvc_7\intern\guardedalloc\include;..\..\..\..\build\msvc_7\intern\decimation\include;..\..\..\..\build\msvc_7\intern\elbeem\include;..\..\..\..\build\msvc_7\intern\iksolver\include;..\..\..\source\blender;..\..\..\source\blender\avi;..\..\..\source\blender\imbuf;..\..\..\source\blender\include;..\..\..\source\blender\python;..\..\..\source\blender\blenlib;..\..\..\source\blender\blenkernel;..\..\..\source\blender\makesdna;..\..\..\source\blender\nodes;..\..\..\source\blender\blenloader;..\..\..\source\kernel\gen_system;..\..\..\source\blender\renderconverter;..\..\..\source\blender\render\extern\include;..\..\..\source\gameengine\SoundSystem;..\..\..\..\build\msvc_7\extern\verse\include;..\..\..\..\build\msvc_7\intern\opennl\include"
 				PreprocessorDefinitions="_DEBUG,WIN32,_LIB,WITH_FREETYPE2"
 				BasicRuntimeChecks="3"
 				RuntimeLibrary="1"
@@ -281,7 +281,7 @@
 			<Tool
 				Name="VCCLCompilerTool"
 				InlineFunctionExpansion="1"
-				AdditionalIncludeDirectories="..\..\..\..\lib\windows\zlib\include;..\..\..\..\build\msvc_7\intern\bmfont\include;..\..\..\..\build\msvc_7\intern\bsp\include;..\..\..\..\build\msvc_7\intern\guardedalloc\include;..\..\..\..\build\msvc_7\intern\decimation\include;..\..\..\..\build\msvc_7\intern\elbeem\include;..\..\..\..\build\msvc_7\intern\iksolver\include;..\..\..\source\blender;..\..\..\source\blender\avi;..\..\..\source\blender\imbuf;..\..\..\source\blender\include;..\..\..\source\blender\python;..\..\..\source\blender\blenlib;..\..\..\source\blender\blenkernel;..\..\..\source\blender\makesdna;..\..\..\source\blender\nodes;..\..\..\source\blender\blenloader;..\..\..\source\kernel\gen_system;..\..\..\source\blender\renderconverter;..\..\..\source\blender\render\extern\include;..\..\..\source\gameengine\SoundSystem;..\..\..\..\build\msvc_7\extern\verse\include"
+				AdditionalIncludeDirectories="..\..\..\..\lib\windows\zlib\include;..\..\..\..\build\msvc_7\intern\bmfont\include;..\..\..\..\build\msvc_7\intern\bsp\include;..\..\..\..\build\msvc_7\intern\guardedalloc\include;..\..\..\..\build\msvc_7\intern\decimation\include;..\..\..\..\build\msvc_7\intern\elbeem\include;..\..\..\..\build\msvc_7\intern\iksolver\include;..\..\..\source\blender;..\..\..\source\blender\avi;..\..\..\source\blender\imbuf;..\..\..\source\blender\include;..\..\..\source\blender\python;..\..\..\source\blender\blenlib;..\..\..\source\blender\blenkernel;..\..\..\source\blender\makesdna;..\..\..\source\blender\nodes;..\..\..\source\blender\blenloader;..\..\..\source\kernel\gen_system;..\..\..\source\blender\renderconverter;..\..\..\source\blender\render\extern\include;..\..\..\source\gameengine\SoundSystem;..\..\..\..\build\msvc_7\extern\verse\include;..\..\..\..\build\msvc_7\intern\opennl\include"
 				PreprocessorDefinitions="NDEBUG,WIN32,_LIB,WITH_FREETYPE2,UNWRAPPER"
 				StringPooling="TRUE"
 				RuntimeLibrary="0"

Modified: branches/soc-2007-joeedh/projectfiles_vc7/blender/nodes/nodes.vcproj
===================================================================
--- branches/soc-2007-joeedh/projectfiles_vc7/blender/nodes/nodes.vcproj	2008-01-21 07:54:31 UTC (rev 13325)
+++ branches/soc-2007-joeedh/projectfiles_vc7/blender/nodes/nodes.vcproj	2008-01-21 08:10:10 UTC (rev 13326)
@@ -222,6 +222,9 @@
 					RelativePath="..\..\..\source\blender\nodes\intern\CMP_nodes\CMP_alphaOver.c">
 				</File>
 				<File
+					RelativePath="..\..\..\source\blender\nodes\intern\CMP_nodes\CMP_bilateralblur.c">
+				</File>
+				<File
 					RelativePath="..\..\..\source\blender\nodes\intern\CMP_nodes\CMP_blur.c">
 				</File>
 				<File
@@ -255,6 +258,9 @@
 					RelativePath="..\..\..\source\blender\nodes\intern\CMP_nodes\CMP_dilate.c">
 				</File>
 				<File
+					RelativePath="..\..\..\source\blender\nodes\intern\CMP_nodes\CMP_directionalblur.c">
+				</File>
+				<File
 					RelativePath="..\..\..\source\blender\nodes\intern\CMP_nodes\CMP_displace.c">
 				</File>
 				<File

Modified: branches/soc-2007-joeedh/projectfiles_vc7/gameengine/gameplayer/ghost/GP_ghost.vcproj
===================================================================

@@ Diff output truncated at 10240 characters. @@




More information about the Bf-blender-cvs mailing list