Maya Training

Introduction to Hard Surface Modeling

Maya Training

Interiors and Furniture Vol 1 & 2 - Modeling & Cloth

Maya Training

Shading, Lighting and Rendering the Bedroom in MR

Maya Training

Robot volume one - Modeling with animation in mind

Maya Training

Spach-Alspaugh House the complete courseware

Maya Training

Burt The Cartoon Dinosaur Vol 01 - Modeling

New Maya Training

Robot Volume 02 - Hybrid Rigging
You are here > Home > SimplyMaya Community Forums
Loading

Welcome to Simply Maya

Please Sign in or Sign up for an account

Member Login

Lost your password?

Not a member yet? Sign Up!

Old 26-07-2006, 11:21 PM   #1
errethakbe
Subscriber
 
Join Date: May 2005
Posts: 240
Thanks: 0
Thanked 1 Time in 1 Post
Default Need help with lattices!!

Okay, i've created a driven key for the blinking of my eyelids.., then created a lattice to deform the eyes to the way they should look, and still keep the same blinking ability. the same lattice is deforming the eye and i've got an aim contraint so that i can move it wher ei want it and it maintains the proper shape.
The problem is, when i aim the eye, the pupil gets distored by the lattice (see photo)
Is there a way to have the pupil follow the eye deformation, but not have it be deformed by the lattice? in otherwords, i want it to move with the eye, and stay on the surface, but i don't want it to be deformed the way that the lattice wants to deform it. i want to maintain the shape of the pupil.

any help would be great.
Attached Thumbnails
 
errethakbe is offline   Reply With Quote
Old 27-07-2006, 12:33 AM   #2
publicFunction
Senior Software Developer
 
publicFunction's Avatar
 
Join Date: Jan 2005
Location: Livingston, Scotland
Posts: 1,701
Thanks: 1
Thanked 23 Times in 23 Posts
Default

As far as I know and understand the lattice deformer. It will deform the geometry, this includes vertices, edges, CV's, and UV's.

SO you texture applied will deform also.
__________________
Chris (formerly R@nSiD)
Twitter
When the power of love overcomes the love of power the world will truely know peace - Jimmy Hendrix
Winner SM VFX Challenge 1
3rd Place SM SteamPunk Challenge (May 2007)
publicFunction is offline   Reply With Quote
Old 27-07-2006, 03:41 AM   #3
errethakbe
Subscriber
 
Join Date: May 2005
Posts: 240
Thanks: 0
Thanked 1 Time in 1 Post
Default

the pupil is a separate piece of geomerty...i can change it so it's not affected by the lattice, but then it doesnt follow the contours of the eye...the pupil stands off of the eye and it doesnt look right. So i want the pupil geometry to follow the curve of the deformed eye (i.e. bend to match the shape) but i dont want the pupil to actuall stretch and squash as it is now
errethakbe is offline   Reply With Quote
Old 27-07-2006, 10:34 AM   #4
blackstrings
Registered User
 
blackstrings's Avatar
 
Join Date: Apr 2006
Location: United Sates
Posts: 79
Thanks: 0
Thanked 0 Times in 0 Posts
Default

hmm...if you are gonna use the pupil as a seperate geometry, i think it may be possible through some adv. mel scripting to have the pupil move along the surface of the white eyeball keeping it's same volume area.

Otherwise, have you thought about just painting a black pupil on the white eye ball? since it's just a plain black one colored pupil.
__________________
9 months into Maya...and still learning...
0 experience with any other 3D programs
blackstrings is offline   Reply With Quote
Old 27-07-2006, 01:19 PM   #5
publicFunction
Senior Software Developer
 
publicFunction's Avatar
 
Join Date: Jan 2005
Location: Livingston, Scotland
Posts: 1,701
Thanks: 1
Thanked 23 Times in 23 Posts
Default

If that geometry is going through the lattice then it will be effected also. Any Geometry passing through a lattice is affected by the deformation.
__________________
Chris (formerly R@nSiD)
Twitter
When the power of love overcomes the love of power the world will truely know peace - Jimmy Hendrix
Winner SM VFX Challenge 1
3rd Place SM SteamPunk Challenge (May 2007)
publicFunction is offline   Reply With Quote
Old 27-07-2006, 10:33 PM   #6
errethakbe
Subscriber
 
Join Date: May 2005
Posts: 240
Thanks: 0
Thanked 1 Time in 1 Post
Default

it won't be 1 color...these are preliminary colors..no texturing has been done yet...
Also, the pupil is a separate piece of geometry so i can do things like squash/dilate/etc, but manually using controls i set up.
i can have the geometry in the lattice and not be affected by it, if it doesnt have an association with the lattice...
actually, i don't want it to an an association with the lattice, just with the surface of the eye....i thought about a separate lattice just for the pupil that matches the curve of the eye...only problem is, i can't get the curve right, and the deformations don't work correctly either.
is there a way to create a lattice from a surface, so it has teh same curvature?
I cant do it with texturing, because the texture will get distorted with the eye just as the pupil is.
i don't know mel scripting, so unfortunately, i can't do that...espcially advanced mel.
i'll keep messing with it..if there are any more ideas, please let me know.
errethakbe is offline   Reply With Quote
Old 27-07-2006, 11:09 PM   #7
errethakbe
Subscriber
 
Join Date: May 2005
Posts: 240
Thanks: 0
Thanked 1 Time in 1 Post
Default

i got it.
found a script called Rivet that creates a locator that follows along the surface, and i parented the eye to the locator...it's working pretty well.
errethakbe is offline   Reply With Quote

A little bit about who we are
Links you might find useful
Catch up with SimplyMaya
SimplyMaya specialises in Maya tutorials. We offer over 1,000 individual Maya training videos, ranging from basic Maya tutorials through to intermediate Maya tutorials. Our tutorials are created by instructors with industry experience and are designed to get you up and running in Maya quickly without making it seem like hard work.

Copyright © 1999-2015 SimplyMaya - vBulletin® Copyright © 2000-2015, Jelsoft Enterprises Ltd.