SimplyMaya Forums

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

Home / forum / Lounges / Maya Basics & Newbie Lounge / Do anyone know how to create planet Earth shader with city lights in a "night" side?
Register FAQ Members List Calendar Mark Forums Read

New Thread
 
Thread Tools
Old 22-12-2003, 05:56 PM   #1
victstep
Registered User
 
victstep's Avatar
 
Join Date: Dec 2003
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default Do anyone know how to create planet Earth shader with city lights in a "night" side?

Hi!

I am ex-3dsmax user, and I am trying to create in Maya photorealistic planet Earth shader, with city lights in a "night" side of the planet. I'am mean 2 textures shader: one texture visible only in a "day" side of the shader and second texture visible ONLY (!!!) in a "nigh" side of the shader.

Just in 3dmax it's very simple: self-illumination->falloff->shadow/light; but in Maya... couple of weeks I can't find the answer to my question, and this is not a first Maya forum where I am asking to help.

Please if someone know a tutorial about it tell me, or gave me the right direction for my research.

P.S. Please, do not answer like "just use incandescence" (it's dosen't work); or "just use surfaceLuminance"; please explain HOW to use.

Thank you.
victstep is offline   Reply With Quote
Old 22-12-2003, 09:11 PM   #2
fredriksson
Subscriber
 
fredriksson's Avatar
 
Join Date: Jun 2003
Location: Sweden
Posts: 571
Thanks: 0
Thanked 1 Time in 1 Post
Default

Alright, this took me 1 min to set up, if you get the hang of the node based structure it isn't too hard.
Check out the image I prepared. The ramp is just a ramp with white-black range (you need to tweak it to your preference). The grid is where you put your file node (I didn't have a good one handy). You then multiply the ramps out-value with the files and you input that into the incandescence. Hope it helps. (the stucco is just for some color)

edit. You should perhaps clamp the surfaceLuminance, I don't know what valuerange it has, but it seems to work fine without.
Attached Thumbnails
Click image for larger version

Name:	test1.jpg
Views:	983
Size:	76.6 KB
ID:	12236  
__________________
Björn 'santa' Fredriksson

<A href=http://www.bjornfredriksson.com>Site Online.</A>

Check out our 1on1on1 battle for the SandCrawlers.

Last edited by fredriksson : 22-12-2003 at 09:15 PM.
fredriksson is offline   Reply With Quote
Old 23-12-2003, 12:37 PM   #3
victstep
Registered User
 
victstep's Avatar
 
Join Date: Dec 2003
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thank you!

It's work great!
Attached Thumbnails
Click image for larger version

Name:	earth.jpg
Views:	937
Size:	28.6 KB
ID:	12252  
victstep is offline   Reply With Quote
Old 23-12-2003, 12:43 PM   #4
rich
Subscriber
 
rich's Avatar
 
Join Date: Oct 2003
Location: Paris, France
Posts: 418
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I have a good Earth Shader that you can download from Simply Maya (see the link in my signature)

I didn't include the night map in the released ZIP file; but if you want to play with it, here it is....
Attached Thumbnails
Click image for larger version

Name:	earthmoonlit.jpg
Views:	950
Size:	56.4 KB
ID:	12253  
__________________
That'll do donkey... that'll do...
rich is offline   Reply With Quote
Old 23-12-2003, 12:43 PM   #5
victstep
Registered User
 
victstep's Avatar
 
Join Date: Dec 2003
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Btw if you need a 2500x1250 Earth textures (free) you may visit: http://www.oera.net/How2/TextureMaps.htm

Thanks again.
victstep 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.