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 04-03-2003, 03:40 PM   #1
shantanu11
Registered User
 
shantanu11's Avatar
 
Join Date: Mar 2003
Posts: 43
Thanks: 0
Thanked 0 Times in 0 Posts
Default STARS

How do i create stars in maya. Other than the paint effect 2d one.
shantanu11 is offline   Reply With Quote
Old 04-03-2003, 04:19 PM   #2
M
Subscriber
 
M's Avatar
 
Join Date: Jan 2003
Location: BC, Canada
Posts: 2,250
Thanks: 0
Thanked 27 Times in 27 Posts
Default

If you wanted stars that look small and bright, then you could take a sphere, apply a white colored shader to it, then double click on the white shader and then open special effects tab in the attribute editor and then slide up the glow a bit. When you render this will make that white ball glowing, kinda what you see in the sky. If you want a fake yellow star, first model it, then apply a yellow shader and add the glow like in the first example .. hope this helped.
__________________
"I should call you sugar maple tree cause i'd totally tap that" haha

email - mattwettstein@gmail.com

Last edited by M : 06-03-2003 at 12:04 AM.
M is offline   Reply With Quote
Old 05-03-2003, 10:37 AM   #3
Tolerate
Registered User
 
Join Date: Oct 2002
Location: Taunton, UK
Posts: 128
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I use particles

create an omni emitter
set the rate to about 5000
set the max distance to about 810
set the min distance to about 800 (for the min and max distance you can set them much higher, but remember to adjust the clipping distanc of the camera)

set the speed to 0


Then you just hit play until you have enought particles
when you have enough, press stop, select the particles and in the dynamics menu set go to Solvers -> Initial State -> Set for selected

go back to beginning of the timerange and delete the emitter.

You would then have to go into the particles attribute editor and adjust give the stars more random color/size/brightness

render the stars as a seperate layer and add a slight glow in post-production
Tolerate is offline   Reply With Quote
Old 05-03-2003, 08:23 PM   #4
NitroLiq
Moderator
 
NitroLiq's Avatar
 
Join Date: Nov 2002
Location: New York
Posts: 2,133
Thanks: 0
Thanked 10 Times in 9 Posts
Default

In addition to what everyone else said, you could also create a large sphere and map a starfield texture to it. Not a great idea if you want glows and whatnot...but if you want a static background, it works. That being said, most of the ones I've seen built in Maya were done using particles or PaintFX. I've attached a very small, very quick avi test of a starfield fly-through I did using paintfx and a NURBS sphere. You can get a general idea of how it looks with paintfx even if you don't want to go that route.
__________________
"Terminat Bora Diem, Terminal Auctor opus."
NitroLiq is offline   Reply With Quote
Old 05-03-2003, 10:33 PM   #5
Hidalgo
Subscriber
 
Hidalgo's Avatar
 
Join Date: Dec 2002
Location: Idaho USA!!!
Posts: 492
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Originally posted by Tolerate
I use particles

create an omni emitter
set the rate to about 5000
set the max distance to about 810
set the min distance to about 800 (for the min and max distance you can set them much higher, but remember to adjust the clipping distanc of the camera)

set the speed to 0


Then you just hit play until you have enought particles
when you have enough, press stop, select the particles and in the dynamics menu set go to Solvers -> Initial State -> Set for selected

go back to beginning of the timerange and delete the emitter.

You would then have to go into the particles attribute editor and adjust give the stars more random color/size/brightness

render the stars as a seperate layer and add a slight glow in post-production
I like this as it seems to give a lot of control over your scene. I like 3d starfields just in case I decide I might want to do an animation.

In Lightwave, I would create a sphere and rotate slightly and duplicate. Doing that several times, I would then change polys to points and apply glow, color, size, etc. to the points and get a good starfield from that. But I don't think you can change a polygon sphere to points only in Maya..not sure though.
__________________
http://www.darrylworley.com/

http://www.defendamerica.mil/nmam.html
Hidalgo is offline   Reply With Quote
Old 06-03-2003, 08:16 AM   #6
Tolerate
Registered User
 
Join Date: Oct 2002
Location: Taunton, UK
Posts: 128
Thanks: 0
Thanked 0 Times in 0 Posts
Default

You could with some fancy MEL scripting.

But that is efectively the same as u described. You would need to do some very simple MEL expressions when adjusting the particles properties in the Atribute Editor, but it took me about 5 minutes to find the commands I needed in the online help
Tolerate is offline   Reply With Quote
Old 06-03-2003, 02:05 PM   #7
NitroLiq
Moderator
 
NitroLiq's Avatar
 
Join Date: Nov 2002
Location: New York
Posts: 2,133
Thanks: 0
Thanked 10 Times in 9 Posts
Default

