Sponsored Adverts

Author Topic: [blender] keyframing custom properties?  (Read 5333 times)

0 Members and 1 Guest are viewing this topic.

Offline ratty redemption

  • VIP
  • Hero Member
  • *
  • Posts: 952
[blender] keyframing custom properties?
« on: October 15, 2013, 04:42:01 PM »
hi guys, i'm having problems with keyframing some custom property sliders, which via drivers affect the influence sliders of some actions strips.

ie i'm trying to use custom properties in the 3d view to blend different actions in the nla editor.

if you look at this screen capture, your'll see the graph editor curves are meant to be smooth bezier curves, but currently mine are stepped, resulting in the animation blending stuttering when played back.




is there a way to smooth them out?

i tried setting their interpolation type to bezier, which gave a slight curve as opposed to linear graphs, but they always seem to end up stepped.

the reason i have my custom property sliders set to 20 increments, is because that was a comfortable amount of distance i would need to drag the sliders, but also i didn't just want the drivers to instantly switch their target's influence between 0 and 1.


Offline kat

  • Administrator
  • Hero Member
  • *
  • Posts: 2186
Re: [blender] keyframing custom properties?
« Reply #1 on: October 15, 2013, 07:03:12 PM »
It looks like there's something keyed at the bottom and top of each step. What do you see when you zoom in to one of the steps? You may also need to edit the beziers manually to reset them and get rid of the hard corners (there should be a smooth option but that might alter the frames rather then smoothing the curve).

Offline ratty redemption

  • VIP
  • Hero Member
  • *
  • Posts: 952
Re: [blender] keyframing custom properties?
« Reply #2 on: October 15, 2013, 07:09:14 PM »
thanks kat, and i've just checked, there are no keyframes on those curves between frame 1-167, and i only got as far as frame 251, also those curves have no modifiers on them.

could this be a bug?

Offline kat

  • Administrator
  • Hero Member
  • *
  • Posts: 2186
Re: [blender] keyframing custom properties?
« Reply #3 on: October 15, 2013, 07:51:05 PM »
Only thing I can suggest is trawl through bug tracker and Blender Artists see if you can find anything similar.

http://wiki.blender.org/index.php/Doc:2.4/Manual/Animation/Editors/Ipo/Editing/Curves
http://wiki.blender.org/index.php/Doc:2.6/Manual/Animation/Editors/Graph/FCurves

Offline ratty redemption

  • VIP
  • Hero Member
  • *
  • Posts: 952
Re: [blender] keyframing custom properties?
« Reply #4 on: October 15, 2013, 08:24:43 PM »
thanks kat, i'll have another look at the wiki pages you linked to, as i haven't checked those in a while, but this is the first time i've seen curves like that in blender, unless a stepped modifier was applied.

Offline ratty redemption

  • VIP
  • Hero Member
  • *
  • Posts: 952
Re: [blender] keyframing custom properties?
« Reply #5 on: October 15, 2013, 10:58:38 PM »
if i copy one of those stepped looking custom property curves, and paste it into an object's transform, the curve gets automatically converted to a bezier, so i imagine custom properties only use whole numbers/integers... i'm not at all good at maths so could misunderstanding this.

Offline kat

  • Administrator
  • Hero Member
  • *
  • Posts: 2186
Re: [blender] keyframing custom properties?
« Reply #6 on: October 15, 2013, 11:45:26 PM »
So when you copy/paste, the result is a smoother line as you would normally expect of a bezier? If that's the case then yes, there's something causing issues with the custom property you've set; ordinarily I'd say it looks like something is editing the curve but if you say there are no bezier or curve points at those kinks that would otherwise do that I've no idea what might be causing it. Very puzzling.

Offline ratty redemption

  • VIP
  • Hero Member
  • *
  • Posts: 952
Re: [blender] keyframing custom properties?
« Reply #7 on: October 16, 2013, 12:10:46 AM »
yes, the copy/paste from the original key framed custom property slider results in a smooth bezier. it's as if blender knows that the keys come from one of those sliders and not an object's transform. likewise if i replace the slider's stepped curve with one from a transform then it also becomes stepped.

so i'm slowly piecing this puzzle together, but i don't understand why those sliders only appear to work with integers, while a transform's slider can use float numbers?

which when the latter is used as an input for a driver produces the desired results, i just don't want to drag around 3d sliders in the sometimes cluttered 3d view, if i can have a neater looking properties panel of sliders.

Offline ratty redemption

  • VIP
  • Hero Member
  • *
  • Posts: 952
Re: [blender] keyframing custom properties?
« Reply #8 on: October 16, 2013, 05:50:41 PM »
this is looking more like a bug in my opinion.

if i load up a default scene and create a custom property on the cube (without editing the custom property) then it does output a bezier. but if i edit the "prop" with a min of 1 and a max of 20, then replace the keyframes it converts it to integers, well it's curve is stepped and no longer a bezier, even though the graph editor still says the interpolation type is bezier.

i've reported this to the tracker.

Offline ratty redemption

  • VIP
  • Hero Member
  • *
  • Posts: 952
Re: [blender] keyframing custom properties?
« Reply #9 on: June 16, 2014, 11:27:36 PM »
sorry i forgot to update this, it was eventually confirmed to be a bug which they fixed.

Tags:
 

Sponsored Adverts
RSS Content is copyright © KatsBits™ 2017 unless otherwise stated. All Rights Reserved.
No part of this web site may be reproduced (except for personal use, or otherwise stated) without prior written permission from KatsBits.com. For more infomation on copyright click here.
Web design cpdtAdvertisePrivacy PolicyDMCA (about DMCA) Home Store Workshops Blog Jobs Support About Katsbits Contact Site Search KatsBits Help Site Map RSS feed Forum YouTube FaceBook LinkedIn Twitter IMVU