walkerman.zip (160.1 KB, 364 views)
"The Sage as an Astronomer: If you still see the stars as something above you, you lack the eye of knowledge." Friedrich Nietzsche
#
4
02-03-2006
, 06:37 AM
Registered User
Join Date: Jan 2004
Location: Tempe, Arizona, USA
One of the things I forgot to mention was, when you set it up with the character, there is a "Stabilize" button that you need to hit just before you skin the character. This reduces the amount of painting skin weights you need to do. . . . There is a stabilize button for the biped and for the quadraped.
Also . . I have it set up so that you can attach the eyes to the joints that are located where the eyes should be . . . . The way to set them up is:
After you have skinned the character, select the character, then select one of the "eye joints" (you have to do it in this specific order) then go to Skin>Edit Smooth Skin>Remove Influence. Do that for the left and right eye. The parent the actual eyes that you have to these joints, and you will now be able to control them by the window sliders.
"The Sage as an Astronomer: If you still see the stars as something above you, you lack the eye of knowledge." Friedrich Nietzsche
#
5
09-03-2006
, 08:38 AM
Registered User
Join Date: Jan 2005
Location: vienna
you are sick man! 39 scripts!! just downloaded the walkerman.zip and I can hardly await to try that out. I have to finish a project in zBrush this week however, so I play with your scripts next week and tell you what I think.
how long did it take you to write the complete thing?
and have you got any feedback from others on walkerman yet?
everything starts and ends in the right place at the right time.
#
6
09-03-2006
, 03:04 PM
Registered User
Join Date: Jan 2004
Location: Tempe, Arizona, USA
I worked on it on and off for about three years, and was learning MEL as I progressed, so it went through some radical changes.
The first stage of it involved finding an efficient way to make the joints move in a cyclical manner, then I had to convert what I saw (observing people walking) to a mathmatical formula, and then once I had that I had to find a way to gain control of each joint and be able to change the coding on the fly, so I could convert a walk to a run by just hitting a button.
So far I have not had any comments from anyone on it, their probably busy playing around with it . . . :bandit:
Right now I am working on creating a function for it that will create a centaur, and also a un-related script that will allow me to take an MIDI file and use its info to animate a piano player.
"The Sage as an Astronomer: If you still see the stars as something above you, you lack the eye of knowledge." Friedrich Nietzsche
#
7
09-03-2006
, 04:01 PM
Registered User
Join Date: Jan 2005
Location: vienna
let me say: you are a freak! I admire your mathematical mind. basically I´m scared of such in deep solutions you provide with your walkerman for example. cause I usually have to understand how everything works with default maya tools, and afterwards might possibly be able to use mel scripts people like you write. a year ago I felt like a noob with maya. but since i stick my nose into scripts now I feel even more noob then in the beginning. when does all this become easy cheesy??
everything starts and ends in the right place at the right time.
#
8
09-03-2006
, 04:25 PM
Registered User
Join Date: Jan 2004
Location: Tempe, Arizona, USA
At some point, you will come to the realization when you are writing MEL script that you can do anything if you divide and conquer. That was the approach I used with Walkerman, when I needed to do a particular thing, I would just concentrate on that particular issue, not the whole big picture. If possible, I would create the simplest example of what I needed as a starting point, and experiment with possible solutions, and then once I had found what i thought might work, I would then attempt to impliment it with the whole program.
Often I will delete out all of the code that is not pertinent to the coding I am attempting to impliment, just take a CHOPPED, very small part of a procedure, and work with it so all I have to deal with is a small simple piece of code, then when I get it working, plug it in to the regular code.
One of the biggest and most complex issues I ran into with Walkerman was how to identify and re-code each function that needed to be changed, to change a walk to a run with the click of a button. With my first attempt, I just numbered each function, so if I needed to modify, say function 12, I would just do a search for function 12, then modify it.
I ran into problems with that though when I started the quadraped project and needed MORE functions or had to replace any functions, and had to go back to the drawing board. In the end I coded a method to search for the string of code that controlled each individual joint attribute . .. i.e. ls.rotateX = bla bla bla . . . . I would just search for the string "ls.rotateX", and then edit that code. A rather novel and unconventional method, but a very effective way of identifying each function, with no room for error.
Coding is kind of like understanding German in a way, because with the German language, many people are intimidated by it, but if you learn some of it, you eventually come to the realizartion that most of those big words are nothing but a lot of simpler words all strung together . . . .
"The Sage as an Astronomer: If you still see the stars as something above you, you lack the eye of knowledge." Friedrich Nietzsche
#
9
09-03-2006
, 06:26 PM
Registered User
Join Date: Jan 2005
Location: vienna
you eventually come to the realizartion that most of those big words are nothing but a lot of simpler words all strung together . . . .
mit einer sprache aus zusammengesetzten hauptwörtern is das ja dann die beste Ausgangssituation, hehe!
I understand. until now I´ve rather looked at code as a big mess of letters and variables without much context. dividing into parts is a good starting point.
now watch this. it is a regular word, although not used quite often..
donaudampfschifffahrtsgesellschaftkapitänsmützen knopf
for me MEL still looks like this one word. hope you get the time to throw out a tutorial some time. in case I don´t realize you posted one, please pm me or something.
have a nice day!
everything starts and ends in the right place at the right time.
#
10
10-03-2006
, 06:22 AM
Registered User
Join Date: Jan 2004
Location: Tempe, Arizona, USA
I have posted several tutorials for mel aready in this MEL forum, I guess that is where I will post any new ones. Just look for any of my posts in Mel Scripts & Programming, I have already got a few in here.
"Why Should you learn MEL . . ." in Maya chat is a good one if you do not yet understand how to create shelf icons and commands . . . it is a real good start point, because it demonstrates how you can learn MEL and apply it even before you are writing code!
"The Sage as an Astronomer: If you still see the stars as something above you, you lack the eye of knowledge." Friedrich Nietzsche
#
11
10-03-2006
, 07:29 AM
Registered User
Join Date: Jan 2005
Location: vienna
thx, I´ll have a look at those.
everything starts and ends in the right place at the right time.
You may not post new threads |
You may not post replies |
You may not post attachments |
You may not edit your posts |
BB code is On |
Smilies are On |
[IMG] code is On |
HTML code is Off
|