Saturday, November 1, 2008

The Stretchy Eye Balls

According to the finalized model, the eye balls of the character are not exact spheres; the eyes movement will be a problem as the pivot point is not located exactly at the center of the eye balls. Some studios would use texture project to make the pupils, but the pupils will be distorted and the projected image may not be stable after the geometry of the eye ball are stretched with the head. Jared Lindquist tried using rivet script and “Freeze Geometry’” of lattice to keep the pupils remains circular and attaching on the eye, and I had modified this method to make the eye stretch with the head properly.

1. Create a nurbs sphere for eye model; rename it to eye _geo and a polygon sphere roughly the same size; rename it to eye_rivet_base_geo. ( it’s good habit which rename all new nodes to some meaningful names after create, it will help to trace and solve problem)

The polygon sphere can be created by duplicate the nurbs sphere and convert into polygon.

Figure2 - a nurbs sphere for eye model and a polygon sphere

2. Use rivet script which was created by technical director Michael Bazhutkin, On the eye_rivet_base_geo, select two parallel edges in front of the location of pupil, and create a rivet. The locater will stick on the polygon face even thought the face has been translated or deformed. Rename locator to eye_rivet_loc.

Figure 3 - select two parallel edges in front of the eye_rivet_base_geo and create rivet

Figure 4 – a locator (rivet) is created accordingly and stick to that polygon

3. Position the eye _geo and eye_rivet_base_geo with rivet on same location, we can use point constrain to position two geometries on the exact same location:

  • Select the eye _geo then shift select eye_rivet_base_geo with rivet

  • Choose Constrain > Point to assign point constrain

Figure 5 –eye _geo and eye_rivet_base_geo snaped together

  • Delete the point constrain node under eye_rivet_base_geo.

Figure 6 – delete point constrain node under eye_rivet_base_geo in outliner

4. In the original idea of Jared Lindquist’s, the eyes are deformed and stretched by lattice, but it the lattice could not be deformed with and driven by the head rig. Instead of the lattice, I use wrap deformer as a main deformer for the eyes.

Create wrap deformer for eye_geo

  • Duplicate eye_geo and rename eye_wrap_base_geo

  • Scale eye_wrap_base_geo a bit, slightly larger than eye_geo and eye_rivet_base_geo, and wrap around them.

  • Select eye_geo first, and then shift select eye_wrap_base_geo,

  • Choose Create Deformers > Wrap, to create wrap deformer.

  • Select eye_geo, rename the wrap input node to eye_geo_wrap.

  • Set the Max Distance of eye_geo_wrap to 50.

Figure 7 –Set the Max Distance of eye_geo_wrap up to 50.

Create wrap deformer for eye_rivet_base_geo as well

  • Select eye_rivet_base_geo first, and then shift select eye_wrap_base_geo,

  • Choose Create Deformers > Wrap, to create wrap deformer.

  • Select eye_rivet_base_geo, rename the wrap input node to eye_rivet_base_geo _wrap.

  • Set the Max Distance of eye_rivet_base_geo _wrap to 50.

Figure 8 –Set the Max Distance of eye_rivet_base_geo _wrap up to 50.

5. eye_geo and eye_rivet_base_geo are deformed according to the shape of eye_wrap_base_geo and eye_wrap_base_geo can be bound on the head rig, so the eye can be stretch with head. But the CV for pupils could not remain in circular. Now we use the rivet and lattice to remain the shape of pupils.

Figure 9 - eye_geo and eye_rivet_base_geo are deformed according to the shape of eye_wrap_base_geo.

  • Reset the shape of eye_wrap_base_geo

  • Select the CV for pupils on eye_geo

Figure 10 - the CV for the pupils on eye_geo

  • Choose Create Deformers > Lattice, rename the ffdLattice to pupils_ffd_Lattice and ffdBase to pupils_ffd_Base. Select eye_geo and rename the ffd input node to pupils_ffd.

