[Bf-committers] [Bf-blender-cvs] SVN commit: /data/svn/bf-blender [23794] trunk/blender: Deep Shadow Buffer

joe joeedh at gmail.com
Mon Oct 12 23:47:46 CEST 2009


As far as I could tell when looking over your code, this doesn't
support colored maps, or truly evaluating alpha?  Just the shadow
alpha hack added for the irregular shadow buffer code.  I assume
you're planning on getting this to work, since it's kindof an
important thing to have. :)

If I have time, I can try and isolate the code I use for shadow map
shading and get it in a nice form for you to reuse.  It's not too
terribly complex (and I assume it's not that different from what
you've already done with the strand code).  In the original paper each
sample would store r,g,b components, and the compression function
would consider all of them for the error calculation; I ended up
having three separate piecewise-linear functions, each compressed
individually, which was easier but probably not as good at limiting
error.  Actually shading the samples is probably just a matter of
adapting the existing code I came up with.

Joe

On Mon, Oct 12, 2009 at 1:50 PM, Brecht Van Lommel <brecht at blender.org> wrote:
> Hi,
>
> It seems I wasn't entirely clear about if I reused code or not, what I
> meant to say is that I did not use the soc project code, but rather
> decided on a different implementation that integrated closer into the
> old shadow buffer code. This was easier for me than to try to
> understand and debug the soc project code. The core of this DSM code
> is < 500 lines of code, everything else is tweaks to fit it in. Most
> of the optimizations like disk caches and per part rendering could
> still reuse soc project code, and that kind of functionality is
> something that I intend to tackle more globally in the render engine
> later on, not just for DSM.
>
> Brecht.
>
> going this way would make it easier for me to debug and most of the
> optimizations
>
> On Mon, Oct 12, 2009 at 9:41 PM, Brecht Van Lommel <brecht at blender.org> wrote:
>> Revision: 23794
>>          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=23794
>> Author:   blendix
>> Date:     2009-10-12 21:41:40 +0200 (Mon, 12 Oct 2009)
>>
>> Log Message:
>> -----------
>> Deep Shadow Buffer
>>
>> Since the deep shadow buffer summer of code project is not actively under
>> development anymore, I decided to build my own DSM implementation from
>> scratch, based on reusing as much existing shadow buffer code as possible.
>> It's not very advanced, but implements the basic algorithm. Just enough so
>> we can do shading tests with it, optimizations and other improvements can
>> be done later.
> _______________________________________________
> Bf-blender-cvs mailing list
> Bf-blender-cvs at blender.org
> http://lists.blender.org/mailman/listinfo/bf-blender-cvs
>


More information about the Bf-committers mailing list