Texture deforms when animating object

Texture deforms when animating object

Anonymous
Not applicable
3,078 Views
9 Replies
Message 1 of 10

Texture deforms when animating object

Anonymous
Not applicable

Hey everybody!

 

I am animating a snake. The model is lofted with multiple ellipses. I'm animating the snake by moving vertexes. When I move them, the texture squeezes together at intervals. it looks like rings around the snakes skin. The texture is a file 2D projection. I also tried with simple file texturing. I dont really know how its called. if you just click color-folder-file...

i already tried fixing it with an texture reference object-didnt work, and by hypershade- convert to file texture, didnt work as well:(

 

I hope somebody can help me ! Thanks in advance!

 

Yvonne

0 Likes
3,079 Views
9 Replies
Replies (9)
Message 2 of 10

saihtam
Collaborator
Collaborator

Without seeing any pictures of the issue or your Maya file it sounds like this is normal. You shouldn't animate by moving vertecies directly, but creating a rig for this. When you compress an area of a model the texture in that area will compress accordingly. Thought I'm not quite sure what you mean by "When I move them, the texture squeezes together at intervals. it looks like rings around the snakes skin." If you could upload some pictures/video of what is happening or even better, you Maya file(include the texture file as well, you can ZIP the files together and upload here on the forum), then it would be easier to troubleshoot.

- Mathias
0 Likes
Message 3 of 10

Anonymous
Not applicable

hi! Thank you for that quick reply!

The first image is how the texture should look like on the unanimated object. On the second you can see the "stripes". This happens when i convert a 2D projection  texture to file texture and deform the object. And on the third the texture "moves" and deforms when I deform the object and didnt convert the texture.

 

I did never use a rig before, I should try it.

0 Likes
Message 4 of 10

Anonymous
Not applicable

Hi again! the zip file is too big for the forum:/ I made a dropbox:

 

https://www.dropbox.com/s/b23w6tsrgjryjcx/Yvonne%20_Animation_.zip?dl=0

 

The snake skin texture is in sourceimages called "textur1"

But the scene is a little messed up, maybe difficult to look through:/

 

The snake is in the pipe. Im trying to let the snake go through the pipe.

There are two snakes in the scene.

I already animated one but the texture didnt work and i made the new one. I put the first in the currently invisible layer "snakeversionone"

0 Likes
Message 5 of 10

J450NP13
Advisor
Advisor

What are you animating and how?

0 Likes
Message 6 of 10

Anonymous
Not applicable

There is a pool, that wil be filled with bifrost water from frame 1 to 500, aroung frame 150 the snake shall move through the buttom pipe into the pool and swim through it until it leaves the scene (when look through camera3). The snakes body is in the pipe currently.

Thank you so much for concerning with it!

0 Likes
Message 7 of 10

Anonymous
Not applicable

oh seems like on of my posts got lost...

here is a dropbox link. The zip was still too big for the forum.

 

https://www.dropbox.com/s/b23w6tsrgjryjcx/Yvonne%20_Animation_.zip?dl=0

 

Unfortunetly the scene is a little messed up, it might be difficult to look through :/... im having my first experiences with maya...

The snakes skin texture is in sourceimages. It is called 'textur1'. The snake is in the buttom pipe. There is an currently invisible layer 'snakeversionone' this snake is animated, but the texture didnt work so i made the new one.

0 Likes
Message 8 of 10

J450NP13
Advisor
Advisor

Yes then you will want to set up a rig to animate that movement of the model....not the verts themselves.

0 Likes
Message 9 of 10

Anonymous
Not applicable

Ok thank you ! I have the object with a projected texture and a rig now. But still, if I animate it with the rig, the texture swims... do you know how i can fix that?

I aready tried it by using a texture reference object.

The first screenshot showsthe texture like i want it. black at the top and orange at the buttom ...and then the second shows how the texture swims so that it becomes orange at the top

 

I read this:

"Especially for animated or deforming objects, you must maintain the correct positioning of the texture on the object. (If the object is animated, you could parent the 3D icon to the geometry, for example." What do they mean by 3D icon? This one i selected in my third screenshot?

0 Likes
Message 10 of 10

saihtam
Collaborator
Collaborator

I thought I saw a place3DTexture file in your scene and indeed. You are projecting the texture in 3D space. So when the snake moves, it moves through the projection. You need to look into proper UV layout and texturing in Maya.

 

And you should probably make the lofted surface into a polygonal mesh which you can then UV properly and texture. If you can't make a proper rig, you can still use the lofted surface as a wrap for your polygonal mesh and then use your old curve setup to drive that.

 

Let us know if you have any more questions.

- Mathias