Figure 11 – create Lattice on the CV for pupils and rename properly

  • Set the division of S, T, U, for the pupils_ffd_shape to 2, and check the ‘Freeze Geometry’ option of pupils_ffd in the attributes editor

  • Parent pupils_ffd_Lattice under eye_rivet_loc

  • Figure 12 – the setting for pupils_Lattices

Now select both eye_geo and eye_rivet_base_geo, the CVs for pupils are remaining circular as the shape is frozen by the pupils_ffd. We can assign ramp texture and shader eye_geo. The shape of eye is driven by the eye_wrap_base_geo, deform the eye_wrap_base_geo to fit in the eye socket of the character and bind to head joint later on.

As the eye_geo and eye_rivet_base_geo have to rotate together, we can use orient constrains to make eye_rivet_base_geo following to eye_geo.

Figure 13 –pupils are remaining circular no meter how the eye had been stretched

Now the eye movement can been created by rotate the eye_geo, the pupils are remained circular no meter what shape of the eye ball. Group all the elements for eye into one group in order to clarify the scene and ready for next step.

Figure 14 – the move and deform the eye_wrap_base_geo to fit the eye into the eye socket.

The eye movement can been created by rotate the eye_geo.

References for marking stretchy eye ball

Lindquist, J. (2007). Nyeng! Stretchy eyes in Maya. Retrieved March 18, 2008 from http://www.nyeng.com/?page_id=345

Bazhutkin, M. (2007). Bazhutkin Software. Retrieved March 18, 2008 from http://www.geocities.com/bazhutkin/


52 comments:

Anonymous said...

herbal viagra reviews buy cheap viagra online natural herbs used as viagra viagra equivalent cheapest viagra in uk sample of viagra free trial of viagra buying viagra online free sample viagra alternative to viagra buy viagra on line viagra free sites computer find how does viagra work watermelon viagra

Anonymous said...

Hi,

Do you guys watch movies in theater or on internet? I use to rent DVD movies from [b]Blockbuster.com[/b]. Recently I discovered that we can watch all new movies on internet on day, they are released. So why should I spend money on renting movies??? So, can you guys please tell me where I can [url=http://www.watchhotmoviesfree.com]watch latest movie Ca$h 2010[/url] for free?? I have searched [url=http://www.watchhotmoviesfree.com]Youtube.com[/url], [url=http://www.watchhotmoviesfree.com]Dailymotion.com[/url], [url=http://www.watchhotmoviesfree.com]Megavideo.com[/url] but, Could not find a good working link. If you know any working link please share it with me.


Thanks

Anonymous said...

The excellent message, I congratulate)))))

jesukiran said...

Hello Mr.Solun
Thanks for the tutorial i tried same thing what you said. But iam not getting same as you shown in the image.
Can you please check this file and help me out where did i mistaken.
file is here:
http://rapidshare.com/files/427076893/jsu_stretchy_Eye.rar
Thanks in advance!

Anonymous said...

online xanax lorazepam vs xanax high - xanax side effects zoloft

Anonymous said...

where can i buy xanax online xanax 1mg football - 2mg xanax bars online

Anonymous said...

buy viagra buy viagra online cheap us - viagra online authentic

Anonymous said...

viagra online without prescription buy generic viagra forum - cheap generic viagra from us

Anonymous said...

soma muscle relaxant buy soma frame - soma generic

Anonymous said...

soma medication soma medication strengths - soma medication side effects

Anonymous said...

Hi, zyban smoking - zyban stop smoking http://www.wellbutrinonlinesale.net/#zyban-stop-smoking , [url=http://www.wellbutrinonlinesale.net/#zyban-medication ]zyban medication [/url]

Anonymous said...

Hi, zyban medication - buy zyban http://www.wellbutrinonlinesale.net/#buy-zyban , [url=http://www.wellbutrinonlinesale.net/#cheap-zyban ]cheap zyban [/url]