Using the particle method, how would you randomize the colors, glows, and brightness in the attrib editor?
__________________
"Terminat Bora Diem, Terminal Auctor opus."

Last edited by NitroLiq : 06-03-2003 at 02:09 PM.
NitroLiq is offline   Reply With Quote
Old 06-03-2003, 03:38 PM   #8
Hidalgo
Subscriber
 
Hidalgo's Avatar
 
Join Date: Dec 2002
Location: Idaho USA!!!
Posts: 492
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Would you actually have to create several emitters and apply attributes to the particles created in each emitter?

Hmm...This WOULD be a great script for somebody who can code it...

Hint! Hint!
__________________
http://www.darrylworley.com/

http://www.defendamerica.mil/nmam.html
Hidalgo is offline   Reply With Quote
Old 07-03-2003, 03:46 PM   #9
Oculus
Subscriber
 
Oculus's Avatar
 
Join Date: Oct 2002
Location: Murfreesboro, TN
Posts: 175
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I am currently working on a project right now where I need a background of stars to show movement among some asteroids...

I made a giant sphere with a modified leather texture. Leather?! Yes, leather. Just make the cell size white and very small and the vein size large and black and it looks EXACTLY like stars, and renders relatively quickly. =]
__________________
- Chris L. Harkins -
Oculus is offline   Reply With Quote
Old 07-03-2003, 07:48 PM   #10
Hidalgo
Subscriber
 
Hidalgo's Avatar
 
Join Date: Dec 2002
Location: Idaho USA!!!
Posts: 492
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Oculus, could post a pic of your starfield?

I would love to see the result of this. What an interesting way to create a starfield!
__________________
http://www.darrylworley.com/

http://www.defendamerica.mil/nmam.html
Hidalgo is offline   Reply With Quote
Old 07-03-2003, 08:29 PM   #11
NitroLiq
Moderator
 
NitroLiq's Avatar
 
Join Date: Nov 2002
Location: New York
Posts: 2,133
Thanks: 0
Thanked 10 Times in 9 Posts
Default

I've seen that method somewhere before...either here or at highend. I think I tried it but either couldn't get it working properly or wasn't satisfied with the end result. You can't animate the star glows and all that, can you? You're just creating a static background, right?
__________________
"Terminat Bora Diem, Terminal Auctor opus."
NitroLiq is offline   Reply With Quote
Old 08-03-2003, 12:00 AM   #12
Hidalgo
Subscriber
 
Hidalgo's Avatar
 
Join Date: Dec 2002
Location: Idaho USA!!!
Posts: 492
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I think a decent starfield will have a variety of sizes, colors, and brightness.

If each point is lighted in such a way and is positioned around the scene, then it has that true 3d quality to it.
__________________
http://www.darrylworley.com/

http://www.defendamerica.mil/nmam.html
Hidalgo is offline   Reply With Quote
Old 08-03-2003, 02:50 AM   #13
Oculus
Subscriber
 
Oculus's Avatar
 
Join Date: Oct 2002
Location: Murfreesboro, TN
Posts: 175
Thanks: 0
Thanked 0 Times in 0 Posts
Default

When I get back home to my computer, I'll try and remember to post a pic of my starfield. It actually looks real... it has various sizes of stars - some so faint and some that really stand out.

If you are viewing the stars from space, you don't want them to twinkle, because they only twinkle due to the Earth's atmosphere warping the light. In space, most of the stars (with an exeption of few) are static.

If your camera is going to be still, then you would probobly be better to paint a background in paint fx, but if you need the stars to move in the background, then make a sphere, flip the normals and apply some sort of texture to it.

I'll post a pic of my stars soon. =]
__________________
- Chris L. Harkins -
Oculus is offline   Reply With Quote
Old 08-03-2003, 04:19 PM   #14
Tolerate
Registered User
 
Join Date: Oct 2002
Location: Taunton, UK
Posts: 128
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I quickly made this up

supplying the scene file too, so you can see the expressions

Scene File

Tolerate is offline   Reply With Quote
Old 08-03-2003, 04:34 PM   #15
Hidalgo
Subscriber
 
Hidalgo's Avatar
 
Join Date: Dec 2002
Location: Idaho USA!!!
Posts: 492
Thanks: 0
Thanked 0 Times in 0 Posts
Default

It looks like you have a good number there. Can you create a more random variation in color brightness ,etc.

Thanks for the scene file. I'll load it up and see what I can do with it.

Meanwhile, here is a pic I did in Lightwave 7 about a year ago...it is the type of look I am trying to duplicate in Maya....
__________________
http://www.darrylworley.com/

http://www.defendamerica.mil/nmam.html
Hidalgo 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.