|
|||||||
![]() |
|
|
Thread Tools |
|
||||
|
For the past couple of weeks I have been searching for some kind of documentation or video tutorial on how driven shape keys are handled in Blender 2.5 but have found few resources.
Even in earlier versions of Blender I never fully understood shape key drivers, but now in 2.5 I am totally lost. Can anybody who understands this topic post a quick tutorial? Thanks!
............................................
"The tangled and layered morass of information and lies is reminiscent of the fable of the lion and the mouse. The lion of humanity lies staked to the earth, held fast by the net of distraction of the conscious mind. In the story it took a tiny mouse to chew through the ropes to release the lion. In our version of the story, it is the radio talk show, the available internet information and the publication of books and tapes that constitute the mouse." - Handbook for the New Paradigm |
||||
|
#1
|
||||
|
|
|
||||
|
The following explanation was created using the latest build of 2.5 alpha 1. Always make sure you are using the latest version of 2.5 (alpha 0 is now obsolete!)
Here is how to setup a bone driven shapekey in r27156:
![]() Here is a screenshot using Angela's sintel model.
............................................
The Rigging Repository My Artwork Sharing good ideas is the intelligent way to make brilliant ideas. |
||||
|
#2
|
|
||||
|
Thank you!
I was able to follow most of those steps, but not all. In Step 7 when I click "Add Variable" I get the a message saying "Error: Invalid target channel(s)" but then in Step 9 when I change the Object to "Cube" it goes away. Did I do something wrong? Also, in Step 9 I was able to choose an Object name, but I didn't see any field to select a Bone name. So this is where I am stuck. Any further advice is appreciated!
............................................
"The tangled and layered morass of information and lies is reminiscent of the fable of the lion and the mouse. The lion of humanity lies staked to the earth, held fast by the net of distraction of the conscious mind. In the story it took a tiny mouse to chew through the ropes to release the lion. In our version of the story, it is the radio talk show, the available internet information and the publication of books and tapes that constitute the mouse." - Handbook for the New Paradigm |
||||
|
#3
|
|
||||
|
Quote:
It does that because when you create the variable it is already hooked up, but of course - it is blank. So it whines at you! That is why the message went away when you added the proper names into the fields, because it was no longer connected to a blank variable.Quote:
............................................
The Rigging Repository My Artwork Sharing good ideas is the intelligent way to make brilliant ideas. |
||||
|
#4
|
|
||||
|
Thank you. That answers those questions - I got through all the steps, but... when I move the bone, the mesh still doesn't deform. What have I possibly missed?
Also, I can't seem to Tab into the vertex editing mode for the driver curve. It seems like I should be able to hit "Tab" and then edit the vertices of the curve. So close, yet so far...
............................................
"The tangled and layered morass of information and lies is reminiscent of the fable of the lion and the mouse. The lion of humanity lies staked to the earth, held fast by the net of distraction of the conscious mind. In the story it took a tiny mouse to chew through the ropes to release the lion. In our version of the story, it is the radio talk show, the available internet information and the publication of books and tapes that constitute the mouse." - Handbook for the New Paradigm |
||||
|
#5
|
|
|||
|
I have a small problem, linking the key driver to shape a bone child
I move my son bene and everything works fine, but if I move the bone father his move the bone child and the shape key is activated, and that's not right should only be activated when the child bone is moved relative to the father and not when the parent moves the child. forgive my poor English, I'm in Ecuador and my English is not good
|
|||
|
#6
|
|
||||
|
Quote:
Animation now has a new feature called 'animation modifiers' which generate curves based on an algorithm. The curve you see in your display by default is being created by the 'generator' modifier which you can find under the driver setup at the bottom of the properties window in the graph editor. You can adjust it by adjusting the values of the generator, or if you don't want a straight line you can remove it and insert your own keys.Quote:
haha I don't know offhand, I've not used the new system enough to be familiar with it inside and out yet... if you post a blend I'll take a look and see what I can figure out.@mxcreativo I just tried this and got the same result. I agree, it should not be behaving that way, I will file a bug report.
............................................
The Rigging Repository My Artwork Sharing good ideas is the intelligent way to make brilliant ideas. |
||||
|
#7
|
|
|||
|
Thanks, I thought it was a new way of doing it, hopefully have a response from developers
|
|||
|
#8
|
|
||||
|
make sure that what you do to the bone matches the driver channel, such as if RotX is the driver channel, moving the bone wont do anything.
............................................
i<3 Blender, and vandalizing the wiki. My creative website, my public website (in progress), my book, my complete learning Blender video series. and my Vimeo compositing video series. |
||||
|
#9
|
|
||||
|
Quote:
I've attached the file I used for the bug report so you can have a look at the problem. If you rotate the child bone, the driver evaluates. If you translate/rotate the parent, the driver also evaluates. This is definitely not intended behaviour.
............................................
The Rigging Repository My Artwork Sharing good ideas is the intelligent way to make brilliant ideas. |
||||
|
#10
|
|
||||
|
Quote:
I have attached a .blend file for your examination.
............................................
"The tangled and layered morass of information and lies is reminiscent of the fable of the lion and the mouse. The lion of humanity lies staked to the earth, held fast by the net of distraction of the conscious mind. In the story it took a tiny mouse to chew through the ropes to release the lion. In our version of the story, it is the radio talk show, the available internet information and the publication of books and tapes that constitute the mouse." - Handbook for the New Paradigm |
||||
|
#11
|
|
||||
|
The file you have posted works just fine...
In the 3D view set your manipulator from 'global' to 'normal', then enable the transform manipulator. That will make the manipulator match the bone axes. The X axis is the red one, and moving along X activates the shapekey. Since the driver is setup to use translate X of the bone, I would say it is working ![]() *also make sure that you are moving the bone in pose mode, not the armature in object mode.
............................................
The Rigging Repository My Artwork Sharing good ideas is the intelligent way to make brilliant ideas. |
||||
|
#12
|
|
||||
|
FeelGood, it works! I don't know how I missed it.
Thank you! This is awesome and is really going to help me out a lot. ![]() You rock.
............................................
"The tangled and layered morass of information and lies is reminiscent of the fable of the lion and the mouse. The lion of humanity lies staked to the earth, held fast by the net of distraction of the conscious mind. In the story it took a tiny mouse to chew through the ropes to release the lion. In our version of the story, it is the radio talk show, the available internet information and the publication of books and tapes that constitute the mouse." - Handbook for the New Paradigm |
||||
|
#13
|
|
|||
|
Good news. The problem with drives over the bones father and child has been solved. Now everything about this theme works OK
|
|||
|
#14
|
|
||||
|
Quote:
............................................
The Rigging Repository My Artwork Sharing good ideas is the intelligent way to make brilliant ideas. |
||||
|
#15
|
|
||||
|
I did not read all answers, but I got marvelous help from this video:
http://www.youtube.com/watch?v=xTp_f...eature=related Trying to extract the 'know how' from it: Just make some shapekeys ..(using "object data" icon , properties view, basis and one more at least) Than click above for a new layout: Animation and change 'Dope sheet' to "Shapekey Editor" There you see your keys, and change the slider at different Frames. And it will work
|
||||
|
#16
|
|
||||
|
OK, first, this is about drivers in general, not just shape keys. I took the plunge and downloaded 2.5 alpha 2 today. One of the first things I wanted to do was check out a character from 2.49b. As expected, the drivers didn't work, so I set out to learn how to fix them. Think I've got it all figured out but for one thing: how to set up my own keyframes in the graph editor's drivers mode.
Yes, I played with the generator modifier to create a curve for me, and know how to alter the curve as needed to fit my needs. Yes, I played with the limit modifier, to set limits on the generated curve to fit my needs. No problems at all, except if I want to add a curve myself and set keyframes. I've attached a .blend file with a simple fk arm rig in the middle of the 3d view. Above the fk arm is an ik arm rig. I have copy rotation constraints on the fk arm which I want to control with the single bone at the bottom of the 3d view. At the moment, only the rightmost bone (a hand bone) has the constraint controlled by the switch bone. It all works just fine, except as I said, I cannot create my own curve in the graph editor. I assumed turning off the generator modifier would allow me to insert my own keyframes/ curves. So what am I missing?? I've watched videos from mfoxdogg's website and Tob's youtube channel and yes, they are different versions of blender. I've also read alot of posts here on the subject as well. I've overcome all the differences from the versions they used and 2.52. I'm lost.....What am I missing?? Does 2.52 not have the ability to create your own curves?? ![]() Thanks Randy
............................................
Some people are like slinkies... not really good for anything, but you still can't help smiling when you shove them down the stairs. |
||||
|
#17
|
|
|||
|
I was very excited to find a 'Distance' driver variable, as if it's what I think it is it'll make building facial rigs much easier, but can't seem to get it to work. Is it broken, or am I just not understanding it?
I'm assuming it's supposed to drive a value by the proximity of bone A to bone B, but however I set it up the value moves when I translate bone A in any direction, even away from bone B. I wouldn't expect it'd need a curve, but with or without one, keyed or generated, it behaves the same. |
|||
|
#18
|
|
||||
|
@revolt_randy
To insert your own curve just remove the generator and then ctrl+LMB to add a cv. You can position the cv's accurately with shift+s>>current frame / cursor value, which will snap the point to the cursor position horizontally and vertically. You can set the cursor accurately at the top of the graph properties window. There may be a better workflow, but I'm not yet familiar enough with 2.5 to know ![]() @bunny I fiddled with the distance driver and got it to work. It measures the distance between 2 objects or bones and uses the change to drive a 3rd object or bone. The curve determines the rate of the driver, as expected. I've attached an example of the driver on bones and objects. The distance between the bones/objects on the right of the scene is the variable. I've added my own curve to the objects to increase the speed of the monkey head, to show that it can be other than 1:1.
............................................
The Rigging Repository My Artwork Sharing good ideas is the intelligent way to make brilliant ideas. |
||||
|
#19
|
|
||||
|
Thanks FGC!!!!!
Where the heck is ctrl+lmb combo found at??? I spent 2 hrs today trying to figure that one out. Watched videos, checked what there is of online docs, checking menus, searching posts on here, etc.... I literally ran out of places to look for the info... In my search, I learned alot about the drivers graph editor, like the position cursor options, the limit and generator modifiers, and just the general workflow of the graph editor.... But where does one go to learn more??? Thanks Randy
............................................
Some people are like slinkies... not really good for anything, but you still can't help smiling when you shove them down the stairs. |
||||
|
#20
|
![]() |
| Bookmarks |
| Thread Tools | |
|
|