Beer glass scene creation
This course contains a little bit of everything with modeling, UVing, texturing and dynamics in Maya, as well as compositing multilayered EXR's in Photoshop.
# 1 26-02-2004 , 03:23 AM
Registered User
Join Date: Jul 2003
Location: Bay Area, CA
Posts: 14

3D Background for Space Scene

Hi everyone, thanks for reading.

I'm doing a space scene with some ships, asteroids, maybe a planet or two - and I need a background.

From the book Learning Maya 5 - Foundation (a pretty good read if I may recommend) I've learned how to paint scenes with the great cosmos, galaxy, and star brushes Maya has.

So I started by painting a background, saving as an image, then mapping onto a plane to use as my background.

This looks great for rendering, but since I plan to have some dynamic camera movements, a flat 2D backdrop is not sufficient.

So I tried placing my 2D painted image on the inside of a Sphere, which looks a little better. It has a couple problems though, such as the top and bottom (north and south poles) being pinched.

Namely though, the whole thing seems to have lost its sense of depth. Since the image has been so stretched to cover the sphere surface, it's sharpness and artistic appeal is lost. And, as the camera moves, all the stars/planets move against it at the same pace. Maybe this is right, but somehow as an old Star Trek and Wing Commander fan, I feel the stars shouldn't be moving all together.

Any ideas on how I could make this look more correct/beautiful?
Maybe if I used a combination of the backdrop and some "real" sphere stars/planets?

Thanks in advance everyone - you're the best.

# 2 26-02-2004 , 03:28 AM
mtmckinley's Avatar
The Maya Mountain
Join Date: Aug 2002
Location: Seattle, WA
Posts: 8,245
Use multiple planes with transparancy maps to achieve a parallax affect.

# 3 26-02-2004 , 03:59 AM
Registered User
Join Date: Jul 2003
Location: Bay Area, CA
Posts: 14

clarification?

Thanks Mike, but, just to make sure I understand what you mean... that I should create multiple space images, and then map them onto multiple layered semi-transparent spheres? This would give my background some depth for moving camera shots.

I think I'll still run into problems with planets though. As in, they should be entirely non-transparent, with no stars in front of them, and nothing viewable through them of course.
If I put them on the backmost layer with no transparency, there's still a problem that a star could end up in front.

# 4 26-02-2004 , 04:27 AM
NitroLiq's Avatar
Moderator
Join Date: Nov 2002
Location: New York
Posts: 2,133
You don't even have to do that. Just use paintFX to paint a starfield directly in the perspective view and make sure you paint them at depth. I've done this and animated flythroughs before. Works great.

If you want to map your background on a sphere, just scale your sphere larger so you never encounter the areas that are pinched. Think about where your cameras are going to be placed and focus on those areas.


"Terminat Bora Diem, Terminal Auctor opus."
# 5 26-02-2004 , 03:44 PM
Registered User
Join Date: Jul 2003
Location: In the Caribbean
Posts: 193
Nitro:

Just start painting with no planes just on the grid?


If you can Imagine, Draw it, if you Draw it, Animate it, then it becomes a Masterpiece.....
# 6 26-02-2004 , 11:01 PM
Registered User
Join Date: Jul 2003
Location: Bay Area, CA
Posts: 14

Paint on Sphere?

Mike,

I tried your suggestion, and if I use 3-4 layered spheres I get enough variation in the star movement so that it looks very cool.

Granted I'm not sure if it's 100% realistic, but hopefully the foreground action will be distraction enough.

I still have to figure out some way to do planets so that stars aren't seen in front of or behind them. I apologize that I'm pretty uninformed when it comes to this painting and texturing stuff, but any ideas would help. Maybe a planet-only layer, where the rest is transparent? If that would work...how do I do it? user added image

Here's my big problem though...my painted 2D space background image is 640 x 480. The spheres that I map that on to are quite huge, as they need to be large enough so that the universe looks infinite. My issue is that, this 640x480 image is stretched to cover the large sphere, and is by far no longer crisp or even remotely attractive. The stars begin to look like marshmallows or cotton rather than sharp points of light.
So, I need a way to get around this image-stretching. My best guess for how to handle this is by painting directly onto the universe sphere. This means, I have to paint a lot more obviously, but then there would be no stretching.

Maybe I should just stick with 2d planes and restrict my shots to pan/dolly without rotations?

# 7 27-02-2004 , 01:19 AM
NitroLiq's Avatar
Moderator
Join Date: Nov 2002
Location: New York
Posts: 2,133
Yes, just paint in the perspective view without any planes. If you do a search in the help docs for "star" there's a small "how-to" on animating a starfield.

There are other ways of making starfields and if you search the forum for things like stars, starfield, or space, you'll find some methods (i.e., using/freezing particles to create the initial starfield or creating a shader using the leather material (edited).


"Terminat Bora Diem, Terminal Auctor opus."
# 8 27-02-2004 , 01:30 AM
Registered User
Join Date: Jul 2003
Location: Bay Area, CA
Posts: 14

incredible

well I'll be, there it was right in the Maya help docs all along.

Good to see some of the other ways people have tackled this type of animation as well.

Thanks Nitro, very solid.

# 9 27-02-2004 , 02:06 AM
mtmckinley's Avatar
The Maya Mountain
Join Date: Aug 2002
Location: Seattle, WA
Posts: 8,245
Another thing you might consider, although a bit of a hard way to do it, I suppose, is to create stars using particles. user added image I've seen it done before. lol

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