[Bf-committers] Modifiers design

Brecht Van Lommel brecht at blender.org
Tue Apr 20 11:42:05 CEST 2010


Hi,

This is not good software architecture, but it would need much deeper
changes to fix. Blenlib is intended to be a library with more generic
data structures, like lists, hashes, not something specific like
DerivedMesh. And you can't pull DerivedMesh out of blenkernel without
creating a two way dependency between these then. It may be good to
split up blenkernel some day but this is better done if there is a
bigger design behind it, for now you can assume the modifiers to be
part of blenkernel, they were just moved into a separate directory for
convenience.

Brecht.

On Tue, Apr 20, 2010 at 10:30 AM, j.bakker at atmind.nl <j.bakker at atmind.nl> wrote:
>
>
> In April 2010 the modifiers are moved out of the kernel and into MOD_*
> libraries.
> http://www.pasteall.org/pic/2818 (old situation)
>
> Modifiers are called from within the kernel and modifiers uses (and
> creates) DerivedMeshes as result. DerivedMeshes are also located in the
> kernel.
> http://www.pasteall.org/pic/2819 (current situation)
>
> Software architecture at the moment in this area is not well formalized.
> The Blender kernel regulates modifiers. Modifiers initiates DerivedMeshes.
> DerivedMeshes are at the moment located in the Blender kernel. In software
> architecture point of view it is better to place DerivedMeshes in Blender
> library. As DerivedMeshes are used in more places in the kernel this task
> can be complicated.
>
> I want to suggest to move DerivedMeshes to Blender library. It will make
> the dependancies and responsibilities between the different libraries
> clearer.
> http://www.pasteall.org/pic/2820 (proposed situation)
>
> What do you all think?
>
> Jeroen Bakker.
>
> --------------------------------------------------------------------
> mail2web LIVE – Free email based on Microsoft® Exchange technology -
> http://link.mail2web.com/LIVE
>
>
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers
>
>


More information about the Bf-committers mailing list