Maya 2020 fundamentals - modelling the real world
Get halfway through a model and find it's an unworkable mess? Can't add edge loops where you need them? Can't subdivide a mesh properly? If any of this sounds familiar check this course out.
# 1 04-03-2003 , 03:40 PM
shantanu11's Avatar
Registered User
Join Date: Mar 2003
Posts: 43

STARS

How do i create stars in maya. Other than the paint effect 2d one.

# 2 04-03-2003 , 04:19 PM
M's Avatar
Subscriber
Join Date: Jan 2003
Location: BC, Canada
Posts: 2,250
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 user added image.. 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.
# 3 05-03-2003 , 10:37 AM
Registered User
Join Date: Oct 2002
Location: Taunton, UK
Posts: 128
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

# 4 05-03-2003 , 08:23 PM
NitroLiq's Avatar
Moderator
Join Date: Nov 2002
Location: New York
Posts: 2,133
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."
# 5 05-03-2003 , 10:33 PM
Hidalgo's Avatar
Subscriber
Join Date: Dec 2002
Location: Idaho USA!!!
Posts: 492

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.


https://www.darrylworley.com/

https://www.defendamerica.mil/nmam.html
# 6 06-03-2003 , 08:16 AM
Registered User
Join Date: Oct 2002
Location: Taunton, UK
Posts: 128
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

# 7 06-03-2003 , 02:05 PM
NitroLiq's Avatar
Moderator
Join Date: Nov 2002
Location: New York
Posts: 2,133
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.
# 8 06-03-2003 , 03:38 PM
Hidalgo's Avatar
Subscriber
Join Date: Dec 2002
Location: Idaho USA!!!
Posts: 492
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!


https://www.darrylworley.com/

https://www.defendamerica.mil/nmam.html
# 9 07-03-2003 , 03:46 PM
Oculus's Avatar
Subscriber
Join Date: Oct 2002
Location: Murfreesboro, TN
Posts: 175
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 -
# 10 07-03-2003 , 07:48 PM
Hidalgo's Avatar
Subscriber
Join Date: Dec 2002
Location: Idaho USA!!!
Posts: 492
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!


https://www.darrylworley.com/

https://www.defendamerica.mil/nmam.html
# 11 07-03-2003 , 08:29 PM
NitroLiq's Avatar
Moderator
Join Date: Nov 2002
Location: New York
Posts: 2,133
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."
# 12 08-03-2003 , 12:00 AM
Hidalgo's Avatar
Subscriber
Join Date: Dec 2002
Location: Idaho USA!!!
Posts: 492
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.


https://www.darrylworley.com/

https://www.defendamerica.mil/nmam.html
# 13 08-03-2003 , 02:50 AM
Oculus's Avatar
Subscriber
Join Date: Oct 2002
Location: Murfreesboro, TN
Posts: 175
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 -
# 14 08-03-2003 , 04:19 PM
Registered User
Join Date: Oct 2002
Location: Taunton, UK
Posts: 128
I quickly made this up

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

Scene File

user added image

# 15 08-03-2003 , 04:34 PM
Hidalgo's Avatar
Subscriber
Join Date: Dec 2002
Location: Idaho USA!!!
Posts: 492
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....


https://www.darrylworley.com/

https://www.defendamerica.mil/nmam.html
Posting Rules Forum Rules
You may not post new threads | You may not post replies | You may not post attachments | You may not edit your posts | BB code is On | Smilies are On | [IMG] code is On | HTML code is Off

Similar Threads