Introduction to Maya - Rendering in Arnold
This course will look at the fundamentals of rendering in Arnold. We'll go through the different light types available, cameras, shaders, Arnold's render settings and finally how to split an image into render passes (AOV's), before we then reassemble it i
# 1 05-03-2011 , 06:11 PM
Masteryoda's Avatar
Registered User
Join Date: Jul 2005
Location: Malta
Posts: 331

change black colour to transparent?

Hi, I got a texture which is brilliant for my project and wish to have the black colour on it transparent. Is there anyway to insert it as a jpg and have maya workout where there is black, its transparent?

Thanks

Mark


May the force be with you

My Official Portfolio
Fast Casino Payouts

Mark Julian Borg
# 2 05-03-2011 , 08:39 PM
honestdom's Avatar
The Nurb Herd
Join Date: Oct 2007
Location: London
Posts: 2,381
well you need to have an alpha channel. however, jpegs wont support an alpha channel so you should use a tiff.

# 3 05-03-2011 , 08:58 PM
Perfecto's Avatar
Registered User
Join Date: Mar 2007
Location: TN (USA)
Posts: 1,889
If you use a jpeg, just go to the color balance of the file and turn on "Alpha is luminance". As far as Maya figuring out where the black areas are of a texture that is more than just a black and white image, I don't know.


Don't be satisfied with what you can do but rather strive to do the things you can't do!
Exceed Expectations!
# 4 05-03-2011 , 09:17 PM
Masteryoda's Avatar
Registered User
Join Date: Jul 2005
Location: Malta
Posts: 331
I'm trying to do it without an alpha channel cause its a map of clouds and Will be tedious to recreate, looking for a shortcut, like saying using 'darken' layer style in photoshop to make the white invisible...

Thanks user added image


May the force be with you

My Official Portfolio
Fast Casino Payouts

Mark Julian Borg
# 5 05-03-2011 , 11:01 PM
Perfecto's Avatar
Registered User
Join Date: Mar 2007
Location: TN (USA)
Posts: 1,889
Can you post a screen shot of the texture?


Don't be satisfied with what you can do but rather strive to do the things you can't do!
Exceed Expectations!
# 6 06-03-2011 , 12:37 AM
Masteryoda's Avatar
Registered User
Join Date: Jul 2005
Location: Malta
Posts: 331
Thanks Perfecto! Your method worked! user added image

I'm still used to texturing cause I always specialised in modelling... Texturing and Lighting is still pretty new for me.

Attached Images

May the force be with you

My Official Portfolio
Fast Casino Payouts

Mark Julian Borg

Last edited by Masteryoda; 06-03-2011 at 12:42 AM.
# 7 06-03-2011 , 02:24 AM
Perfecto's Avatar
Registered User
Join Date: Mar 2007
Location: TN (USA)
Posts: 1,889
I'm still pretty new to texturing myself but if we keep practicing we'll both get better and better. I'm glad you got it working. Good luck with the rest of your project.


Don't be satisfied with what you can do but rather strive to do the things you can't do!
Exceed Expectations!
# 8 06-03-2011 , 09:24 AM
Masteryoda's Avatar
Registered User
Join Date: Jul 2005
Location: Malta
Posts: 331
Defiantly user added image Thanks a lot for your help Perfecto. After 4 years not touching Maya, I'm back on 3D again


May the force be with you

My Official Portfolio
Fast Casino Payouts

Mark Julian Borg
# 9 06-03-2011 , 10:47 AM
LauriePriest's Avatar
Moderator
Join Date: May 2003
Location: London
Posts: 1,001
you dont need an alpha channel to do this, when a format like tiff is connected to the colour of a matterial if an alpha is detected it will automatically hook it up to the transparency for you. You can go into the connection editor and delete this automatic association at any point.

If you bring in your texture jpg to the hypershade you will see a whole group of colour math nodes which will give you the result you want without working with photoshop. To make darker areas more transparent you need to invert the image so use an invert node then if you want to have more control play with gamma/ contrast nodes to get the result you want. A nice one to use is the set range node. when you hook this up you need to set the original range coming in and then the new range.

E.g. the orignal image will have a range of 0-1 so if you set the new range to be 0.5 to 1 the image will be alot brighter. Note you can scale this out of visible bounds to doing a range of -1 to 1 will make everything that was below 50% gray black. This is usefull for getting nice control.

Just hook the output of this into your transparency, use the ipr to tweak your values.
You can use alpha is luminance but you might find it easier for the brain to use rgb to luminance node.

Hope this helps.


FX supervisor - double negative
# 10 06-03-2011 , 12:05 PM
Jay's Avatar
Lead Modeler - Framestore
Join Date: Feb 2003
Location: UK
Posts: 6,287
Mmmm, I just wouldn't use a tiff, maya isnt a fan despite what is said, use a targa

J

# 11 06-03-2011 , 12:20 PM
honestdom's Avatar
The Nurb Herd
Join Date: Oct 2007
Location: London
Posts: 2,381
oh, that cloud map you can just plug into the transparency. are you using the 16k version of the colour maps? it will slow your computer down loads and take a long time to render. Just a heads up.

here is the link if anyone else is interested.
https://www.shadedrelief.com/natural3.../textures.html

# 12 06-03-2011 , 12:22 PM
Jay's Avatar
Lead Modeler - Framestore
Join Date: Feb 2003
Location: UK
Posts: 6,287
LOL 16k ahahahaha....why???

cheers for the link Dom

J

# 13 06-03-2011 , 12:22 PM
honestdom's Avatar
The Nurb Herd
Join Date: Oct 2007
Location: London
Posts: 2,381

Mmmm, I just wouldn't use a tiff, maya isnt a fan despite what is said, use a targa

J

tiffs are fine as long as there is no compression. what other problems would there be?

16k i know!, i did actually use them as 16k recently. i converted to TEX, worked fine. user added image

# 14 06-03-2011 , 05:07 PM
LauriePriest's Avatar
Moderator
Join Date: May 2003
Location: London
Posts: 1,001
Just uses alot of your RAM, you can do tiled rendering if you run into memory issues down the line. But to be honest 16k is HUGE. if your rendering at 2048 pixels across no texture resolution should be much bigger than 2k and thats at close up.

TEX is the same as tiff by the way, just a format made to work with render man, but also works with other renderers.

Tiff is a strange format, its not one size fits all it comes in many different flavors. TEX is a good to use as its still tiff but it will ensure it behaves expectedly.

I like taga too, its nice and simple.


FX supervisor - double negative
# 15 06-03-2011 , 05:09 PM
LauriePriest's Avatar
Moderator
Join Date: May 2003
Location: London
Posts: 1,001
Jay, you at windmill lane!? In Ireland? I have a friend Joel Prager who moved there last year, you know him?
They are doing some wicked stuff now!!


FX supervisor - double negative
Posting Rules Forum Rules
You may not post new threads | You may not post replies | You may not post attachments | You may not edit your posts | BB code is On | Smilies are On | [IMG] code is On | HTML code is Off

Similar Threads