Hi !
Featured games (87)
games approved by the League of Dukes
Games in Showcase (671)
Games in Android Showcase (194)
games submitted by our members
Games in WIP (727)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Starfield in jMonkey?  (Read 9816 times)
0 Members and 1 Guest are viewing this topic.
Offline Falken224

Senior Newbie

Ooooooh!  Look at the pretty Stars.

« Posted 2007-02-22 23:58:37 »

Just had a quick question about the best way to do a starfield in jMonkey.  Obviously, I'm planning on making a space combat / "space trader" type of game, and this is going to be an integral part of making the world look good.  I have a pretty good handle on moving the ships around, and dealing with very large, very far off objects, (planets, stars, etc.)  but the background . . . not quite so sure.

I've gone through the very basic tutorials on the site, but haven't really found a good way of doing it yet.  I tried playing with a SkyBox with quite unsatisfactory results, but I may not be using it correctly. 

Basically, I'm thinking that using a texture that's high enough resolution to look good is going to be hideously big, and I'm not really sure quite how to play nice with something like that.  I have SOME ideas, and could probably make it work, and I'm sure there's a "right way" to do this.  I just don't know what it is.

I've been impressed with jMonkey so far, and have a pretty good idea of how to tackle this project.  But this one thing . . . Grr . . . very frustrating.

Can anybody help, or even point me in the right direction?  I'd be greatly appreciative of any advice anybody could offer.

Thanks in advance,

Nate Nelson

 Brother Of Phil
Offline sunsett

Senior Devvie


« Reply #1 - Posted 2007-02-23 02:14:39 »

I am actually currently developing a space game myself and the way I'm currently handling the space environment is a modified version of this:

and I'm using a stars texture for my skybox and I have it locked to my camera's position so when I fly around the position stays locked but I can rotate around and I get the effect of looking around at stars.

BTW, our combat demo will be released within the next few can see our really lacking teaser site here:
Offline Falken224

Senior Newbie

Ooooooh!  Look at the pretty Stars.

« Reply #2 - Posted 2007-03-01 19:43:35 »

Hmm . . .

I mean star dust is okay.  I'm sure I'll want it when I get around to actually making this thing.

My problem is more the sky box itself.  I mean, I haven't put a TON of effort into it, but I really expected it to look a WEE bit better than what you might see if you hung a ship on a string inside a cardboard box that a donkey vomited into.     Roll Eyes

In any case, the quest continues.  I'm not sure what's wrong . . . too low-res images, I should be using something other than a skybox . . . something like that . . . who knows.
I'll get it figured out, I'm sure, I was just hoping for a bit of help to make it easier.

Thanks for the stardust though.

 Brother Of Phil
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline sunsett

Senior Devvie


« Reply #3 - Posted 2007-03-01 19:58:23 »

I'm just using the Skybox spatial inside of jME. Here's a screenshot:

You need to remember to turn off lighting effects for the skybox or it won't look very "backgroundish".

If you need more information I'd suggest going to the jME forums as an extremely small number of the users of jME ever visit this forum.
Offline appel

JGO Wizard

Medals: 73
Projects: 4

I always win!

« Reply #4 - Posted 2007-03-15 13:12:26 »

Interesting. I'm doing a space game myself and I have been wondering about this problem also. Gonna try that StarDust thingy.

Other idea I had was multiple skyboxes...layered. So you have far-distant stars, not-so-far stars and stars that are close. (or more layers). It might give some depth, but I haven't figured out how to make the skyboxes transparent so they don't hide the skybox in behind.

I was also thinking about particle effects... but, hm, there are many many stars Smiley needless to say, I think it's a overkill to have each star as a white triangle or something.

Also, I was thinking about animation.... stars do "blink"... doable with particle effects.... but also with a skybox that gets alternated.

Check out the 4K competition @
Check out GAMADU (my own site) @
Offline Kova

Senior Devvie

« Reply #5 - Posted 2007-03-26 12:03:37 »

jeez, we'll soon have a bunch of space games Smiley

Also, I was thinking about animation.... stars do "blink"... doable with particle effects.... but also with a skybox that gets alternated.

do they blink? Looking at them from Earth they can seem to blink due to light passing through atmosphere, but does that apply for space also?
Offline endolf

JGO Coder

Medals: 7
Exp: 15 years

Current project release date: sometime in 3003

« Reply #6 - Posted 2007-03-26 12:36:26 »

jeez, we'll soon have a bunch of space games Smiley

You can include me in the list too Smiley

Although mine has been on the go for 10 years using various techs, so don't expect anything to get completed Smiley

I went for the static star field to start with, the sorts of things you can never get too, I'm talking background stars rather than dust in space type stars that seem to be the topic here.

Mine is more of the space ship on a string inside a box a donkey vomited on though Smiley


Pages: [1]
  ignore  |  Print  
You cannot reply to this message, because it is very, very old.

IanParcs (37 views)
2016-04-18 14:18:53

KaiHH (37 views)
2016-04-18 08:35:41

KaiHH (68 views)
2016-04-15 12:43:58

theagentd (70 views)
2016-04-14 02:16:17

theagentd (78 views)
2016-04-14 02:15:43

IanParcs (94 views)
2016-04-12 03:51:16

IanParcs (38 views)
2016-04-12 03:50:03

IanParcs (34 views)
2016-04-12 03:49:54

IanParcs (31 views)
2016-04-12 03:49:52

IanParcs (39 views)
2016-04-12 03:49:52
Website offering 3D Models specifically for games for free
by vusman
2016-04-29 12:56:17

List of Learning Resources
by SilverTiger
2016-02-05 09:39:47

List of Learning Resources
by SilverTiger
2016-02-05 09:38:38

List of Learning Resources
by SilverTiger
2016-02-05 09:35:50

Rendering resources
by Roquen
2015-11-13 14:37:59

Rendering resources
by Roquen
2015-11-13 14:36:58

Math: Resources
by Roquen
2015-10-22 07:46:10

Networking Resources
by Roquen
2015-10-16 07:12:30 is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!