Anonymous said...

Hi, zyban quit smoking - zyban smoking http://www.wellbutrinonlinesale.net/#zyban-smoking , [url=http://www.wellbutrinonlinesale.net/#zyban-stop-smoking ]zyban stop smoking [/url]

Anonymous said...

Hi, zyban online - order zyban http://www.wellbutrinonlinesale.net/#order-zyban , [url=http://www.wellbutrinonlinesale.net/#zyban-drug ]zyban drug [/url]

Anonymous said...

Hi, bupropion online - buy bupropion http://www.wellbutrinonlinesale.net/#buy-bupropion , [url=http://www.wellbutrinonlinesale.net/#generic-bupropion ]generic bupropion [/url]

Anonymous said...

Hi, zyban without prescription - zyban bupropion http://www.wellbutrinonlinesale.net/#zyban-bupropion , [url=http://www.wellbutrinonlinesale.net/#bupropion-online ]bupropion online [/url]

Anonymous said...

buy cialis online cialis online vancouver - cialis walmart

Anonymous said...

Presription Allergy Medication ciprofloxacin for sale online - order ciprofloxacin online http://www.cheapcipromed.net/#order-ciprofloxacin-online , order ciprofloxacin

Anonymous said...

Sav On Drugs Jobs cipro no prescription - order cipro online http://www.cheapcipromed.net/#order-cipro-online , cipro without rx

Anonymous said...

Psychiatrist Natural Medicine generic propecia no prescription - cheap propecia no prescription http://www.propeciahowtosave.net/#cheap-propecia-no-prescription , where to buy finasteride online

Anonymous said...

Service User Participation Drug order propecia online no prescription - order propecia http://www.propeciahowtosave.net/#order-propecia , [url=http://www.propeciahowtosave.net/#buy-propecia-without-prescription ]buy propecia without prescription [/url]

Anonymous said...

Depakote Containing Drugs order cipro online - cipro without rx http://www.cheapcipromed.net/#cipro-without-rx , [url=http://www.cheapcipromed.net/#cipro-online-no-prescription ]cipro online no prescription [/url]

Anonymous said...

order tramadol online mastercard what is tramadol high like - tramadol for dogs max dose

Anonymous said...

tramadol no rx tramadol 50mg my dog - tramadol hcl 50 mg compared to oxycodone

Anonymous said...

r, accutane price - accutane cost http://www.isotretinoinprices.net/#accutane-cost , [url=http://www.isotretinoinprices.net/#accutane-for-sale ]accutane for sale [/url]

Anonymous said...

tmd order cytotec online - generic cytotec online http://www.cytoteconlinecheap.net/#cytotec-price, [url=http://www.cytoteconlinecheap.net/#cytotec-price]cheap cytotec online no prescription [/url]

Anonymous said...

xanax online xanax dosage for children - do xanax pills expire

Anonymous said...

xanax online greenstone xanax 2mg - xanax side effects and overdose

Anonymous said...

hello nolvadex for sale no prescription - buy cheap nolvadex http://www.nolvadexonlinerx.net/#buy-cheap-nolvadex , cheap nolvadex no prescription

Anonymous said...

buy tramadol tramadol injection - tramadol for dogs arthritis

Anonymous said...

xanax online xanax bars online no prescription - xanax drug profile

Anonymous said...

cialis online where to buy cialis online - cialis daily basis

Anonymous said...

cialis online no prescription overnight buy cialis in us - cialis online safe

Anonymous said...

20000 :) Generic Gabapentin - neurontin without prescription http://www.neurontinonlinecheap.net/#Generic-Gabapentin, [url=http://www.neurontinonlinecheap.net/#Neurontin-Online]Neurontin Online[/url]

Anonymous said...

07 zyban medication - buy zyban http://www.wellbutrinforsaleonline.net/, [url=http://www.wellbutrinforsaleonline.net/]cheap zyban [/url]

