lord
03-19-2003, 04:08 AM
Hi all,
can someone please help me with a problem I am having with displacement mapping.
I have an object which is essentially a tube/cylinder, it is the neck of a character which is also rigged.
I am wanting to create a gulping effect, to express the anticipation of something landing on my character.
I decided to use a displacement map which I hoped would create a bulge that I could animate running down the character's throat.
Simple enough.
The Displacement Map goes like this:
There are 2 layers,
The first layer is a gradient map which uses a weightmap to constrain the displacement only to the throat area using the Alpha blending mode.
The second layer is an image map, which is essentially a white image with a black line through the centre which is cylindrically mapped and scaled around the neck.
To animate the gulp I've created keyframes in the second layers Y position channel - so that the displaced bulge starts under the chin and slides down the throat.
The results I am getting are unpredictable and not really what I was expecting.
the displacement maps position does not appear to remain relative to the necks position when the character is being animated.
Is this because of the bones deforming the mesh first before the displacement map?
Is there a way then of specifying the displacement map to work before the bones? Can't see if there is.
Perhaps there is a whole nother solution to my problem altogether?
Any suggestions?
I'm about to loose the plot on this one.
:confused: :(
I hope there is a kind soul who can help me solve this problem.
Thankyou very very much in advance.
Cheers...
can someone please help me with a problem I am having with displacement mapping.
I have an object which is essentially a tube/cylinder, it is the neck of a character which is also rigged.
I am wanting to create a gulping effect, to express the anticipation of something landing on my character.
I decided to use a displacement map which I hoped would create a bulge that I could animate running down the character's throat.
Simple enough.
The Displacement Map goes like this:
There are 2 layers,
The first layer is a gradient map which uses a weightmap to constrain the displacement only to the throat area using the Alpha blending mode.
The second layer is an image map, which is essentially a white image with a black line through the centre which is cylindrically mapped and scaled around the neck.
To animate the gulp I've created keyframes in the second layers Y position channel - so that the displaced bulge starts under the chin and slides down the throat.
The results I am getting are unpredictable and not really what I was expecting.
the displacement maps position does not appear to remain relative to the necks position when the character is being animated.
Is this because of the bones deforming the mesh first before the displacement map?
Is there a way then of specifying the displacement map to work before the bones? Can't see if there is.
Perhaps there is a whole nother solution to my problem altogether?
Any suggestions?
I'm about to loose the plot on this one.
:confused: :(
I hope there is a kind soul who can help me solve this problem.
Thankyou very very much in advance.
Cheers...