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 05-04-2011, 06:02 PM   #1
dubcanada
Registered User
 
Join Date: Apr 2011
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Need some help with shaders?

Hello,

I have a mountain I made using soft modification tool and then triangulating the geometry and applying a Normals->Harden Edges and I am trying to apply solid color shaders to specific parts (brown for my mountain, white for snow, green for my grass) so I created two lambert hypershader thingys (as seen in my attachment) and I am trying to apply the green to the grass faces, and the brown to the other faces but I can't figure out how to do it.

My steps are.
I lasso select all the faces for the mountain then try and drag the lambert brown texture onto them and it doesn't work.

My errors (I think), I went Color->Apply Color before trying this which turned them from a see through box into a gray box with lighting from my light source, but now I can't apply any kind of a shader or anything?

Any help!?

Thanks!
Attached Thumbnails
 
dubcanada is offline   Reply With Quote
Old 05-04-2011, 07:08 PM   #2
Gen
Moderator
 
Gen's Avatar
 
Join Date: Dec 2006
Location: South FL
Posts: 3,457
Thanks: 13
Thanked 635 Times in 558 Posts
Default

The "Color>Apply Color" operation is for hardware rendering, it will show up in the viewport or if you use the hardware renderer but not with any software renderer. Go back to "Apply Color" and choose the "remove color" option this time and it should be back to normal.

Honestly, instead of trying to apply separate shaders to faces (which will result in razor sharp transitions between colors) It would be better if you used the 3D paint tool so you can paint where snow, grass, dirt is supposed to be then save that out to paint over in Photoshop, or maybe you'll get it as detailed as you want right inside Maya.

1.Assign a new shader to the model, lambert if you don't want to deal with hardware highlights.

2. Assign a file texture node to the color slot of the shader and leave the file path blank.

3. Select the model and go to the "Rendering" menu set. And under the "Texturing" menu choose the 3D paint tool>options.

4. In the option box, under "File Textures" press the "Assign/Edit Textures" button and set the resolution and file format for the texture, hit "Assign/Edit Textures".

5. Paint away and "Save Textures".
Gen is offline   Reply With Quote
Old 05-04-2011, 07:11 PM   #3
dubcanada
Registered User
 
Join Date: Apr 2011
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks for your suggestion, however I am trying to duplicate http://cias.rit.edu/~jrs9486/assets/images/biome.jpg that style which is why I want razor hard edge transitions between the colors.

My apologies I should have included this in the original post.

I'm still trying to figure out why I can't assign a selection of faces a particular shader and the rest another shader. If I click on the brown lambert shader and then select all my faces it turns them brown but when I click elsewhere to unselect them it turns them back green. Perhaps I need to remove the green and maybe apply it to specific faces?

Last edited by dubcanada : 05-04-2011 at 07:13 PM.
dubcanada is offline   Reply With Quote
Old 05-04-2011, 07:48 PM   #4
honestdom
The Nurb Herd
 
honestdom's Avatar
 
Join Date: Oct 2007
Location: London
Posts: 2,381
Thanks: 4
Thanked 298 Times in 288 Posts
Default

hey, thats really nice.

so did you select the faces then right click and go to assign existing shader?

i just tried it and it works for me. I triangulated the same way you did and i think the problem you might find is that it looks too even. You may find that you need to add more model detail to get a better look. (if this is a test ignore me.)
honestdom is offline   Reply With Quote
Old 05-04-2011, 08:13 PM   #5
dubcanada
Registered User
 
Join Date: Apr 2011
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I managed to figure it out, I applied the green to everything and it overlayed the brown for some reason so I just deleted everything and did it again and it worked perfectly.

How would you suggest I create the mountains? I'm not sure if the soft mod tool does a good enough job.



If my first run, excuse the terrible lighting.

- Steve

Last edited by dubcanada : 05-04-2011 at 08:26 PM.
dubcanada is offline   Reply With Quote
Old 05-04-2011, 08:36 PM   #6
Gen
Moderator
 
Gen's Avatar
 
Join Date: Dec 2006
Location: South FL
Posts: 3,457
Thanks: 13
Thanked 635 Times in 558 Posts
Default

The Sculpt Geometry Tool should be less painful.
Gen is offline   Reply With Quote
Reply


Similar Threads
Thread Thread Starter Forum Replies Last Post
Objects turning black Gen Technical Issues 3 07-03-2011 01:00 AM
mib_color_mix connections ? Falott Mental Ray 6 06-02-2011 08:23 AM

Thread Tools





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.