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

Roland Hess rolandh at reed-witting.com
Tue Nov 15 14:30:14 CET 2005


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


More information about the Bf-committers mailing list