[Bf-committers] point cache changes

Daniel Genrich daniel.genrich at gmx.net
Thu Mar 20 23:33:22 CET 2008


Hello,

I applied the patch and also got some user feedback about the nice 
speed! I can also verify it.
I think you also saw that that many additional lines which are only 
there to provide a nice result from cache and that the main simulation 
loop is only a few lines long.

Overall: The changes feel stable and give an intuitive handling. Very 
nice. (I will miss all the additional flags in cloth code ;) )

If you need any additional help or information, just tell me.

Daniel


Brecht Van Lommel schrieb:
> Hi,
>
>   
>> On topic,
>> while you are on it .. consider linking a basic feature.
>> error report link -->
>> http://projects.blender.org/tracker/?func=detail&atid=125&aid=8140&group_id=9
>>     
>
> The linking situation I haven't thought about too much. One the one hand you want the simulation to be per scene that the object is used in, but it's also useful to reuse results .. probably best to make this an option somehow.
>
> I've made some progress with the code. The dependency graph can now clear point caches when the objects change, and not do anything when the time changes.
> http://wiki.blender.org/index.php/BlenderDev/PointCache
>
> Here's a patch with the current state. It has mainly changes in cloth, softbody and particles might be broken even, haven't tested. I've added bake buttons but they don't actually bake yet, only protect.
> http://users.pandora.be/blendix/point_cache_refactor_cloth.txt
>
> Also includes a hack that keeps the cloth simulation going with the timeline play button on, i.e. it doesn't reset when it gets back to frame 1, and it doesn't write to the point cache. Even keeps running during the transform loop. Not sure yet how hard it is do integrate this properly, but it seems feasible.
>
> Cheers,
> Brecht.
>
>
>
> _______________________________________________
> 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