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 01-12-2006, 07:04 PM   #1
Jaroehl
Subscriber
 
Join Date: May 2004
Location: The netherlands
Posts: 53
Thanks: 0
Thanked 0 Times in 0 Posts
Default Shadow

Hey people in the 3D world,

I have a little problem in my scene and i hope that one of you can help me with it..

I have made the earth by just making a sphere and putting a earth texture on it.. I have put a light on it so only have of the earth is lit..

But what i want is that in the part that is not lit by the light a other texture appears.. And for that i have the earth night texture... How can i get this effect? please help me..

I know that in 3D max it was called a falloff map. But i dont no where i can do this in Maya..

Thank Jaroehl
__________________
Don't be afraid of what you can see, but be afraid of what you cant see.
Jaroehl is offline   Reply With Quote
Old 02-12-2006, 04:24 AM   #2
Therverian
Registered User
 
Therverian's Avatar
 
Join Date: Oct 2006
Posts: 37
Thanks: 0
Thanked 0 Times in 0 Posts
Default

well one way to do this is to do it using 2 shaders.

Create 2 lambers/blinns, whatever you choose. Place your "day" texture on one, and your "night" texture on the other.

with the hypershader still open, select the faces which will be lit and right click your day shader and choose "apply to selected"

Then hold down the shift key and marquee drag over your geometry, it will deselect the current faces and select the other faces.

Apply the night texture to the faces which are now selected.

This will be a "hard" transition from texture to texture, but it's the quickest way to do it.
__________________
The Evolution of Gaming: DNA Studios Online

"I have never met a man so ignorant that I could learn nothing from him" -Galileo-
Therverian is offline   Reply With Quote
Old 02-12-2006, 06:31 AM   #3
Jaroehl
Subscriber
 
Join Date: May 2004
Location: The netherlands
Posts: 53
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks Therverian i will try this..
__________________
Don't be afraid of what you can see, but be afraid of what you cant see.
Jaroehl is offline   Reply With Quote
Old 02-12-2006, 06:49 AM   #4
Jaroehl
Subscriber
 
Join Date: May 2004
Location: The netherlands
Posts: 53
Thanks: 0
Thanked 0 Times in 0 Posts
Default

How can i select the faces when i am using a nurbs sphere... ?????

:headbang:

Thanks
__________________
Don't be afraid of what you can see, but be afraid of what you cant see.
Jaroehl is offline   Reply With Quote
Old 02-12-2006, 06:18 PM   #5
Therverian
Registered User
 
Therverian's Avatar
 
Join Date: Oct 2006
Posts: 37
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Well, that was my mistake, as a nurbs object it's not so simple, the quick fix to this is to convert to SubD

Modify>convert>NURBS to SubD

Use polygon proxy mode and choose faces.

otherwise, you could create an image in a photo editing sofware (photoshop or whatever) placing the 2 pieces (night/day) together (thus allowing to you make the shift smoother with the tools in that sofware....)

then apply the texture to the sphere and adjust the settings in the place2dtexture node as necessary.

REMEMBER: when applying a texture to a Nurbs sphere keep an eye on the seam, it can cause some rather tricky problems
__________________
The Evolution of Gaming: DNA Studios Online

"I have never met a man so ignorant that I could learn nothing from him" -Galileo-

Last edited by Therverian : 02-12-2006 at 06:24 PM.
Therverian is offline   Reply With Quote
Old 03-12-2006, 10:15 AM   #6
Jaroehl
Subscriber
 
Join Date: May 2004
Location: The netherlands
Posts: 53
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Haha Thanks that is a smart one... I will definitly take that option. Thanks you saved me!!!
__________________
Don't be afraid of what you can see, but be afraid of what you cant see.
Jaroehl 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.