Anonymous said...

2, buy meridia - sibutramine online http://www.meridiaforyourdiet.net/#cheap-sibutramine, [url=http://www.meridiaforyourdiet.net/#sibutramine-diet-pills]buy meridia[/url]

Anonymous said...

buy cheap klonopin klonopin side effects and pregnancy - buy klonopin online

Anonymous said...

http://www.integrativeonc.org/adminsio/buyklonopinonline/#3081 klonopin overdose memory loss - klonopin no prescription overnight delivery

Anonymous said...

Hi, order sumatriptan online - buy imitrex without prescription http://www.onlinepharmdiscount.com/imitrex/, [url=http://www.onlinepharmdiscount.com/imitrex/]imitrex without rx [/url]

Anonymous said...

Li, accutane for sale - buy generic accutane online http://www.isotretinoinrxonline.net/, [url=http://www.isotretinoinrxonline.net/]buy accutane[/url]

Anonymous said...

Li, Provigil Without Prescription - cost of provigil http://www.provigilbenefitsonline.net/, [url=http://www.provigilbenefitsonline.net/]Provigil Online[/url]

Anonymous said...

1, Accutane For Sale - buy isotretinoin online http://www.benefitsofisotretinoin.net/, [url=http://www.benefitsofisotretinoin.net/]Cheap Accutane[/url]

Anonymous said...

5, [url=http://www.costofeffexor.net/]Buy Venlafaxine Online[/url] - Effexor For Sale - effexor pills http://www.costofeffexor.net/ .

Anonymous said...

12, [url=http://www.nemedicalmassage.com/] Cheap Sibutramine [/url] - Order Meridia - sibutramine price http://www.nemedicalmassage.com/ .

Anonymous said...

13, [url=http://www.mercaturismo.com/] Ambien No Prescription [/url] - Purchase Ambien - zolpidem for sale http://www.mercaturismo.com/ .

Anonymous said...

Your own article pгovіdeѕ νеrifiеd nеcesѕaгу to me personally.

It’ѕ really helpful and you аre certаіnly really
well-іnfoгmed in thiѕ fiеld.
You have got poppeԁ my pеrsonal eyes to numeгous thoughts about this
kinԁ of toрic using іntriquіng, nоtablе and sоund content material.
Feel free to surf my web blog ... buy ambien

Anonymous said...

Your article hаs сonfіrmed helpful
to mуself. It’s really іnformatіѵe anԁ you
really are natuгally quite educated οf thіs type.

You have got popped mу personal eyе to be able to varуіng views on this paгticular subject using intеresting аnd
ѕolid wrіtten content.

Heгe is my page - ambien

Anonymous said...

Hmm is anyοne elsе having рroblеms with
the images on this blog loaԁing? І'm trying to figure out if its a problem on my end or if it's the blog.
Any responses would be greatly aρpreciated.

mу page coffee pure cleanse And Colo cleanse pro combo diet reviews

Anonymous said...

I'm not sure why but this blog is loading extremely slow for me. Is anyone else having this issue or is it a problem on my end? I'll chеck bаck
later and see if the prоblem still eхіsts.



Visit my site :: Car Insurance quotes

Anonymous said...

We're a group of volunteers and starting a new scheme in our community. Your web site provided us with valuable info to work on. You have done a formidable job and our entire community will be grateful to you.

Here is my blog post; anxiety panic guide

Anonymous said...

I’m not that much of a online reader to be honest but your blogs really nice, keep it up!
I'll go ahead and bookmark your site to come back in the future. All the best

My page; acne remedies

Anonymous said...

It's a pity you don't have a donate button! I'd most certainly donate to this superb blog! I suppose for now i'll settle for bookmarking and adding your RSS feed to my Google account.
I look forward to fresh updates and will share this site with my Facebook group.
Talk soon!

My site; acne product reviews (mar.ge)