PDA

View Full Version : creating layered maps in maya


Elliotjnewman
03-21-2003, 07:44 PM
I was wondering if anyone can tell me how to layer textures in maya so I can blend between different textures using alpha maps...

I do this usually an Lightwave but I can't seem to be able to do it in maya. Basically what I have donr is created a base map for a head and now would like to add details to the eyes and mouth areas with a different projection. I dont want to show a seam where the two maps join - so how do I blend between them???

I have done some experimenting with layered textures but cant seem to get it to work - any tutorials would be good too...
Thanks!

Ell.

plotz
03-21-2003, 09:48 PM
Here's a tutorial I know of. It uses the hypergraph to connect up the textures, rather than hypershade, but it may help you.

Keep in mind that Maya uses the alpha in the opposite way from Lightwave. Black is opaque, and white is transparent.

http://www.highend3d.com/maya/tutorials/layeredtexture/

Elliotjnewman
03-21-2003, 10:16 PM
Well basically I have figured out how to create a layered texture using two textures on the same geometry, but what I need to find out is how to assign one of the layers to a selection of polys. I have atached an image here which shows a rough sketch of the heads mouth area. Basically what I have done is mapped a cylindrical projection to the whole face's UVs. But now I want to add detail to the lips area, the shaded part of the sketch shows the area I want to adjust, which I would re-map as a planar projection. How do I assign a layer of the layered texture to a selection of faces?

bambam
03-23-2003, 04:22 AM
[i]How do I assign a layer of the layered texture to a selection of faces? [/B]

you need to make more then one set of uv's (so when you planer map click On the "create new uv set" flag
then you need to use the window->relashionship editorers->UV linking-> window and assign you map

Elliotjnewman
03-23-2003, 09:26 AM
well I have just read that tutorial and I think I can do it without creating another selection. If I turn 'repeat uv' off then the texture wont tile across the whole model. I'll give it a go as the tutorial says and let you know how I get on...

Thanks for both of your inputs.

Ell.

Elliotjnewman
03-25-2003, 10:01 AM
Well I have managed to create a layered map in the colour channel by assigning the layered map with a planar projection, and then ticking off the 'wrap u and wrap v' coordinates. This renders fine and the alpha works well etc. But when I try to create a bump map in the same way, I check the 'as projection' option in the create render node window - I then place the new planar project in the same place as the colours planar projection, but when I render it the layered bump map image stretches across the whole model and completely ignors the planar projection I had previously created for it - Even if I adjust the planar projection it makes no difference.

Can I not create more than one layered texture? Or can I not create more than one projection on the same area???

I well dont understand this... here is an image of the material from the hypershade...

Elliotjnewman
03-25-2003, 11:46 AM
I really have no idea why this is happening. I am convinced there is a bug in Maya! When I create a layered texture in the colour channel it works fine - I create a planar map onto the lips and it lines up perfectly in place and the alpha map smooths the two layers perfectly together. But when I go ahead and do the bump map channel - in the same way as before, all I get is the mouth bump map layer stretching across the whole model. No matter what I do - if I create that layer with projection or even as a stencil it still appears in the same place - stretching across the whole model. It seems to completely ignore the planar projection I had created for it!!! I dont understand though as I do the same steps with the colour map and it appears fine - and takes into account the planar map - which doesnt stretch across the whole model like the bump map version does. If anyone has any idea about this please could you let me know? I am going insane!

ell.

Elliotjnewman
03-25-2003, 12:43 PM
I have just done a test and have discovered that in openGL the bump map placement appears fine, and in the right position. But when I make a render it appears to change from the placement to stretch across the whole model.
Here is a picture of the perspective view showing the projection working and in the place it should be in...

Elliotjnewman
03-25-2003, 12:46 PM
and here is the image of the render which shows the placement in a completely different position as in the opengl viewport.

I am confused.

CGTalk Moderation
01-14-2006, 05:00 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.