SimplyMaya Forums

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

Home / forum / Lounges / Maya Basics & Newbie Lounge / How ca i create the glow on a planet?
Register FAQ Members List Calendar Mark Forums Read

New Thread
 
Thread Tools
Old 17-03-2004, 08:18 PM   #1
tank2002
Subscriber
 
Join Date: Jul 2003
Location: In the Caribbean
Posts: 193
Thanks: 0
Thanked 0 Times in 0 Posts
Default How ca i create the glow on a planet?

HI

I'm creating a planet with 3 poly spheres :

1st the actual terrain
2nd for the clouds
and 3rd for the atmosphere

but how on the 3rd i can create the glow like the pic attach?

thanks
Attached Thumbnails
Click image for larger version

Name:	image015.jpg
Views:	639
Size:	36.5 KB
ID:	14081  
__________________
If you can Imagine, Draw it, if you Draw it, Animate it, then it becomes a Masterpiece.....
tank2002 is offline   Reply With Quote
Old 17-03-2004, 08:36 PM   #2
Darkware
Subscriber
 
Darkware's Avatar
 
Join Date: Oct 2002
Location: USA
Posts: 1,172
Thanks: 0
Thanked 4 Times in 4 Posts
Default

A short cheap way to do it would be to create a ring with a shader that imitates the glow effect just a little bigger than the size of your earth, position it correctly, then point constrain it to your camera. That way, it will always make a "glow" effect no matter where you move the camera. All an illusion obviously though...
__________________
www.Darkware3D.com
Darkware is offline   Reply With Quote
Old 18-03-2004, 01:47 PM   #3
tank2002
Subscriber
 
Join Date: Jul 2003
Location: In the Caribbean
Posts: 193
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thats a good trick but, My camera will be moving following a ship
i think wont work for me....

thanks and keep it coming!
__________________
If you can Imagine, Draw it, if you Draw it, Animate it, then it becomes a Masterpiece.....
tank2002 is offline   Reply With Quote
Old 18-03-2004, 02:21 PM   #4
Stephen
Subscriber
 
Stephen's Avatar
 
Join Date: Sep 2002
Location: northampton
Posts: 242
Thanks: 0
Thanked 11 Times in 11 Posts
Default

What you need to do is create a sphere to the required size and give a blue colour and glow intensity. Turn off Double Sided and turn on Opposite in the render stats, then render, thats it.
See me picture in the gallery called Earth.
good luck!
__________________
It is by my will alone I set my mind in motion
www.origin3d.co.uk
Stephen is offline   Reply With Quote
Old 18-03-2004, 02:39 PM   #5
Alan
Moderator
 
Alan's Avatar
 
Join Date: Oct 2002
Location: London, UK
Posts: 2,800
Thanks: 0
Thanked 5 Times in 5 Posts
Default

or you could use the facing ratio in a shader to control the glow of another sphere.... although the other way mentioned by Stephen would also do it
__________________
Technical Director - Framestore

Currently working on: Your Highness

IMDB
Alan is offline   Reply With Quote
Old 19-03-2004, 12:03 PM   #6
Hanuman
Registered User
 
Join Date: Aug 2003
Location: Auroville, India
Posts: 62
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I just finished putting atmosphere on some planets and I did it as follows:
1. follow stephen's suggestions
2. use a rampshader for the , turn on glow intensity, uncheck "hide source", and the transparency slider can be used to control how much the atmosphere covers the planet. Actually, when you use a rampshader, there is no need to turn on Opposite in the Render Stats.

Good luck
__________________
A conscious power has drawn the plan of life...
Hanuman is offline   Reply With Quote
Old 19-03-2004, 01:40 PM   #7
tank2002
Subscriber
 
Join Date: Jul 2003
Location: In the Caribbean
Posts: 193
Thanks: 0
Thanked 0 Times in 0 Posts
Default

hey guys!

thanks for the great help ill be posting the result as soon as i finish it

again thanks!
__________________
If you can Imagine, Draw it, if you Draw it, Animate it, then it becomes a Masterpiece.....
tank2002 is offline   Reply With Quote
Old 25-03-2004, 12:14 PM   #8
tank2002
Subscriber
 
Join Date: Jul 2003
Location: In the Caribbean
Posts: 193
Thanks: 0
Thanked 0 Times in 0 Posts
Default

hey guys

All this time i was trying to follow stepehn and human suggestions, but im missing something i can't create the effect

I'm banging my head on the floor since i hink is a simple thing to do but i cant get it right....

I dind this:

Create a poly spehere
Turn off Double Sided and turn on Opposite
create a lambert material
turn glow intensity from 0 to 500 (i tried all the values not exceding 1.00)
created a directional light (default values)
and play with the color , transparency and ambient colors

then i follow hanuman suggestion

