[Bf-committers] New patch allows frame skipping for armature ghosting

Ton Roosendaal ton at blender.org
Wed Nov 16 10:34:29 CET 2005


Hi,

Heh! I first wanted to get feedback on the usability of the feature.  
And then there was no real space for the button itself (You also  
squeeze it a bit). And it requires a proper version patch on fileread  
to prevent the step size to become zero. And an initialize.

BTW; can you make the patch using "cvs diff -u" ? I never apply patches  
before reading it carefully, and that gives more readable diffs. I'm  
also curious why you decided to make the step go in 0.5 frames... if  
you want precise control, it could become a float too?

-Ton-



On 15 Nov, 2005, at 14:30, Roland Hess wrote:

> http://projects.blender.org/tracker/index.php? 
> func=detail&aid=3407&group_id=9&atid=127
>
> The current implementation of armature ghost drawing only draws in  
> increments of a single frame. For armatures with slower motions, you  
> may have to up the ghosting level to 20 or more to really get a good  
> visualization, which in turn slows down your frame rate drastically.
>
> This additional variable allows you to indicate how many frames apart  
> in the Action's timeline the ghosts should be drawn. So, you choose  
> Ghost: 5, which would normally show you five frames worth of ghosts on  
> either side of the current frame. Now, setting Step: 2 (instead of the  
> default 1), still draws five ghosts on either side, but one for every  
> other frame, showing you 20 frames of action instead of the previous  
> ten, but still only drawing ten ghosts.
>
> I'm surprised Ton didn't implement this immediately, as he already had  
> the variable created for it in the ghost-drawing routine. It was just  
> a couple of tweaks to Ton's code to get it to work.
>
> Interesting? Anyone find this useful enough to commit?
> -- 
> Roland Hess - harkyman
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at projects.blender.org
> http://projects.blender.org/mailman/listinfo/bf-committers
>
>
------------------------------------------------------------------------ 
--
Ton Roosendaal  Blender Foundation ton at blender.org  
http://www.blender.org



More information about the Bf-committers mailing list