View Full Version : Mapping Problem
ongchewpeng 06-16-2003, 07:09 AM How to map a logo (without the white background of the logo) to an object?
Anyone can kindly help me.
|
|
koinu
06-16-2003, 07:12 AM
Be a little more specific and I'll be able to help you. As you probly know Maya has several types of mapping that you can use. Depending on the shape of your logo that yu want mapped. Reply and I'll see what we can do..
ongchewpeng
06-16-2003, 07:18 AM
i want to map a logo to a ball (i using texture map). but because the logo which i created in Photoshop have white area all around. when i map to the ball, it will see the white area which i don't want. so how can i remove the white area?
Thanks
koinu
06-16-2003, 07:23 AM
Are you using the texture as a projection map? Remeber White is Alpha
ongchewpeng
06-16-2003, 07:25 AM
ya, i am using Projection Map. What u mean white is Alpha? What should i do now?
koinu
06-16-2003, 07:28 AM
Being white is alpha you can get rid of it, render it out and see...
White disappears and black stays behind. Make sure the white is pure white also. Post a render to show visually what is going on....:thumbsup:
ongchewpeng
06-16-2003, 07:51 AM
here it is :)
luminis
06-16-2003, 08:40 AM
This is more of a Photoshop related question, as this is something you must do in Photoshop to the image before importing it to Maya.
What you need to do is to add an Alpha channel to your image. An alpha channel is just a set of extra information in the image file that tells the program that uses it which parts are solid and which parts are transparent.
I quickly did a similar setup to what you have to show you how to do an alpha channel.
http://www.luminis3d.com/etc/cgt/img/0001/01.jpg
http://www.luminis3d.com/etc/cgt/img/0001/02.jpg
Now, go to the Channels palette and click on the "New Channel" button on the bottom. This will create a new Alpha channel for the image
http://www.luminis3d.com/etc/cgt/img/0001/02a.jpg
Now click on this channel to select it and draw on it a cirlce that exactly matches the outline of your logo. Make sure the circle is white and the outside is black. This means that the white circle will stay solid and whatever is black will be transparent.
http://www.luminis3d.com/etc/cgt/img/0001/03.jpg
http://www.luminis3d.com/etc/cgt/img/0001/04.jpg
Now do not save the file as a JPEG file, or it will loose the Alpha information. You must save in a format that uses Alpha, such as TIFF (.tif extension) or IFF (.iff if you have the Maya IFF plugin for Photoshop).
Import this image into Maya and project it just as you did before and it should be a red circle with a transparent background.
I hope this helps. Let me know if you need more help figuring it out. :)
ongchewpeng
06-16-2003, 09:03 AM
i did that in Photoshop, but it still doesn't work. should i do any setting in maya? i map it as normal by using Colour Map with Projection Map.
Levitateme
06-16-2003, 09:49 AM
do this
koinu is correct you just have to learn alpha maps i guess
on your box is that a diffuse shader?
under color, there is transperacy, in Photoshop save your mask/alpha channel as a image.
in maya now click on the transperacy box, select image, now use that mask image , it will only render your logo now. btw there are lots and lots of ways to do this.
anakinskywalker
06-16-2003, 11:06 AM
To make it simple... just select the white part around the logo in photoshop and delete it.. you should now have the white area as a transparent part with those gray squares (assuming your logo was in a separate layer and not as a background) Save the resultant file as a tiff (without layers and with transparency in the options)
Now create a blinn (or whatever) and a file node in hypershade. Using the attribute editor, load in the tiff file in the file node. Now Ctrl+MMB drag from file node to the blinn node. Maya will do the transparency link for you as well as the color. This is how ur connexn editor will look like.
Tidus
06-16-2003, 02:01 PM
it's very simple,u just use stencil utility.
u can adjust its attribute HSV Color Key,turn on "key masking",select white of your logo for mask.
like this.
ongchewpeng
06-17-2003, 08:00 AM
Thanks everybody. i did it already.
CGTalk Moderation
01-15-2006, 10:00 AM
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.
vBulletin v3.0.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.