Create a poly spehere
create a lambert material
turn glow intensity from 0 to 500 (i tried all the values not exceding 1.00)
BUT HE SUGGEST RAMP SHADER ON SOMETHING (HE LEFT OUT THAT PART) so i try using it on the color or ambient or transparency

The result is an overwelming gloe or no glow at all....

CAN somebody give me the excats steps to follow maybe im missing something or create a simple scene with a sphere and attach it here so i can see it...?

again thanks in adavance
__________________
If you can Imagine, Draw it, if you Draw it, Animate it, then it becomes a Masterpiece.....
tank2002 is offline   Reply With Quote
Old 26-03-2004, 03:17 AM   #9
Hanuman
Registered User
 
Join Date: Aug 2003
Location: Auroville, India
Posts: 62
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Sorry, could have been unclear the way I expressed it. What I meant was not to map a ramp on the color or ambient or transparency attributes of a Lambert Material. You should use "Ramp Shader" as a material and apply that to a sphere. In my hypershade (Maya 5.0), it is the eighth material down, just after PhongE.
__________________
A conscious power has drawn the plan of life...
Hanuman is offline   Reply With Quote
Old 26-03-2004, 03:20 AM   #10
Hanuman
Registered User
 
Join Date: Aug 2003
Location: Auroville, India
Posts: 62
Thanks: 0
Thanked 0 Times in 0 Posts
Default

This is what I got using the "ramp shader" material.
Attached Thumbnails
Click image for larger version

Name:	planetscenemontage.jpg
Views:	581
Size:	44.6 KB
ID:	14253  
__________________
A conscious power has drawn the plan of life...
Hanuman is offline   Reply With Quote
Old 26-03-2004, 12:49 PM   #11
tank2002
Subscriber
 
Join Date: Jul 2003
Location: In the Caribbean
Posts: 193
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks humana, I see now what you mean I'll give it a try....thanks a lot! I'll post the result soon....
__________________
If you can Imagine, Draw it, if you Draw it, Animate it, then it becomes a Masterpiece.....
tank2002 is offline   Reply With Quote
Old 29-03-2004, 02:56 PM   #12
tank2002
Subscriber
 
Join Date: Jul 2003
Location: In the Caribbean
Posts: 193
Thanks: 0
Thanked 0 Times in 0 Posts
Default

arrr, i can't get this glow effect, Am I to newbie to figure this out? the ramp shader dont do the effect i want....
__________________
If you can Imagine, Draw it, if you Draw it, Animate it, then it becomes a Masterpiece.....
tank2002 is offline   Reply With Quote
Old 29-03-2004, 03:00 PM   #13
tank2002
Subscriber
 
Join Date: Jul 2003
Location: In the Caribbean
Posts: 193
Thanks: 0
Thanked 0 Times in 0 Posts
Default

this what i've done without the glow...
__________________
If you can Imagine, Draw it, if you Draw it, Animate it, then it becomes a Masterpiece.....
tank2002 is offline   Reply With Quote
Old 30-03-2004, 03:02 AM   #14
Hanuman
Registered User
 
Join Date: Aug 2003
Location: Auroville, India
Posts: 62
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Let me take you through it step by step:

1. Create a RampShader Material

2. In Common Material Attributes|Color, set two color handles. The one on the left should be black, and its selected position 0 and the second one blue (or the color of the atmosphere you want) and its selected position 1.

3. Set Interpolation to Linear, and Color Input to Light Angle.
In Common Material Attributes|Transparency, set two color handles. The one on the left should be black and its selected position 0, and the second one white, and its selected position 0.250 (play with this value as it determines the amount the atmosphere covers your sphere).

4. In Special Effects, set Hide Source to True and set a value for Glow Intensity to a value you like.

For the sphere that you map this shader to, go to Render Stats and uncheck Double Sided. I don't have Opposite checked.

This sphere should be slightly larger than the sphere you have your planet texture mapped to. Let's say your planet sphere's scale is 50 then your atmosphere scale could be something like 50.1 or thereabouts.

I have a light that is linked to the Atmosphere only, so that you can tweak the glow without affecting the planet.

I suggest you also read up on the default shaderGlow1 node that Maya puts in the Hypershade.

Good luck and hope this helps.
__________________
A conscious power has drawn the plan of life...
Hanuman is offline   Reply With Quote
Old 30-03-2004, 07:07 PM   #15
tank2002
Subscriber
 
Join Date: Jul 2003
Location: In the Caribbean
Posts: 193
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Amazing Hanuman, Thanks for taking time and teach me!!!!
I really appreciated

I'll try it and post the results since i had problems attaching my last post

One more thing when u say link a light to the atmossphere u mean parented?

again thanks for taking time and teach me.....
__________________
If you can Imagine, Draw it, if you Draw it, Animate it, then it becomes a Masterpiece.....
tank2002 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.