IK / FK Arm Rig

Explicare como hacer un rig de brazo con Forward Kinematics e Inverse Kinematics (IK / FK ), de nuevo explico este concepto no es creación mia. bueno a lo que vamos. Primeramente crearemos 3 cadenas de joints, estas tres cadenas seran una para el IK, otra para el FK, y otra que llamaremos Bind, que es a la que ira pegado nuestro personaje, aqui podemos hacernos un poco de bolas con esto, va asi, la cadena de IK es donde montaremos nuestro IK handle en pocas palabras un rig normal de brazo, y la de FK sera la que controlemos a traves de las rotaciones de los Joints, la ultima cadena de Bind ozilara entre estas dos, controlando los movimientos de nuestro personaje :)

Crearemos bien las tres cadenas de joints, en la Cadena de Bind, es donde ira emparentada nuestra mano, las otras solo iran del hombro a lo que es la muñeca, como se muestra en la imagen. Para ahorrarnos tiempo podemos duplicar la cadena de joints y solo renombrarla entre IK y FK , estas cadenas no llevan joints en la mano, terminan en la muñeca.

Ahora si empezaremos a hacer contraints, primeramente haremos un Contraint Orient con maintain Offset activado del IK_shld a Bind_shld , y de FK_shld a Bind_shld, selecionaremos nuestro contraint en el outliner y cambiaremos el Interp Type a Shortest, Repetiremos el mismo paso en los otros Joints, Ik_elbow, Ik_forarm, Ik_wirst, fk_elbow, fk_forarm y fk_wrist, respectivamente con su joint correspontiente en la cadena de Bind.



A continuacion crearemos nuestra curva de control para la mano y la llamaremos ctrl_hand, agregaremos un atributo en add attribute con el nombre de switch, para poder cambiar entre el IK y el FK, ahora vamonos al hypershade y creemos un node MultiplyDivide que llamare ikfk_muldiv y cambiaremos el Input 2 X a 0.1.


Conectaremos usando el connection editor nuestra ctrl_hand al ikfk_muldiv, conectando el valor switch a input1X.

Abriremos el outliner y con el boton de en medio (middle click) arrastraremos al hypershade los constrints del bind, es decir bind_shld_orientConstraint1, bind_elbow_orientConstraint1, bind_forarm_orientConstraint1 y bind_wrist_orientConstraint1. ya una ves ubicados en el hypershade pasaremos a conectarlos con el multiplydivide. Empezaremos conectando el ikfk_muldiv.input1x a bind_shld_orientConstraint1.FK_shld_w1 y repetiremos esto con cada constraint respectivamente.

Ahora traeremos otro nodo a nuestra area de trabajo en el hypershade, crearemos un Reverse node y renombremoslo a ikfk_rev, conectaremos nuestro ikfk_muldiv.outputx al ikfk_rev.inputx, ok con esto hecho empezaremos a conetar el reverse a los constraints, conectamos ikfk_rev.ouuputx a bind_shld_orientConstraint1.ik_shldW0, y repetimos el mismo paso par los otros constraints faltantes.

Con esto tenemos casi terminado el rig, ahora soo falta crear los controladores y el ik. empezemos pues por el ik handle, hagmos un IK handle del ik_shld al ik_forarm , ahora seleccionemos su effector en el outliner y movamos su pivote al joint ik_wrist con un snap to point, creemos un controlador para el hombro ctrl_elbow lo colacamos a la altura del codo un poquito hacia atras, ahora seleccionamos el controlador shift el ik handle y constraint pole vector, ahora selectionamos nuestra ctrl_hand shift el ik, constraint point, ok super hazta shi tenemos seteado el control del IK, nos falta orientar la mano, selecionamos nuestra ctrl_hand shift ik_wirst y constraint orient con maintain offset activado.

Ahora crearemos 2 controladores mas para el FK, uno para el hombro y otro para el codo, y los colocaremos en su joint respectivo, renombremoslo ctrl_shld_fk y ctrl_elbow_fk, freeze transformation para mandar sus valores a cero, eso es logico :p , ok ahora selecionamos nuestro ctrl_elbow_fk shift fk_elbow y constraint orient con el offset activado, y repetimos lo mismo con el ctrl_shld_fk y fk_shld , ahora selecionamos nuestro ctrl_elbow_fk shift ctrl_shld_fk y le damos un parent, por ultimo podemos usar un set driven key, solo para ocultar estas curvas cuando estemos en IK, traeremos nuestro set driven key y le daremos key al visibility de ambas curvas cuando nuestroo switch este en 0, el visibility estara en 0ff, y cuando el switch, este en 0.1 el visibility en 0n.


Ahora si podemos provar nuestro setup de IK FK y todo deve funcionar a la perfección ;) espero les haya servido.

12 komentarioz:

Anonymous said...

WOLAAAAAS !!!! que tal gordolova !!! esta re chidolira tu explicacion JAJA hoy eunoia mañana pitzar !!!

Anonymous said...

[B]NZBsRus.com[/B]
Dont Bother With Slow Downloads With NZB Files You Can Quickly Find High Quality Movies, Console Games, MP3 Singles, Applications & Download Them at Flying Speeds

[URL=http://www.nzbsrus.com][B]NZB[/B][/URL]

Anonymous said...

It isn't hard at all to start making money online in the hush-hush world of [URL=http://www.www.blackhatmoneymaker.com]blackhat seo forum[/URL], Don’t feel silly if you don't know what blackhat is. Blackhat marketing uses not-so-popular or not-so-known avenues to build an income online.

Anonymous said...

Fine wаy οf explaining, and nice article to
obtaіn іnfоrmation about my presentation focus, which i am goіng to convey in
univеrsity.

Here is my pаge ... Online Payday Loans Instant Approval
Also visit my web-site ... Payday Loans

Anonymous said...

I've been exploring for a little for any high-quality articles or blog posts on this sort of space . Exploring in Yahoo I ultimately stumbled upon this web site. Reading this information So i am glad to exhibit that I've an incredibly just right uncanny feeling I came upon exactly what I needed.
I such a lot no doubt will make certain to do
not omit this website and give it a glance on a constant basis.


Here is my web blog: business branding and printing

Anonymous said...

Valuable information. Fortunate me I found your
web site by chance, and I'm stunned why this coincidence did not took place in advance! I bookmarked it.

Feel free to visit my homepage :: tutorial services

Anonymous said...

Great blog! Do you have any recommendations for aspiring writers?
I'm planning to start my own blog soon but I'm a little lost
on everything. Would you suggest starting with a free platform like Wordpress or go for a paid option?
There are so many choices out there that I'm totally confused .. Any ideas? Appreciate it!

Feel free to surf to my weblog; security

Anonymous said...

I really like your blog.. very nice colors & theme.
Did you create this website yourself or did you hire someone to do
it for you? Plz reply as I'm looking to design my own blog and would like to know where u got this from. kudos

My web site ... key holders Durban

Anonymous said...

Inspiring story there. What occurred after? Thanks!

my site - signage Bloemfontein

Anonymous said...

I'm not sure why but this weblog is loading extremely slow for me. Is anyone else having this problem or is it a problem on my end? I'll check back later
on and see if the problem still exists.

My blog: garage equipment supplier

Anonymous said...

I read this paragraph fully on the topic of the comparison of most recent and earlier technologies, it's amazing article.

my webpage ... air conditioning Johannesburg

Anonymous said...

I like the valuable information you provide for your
articles. I will bookmark your weblog and test once more
here frequently. I'm fairly sure I'll be told many new stuff
right right here! Good luck for the following!

my website ... http://Paydayloanshut1b.com/