Maya Training

Introduction to Hard Surface Modeling

Maya Training

Interiors and Furniture Vol 1 & 2 - Modeling & Cloth

Maya Training

Shading, Lighting and Rendering the Bedroom in MR

Maya Training

Robot volume one - Modeling with animation in mind

Maya Training

Spach-Alspaugh House the complete courseware

Maya Training

Burt The Cartoon Dinosaur Vol 01 - Modeling

New Maya Training

Robot Volume 02 - Hybrid Rigging
You are here > Home > SimplyMaya Community Forums
Loading

Welcome to Simply Maya

Please Sign in or Sign up for an account

Member Login

Lost your password?

Not a member yet? Sign Up!

Old 10-02-2004, 07:01 PM   #1
maya4todd
Subscriber
 
maya4todd's Avatar
 
Join Date: Jan 2003
Location: Santa Monica, CA.
Posts: 163
Thanks: 0
Thanked 0 Times in 0 Posts
Default Applying a custom ".ma" shader

I've downloaded some shaders with the ".ma" extension. And I've placed them in the Shader Library. But, I'm not sure how to apply them. I tried dragging a chrome one into the Work Area of Hypershade and applying from there, but it didn't work.

Any pointers?

Thanks


Maya rocks! :bgreen:
maya4todd is offline   Reply With Quote
Old 10-02-2004, 07:05 PM   #2
Alan
Moderator
 
Alan's Avatar
 
Join Date: Oct 2002
Location: London, UK
Posts: 2,800
Thanks: 0
Thanked 5 Times in 5 Posts
Default

you need to import them into the hypershade. goto the hypershade and then file import (in that viewpane) and then browse to the shaders. They should then appear there and act like normal textures.

Alan
__________________
Technical Director - Framestore

Currently working on: Your Highness

IMDB
Alan is offline   Reply With Quote
Old 10-02-2004, 07:08 PM   #3
maya4todd
Subscriber
 
maya4todd's Avatar
 
Join Date: Jan 2003
Location: Santa Monica, CA.
Posts: 163
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Right click in the top viewpane to import? Sorry, I'm at the "dayjob" so I don't have Maya in front of me.
maya4todd is offline   Reply With Quote
Old 10-02-2004, 08:40 PM   #4
dirack
Registered User
 
dirack's Avatar
 
Join Date: Oct 2003
Location: Cage #42 of the Asylum
Posts: 396
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Go to the hypershade click on the left bar where it says file... and select your file. Then you can use it as a texture Really nothing to it :p
dirack is offline   Reply With Quote
Old 10-02-2004, 09:08 PM   #5
maya4todd
Subscriber
 
maya4todd's Avatar
 
Join Date: Jan 2003
Location: Santa Monica, CA.
Posts: 163
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Oh, really? Wow. Cool. Gosh, I love Maya. :bgreen:
Thanks, dirack.
maya4todd is offline   Reply With Quote
Old 10-02-2004, 09:49 PM   #6
twisteddragon33
Registered User
 
twisteddragon33's Avatar
 
Join Date: Apr 2003
Location: New York, USA
Posts: 1,945
Thanks: 0
Thanked 45 Times in 45 Posts
Default

pmed info
__________________
________________________
AIM: SublimeDragon33
Catch me if i'm on. Always up for a chat.
e-mail: sublimedragon33@gmail.com
twisteddragon33 is offline   Reply With Quote
Old 25-10-2004, 08:32 AM   #7
Lifire
Registered User
 
Lifire's Avatar
 
Join Date: Oct 2004
Posts: 68
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Is there any way for the custom shaders have their own previews (like the ones that come with Maya) instead of just the Maya logo? It would be nice to remember what the shader looks like without always importing it. Most of the custom shaders come with a preview sample (usually .jpg) but how could you apply that so preview the shader in hypershade?


Thanks.
__________________
"We don't actually need to know that the main character has a past. All we need to know is that he has an objective and a lot of people are going to die and a lot of innocent inanimate objects are going to be destroyed and blown up before he can complete that objective."
Lifire is offline   Reply With Quote
Old 25-10-2004, 08:37 PM   #8
goosemage
Registered User
 
goosemage's Avatar
 
Join Date: Dec 2003
Location: USA
Posts: 50
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I am not sure but you might just have to use mel (maya embedded language). I use only scripts for custom buttons, because of the ease of editing. In order to get the icon, I just apply it to an object, go into the attributes editor, click the texture's tab and take a screenshot of the sample. Then I go into photoshop, then paste, crop, and resize if necessary. You could easily make them with paint to, I use .bmp's for mine. I am unsure if you can use other file formats.
goosemage is offline   Reply With Quote
Old 25-10-2004, 08:42 PM   #9
Lifire
Registered User
 
Lifire's Avatar
 
Join Date: Oct 2004
Posts: 68
Thanks: 0
Thanked 0 Times in 0 Posts
Default

So I put the .bmp with the same name as the shader in the .mayaSwatches folder?
__________________
"We don't actually need to know that the main character has a past. All we need to know is that he has an objective and a lot of people are going to die and a lot of innocent inanimate objects are going to be destroyed and blown up before he can complete that objective."
Lifire is offline   Reply With Quote
Old 25-10-2004, 09:16 PM   #10
goosemage
Registered User
 
goosemage's Avatar
 
Join Date: Dec 2003
Location: USA
Posts: 50
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Originally posted by Lifire
So I put the .bmp with the same name as the shader in the .mayaSwatches folder?
I don't know, I have it all scripted in a weird way I think. I have a shelf script, and command scripts. Shelf script makes the shelf and buttons, and then when you click a button, it executes the command script associated with it. These are not in hypershade, they are in a custom shelf I made.
goosemage is offline   Reply With Quote

A little bit about who we are
Links you might find useful
Catch up with SimplyMaya
SimplyMaya specialises in Maya tutorials. We offer over 1,000 individual Maya training videos, ranging from basic Maya tutorials through to intermediate Maya tutorials. Our tutorials are created by instructors with industry experience and are designed to get you up and running in Maya quickly without making it seem like hard work.

Copyright © 1999-2015 SimplyMaya - vBulletin® Copyright © 2000-2015, Jelsoft Enterprises Ltd.