SimplyMaya Forums

Welcome to the forum, feel free to ask questions here.

Register FAQ Members List Calendar Mark Forums Read

New Thread
 
Thread Tools
Old 01-12-2006, 06: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, 03: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, 05: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, 05: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, 05: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 05:24 PM.
Therverian is offline   Reply With Quote
Old 03-12-2006, 09: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
New Thread

« Previous Thread | Next Thread »

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off

1 Month

$34

Month-to-month billing
$34/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
 
 

3 months

$87

Billing every 3 months
$29/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
Save $5 per month or $15 in total compared to monthly billing with this package.

12 months

$288

Billing every 12 months
$24/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
Save $10 per month or $120 in total compared to monthly billing with this package.

Your plan will automatically renew. You can cancel at any time via your PayPal account to avoid being charged again.

You can view the FAQ on our video plans here. You can contact us directly here. By clicking one of the buttons above, you agree to our Terms and Privacy Policy.