Author Topic: Starfields  (Read 3073 times)

0 Members and 1 Guest are viewing this topic.

Offline Lynx

  • 211
Would it be possible to up the background star limit to 4000-6000, with 3-5 diiferent brightness stages for the stars? I always felt that background nebulas were overused in almost every space sim, with Freespace2 beeing a prime example. I'd like to make sci-fi movie style missions with vast starfields and dim background nebulas as you see in some sci-fi movies or real life.
As far as I know, the stars  are quite cpu-intensive to render, but it would be handled the same adjustable way as now, and newer hardwar would have no problem with it. And don't tell me that 6000 stars is too much, because in a dark clear night you can see 5000-7000 stars in the sky, and that's just one half of the sky.;7
Give a man fire and he'll be warm for a day, but set fire to him and he'll be warm for the rest of his life.

 

Offline Flipside

  • əp!sd!l£
  • 212
Well, a lot of these gorgeous backgrounds in Sci-Fi are actually images mapped onto a sphere. Very very very high resoution images.

I'm not sure Freespace would get on too well with a big sphere POF around the play area with an enormous texture on it, but it would probably lack something.

A far better idea is to wait till Bobb can find time to get those animated backgrounds working, and then bug the SCP team for a more compressed form of ANI file :D

Flipside :)

 

Offline IceFire

  • GTVI Section 3
  • 212
    • http://www.3dap.com/hlp/hosted/ce
Actually....FS's starfields are mapped onto a sphere.  Or a box...I forget which.  But I know Dark was playing with them at one point.
- IceFire
BlackWater Ops, Cold Element
"Burn the land, boil the sea, you can't take the sky from me..."

 

Offline Flipside

  • əp!sd!l£
  • 212
Hmmmmm... if it generates an image, it would make sense, better than tracking hundreds of the individually.
IF that is the case, I suppose things are only theoretically limited by the motion blur?

Flipside :D

 

Offline Sticks

  • 29
Actually, from what I can tell, the stars are projected into a spheroid space which is used to determine where the location of the star on-screen was, and where it is now.

The problem with the way FS does the motion blurring is that for every single star it has to call a function to draw a line between where the star was and where it is, as well as antialias that line. That's about 2000+ calls of that function alone per frame.

I've been working on a better system, but so far, no luck.
"Napalm is good as a quickfire solution, literally..." -- cngn

"Shh... [Kazan's] schizophrenia allows him to multitask." -- Goober5000

Why am I still coding at 12:35am?

SCP: Templum sanctus ingeniosus

 
In real life all stars have diffrent magnitude and color. Would be real nice eyecandy if fs2_open could have this too.

check out Celestia (http://www.shatters.net/celestia/), space is beatifull :D
When will I learn?  The answer to life's problems aren't at the bottom of a bottle, they're on TV! -- Homer,  "There's No Disgrace Like Home''
I sometimes find myself here on this forum, late at night constantly pressing "Reload" over and over again

 

Offline TopAce

  • Stalwart contributor
  • 212
  • FREDder, FSWiki editor, and tester
Quote
Originally posted by IceFire
....FS's starfields are mapped onto a sphere.  Or a box...


That's a sphere. Take an example as how you can make backgrounds in FRED with the SHIFT-I window.

But the beloved SCPers can increase the maximum number of stars, can't they? If they could increase the maximal number of polygons per model, or maximal number of multi-part turrets and so on, they can surely do this slight number increase.
My community contributions - Get my campaigns from here.

I already announced my retirement twice, yet here I am. If I bring up that topic again, don't believe a word.

 

Offline Flipside

  • əp!sd!l£
  • 212
That's sounds like an incredibly CPU intensive way of doing a starfield just to get motion blur!
Good luck with upgrading it Sticks, and if you get the chance, it would be great if you could add one or two of the features suggested here (variable colour/brightness etc).

Flipside :D

 

Offline Fineus

  • ...But you *have* heard of me.
  • Administrator
  • 212
    • Hard Light Productions
I suppose this is a hell of a long shot but would it be possible to do it by some particle generation process? I'm thinking of some end result in a similar sence to Star Trek 2s star fields at the end of the film - the part where Spock is delivering the closing lines - the camera pans round a star field and as it does so the stars blur. I believe the effect was generated by lots of little fibreoptics on black velvet that the camera panned around.

Either way, it looked pretty neat - I think particle effects could do the same. Granted I've no idea how hard this would be to achieve but in theory you could have complete control over the brightness, color and size of each particle - allowing for 3D suns and so on actually in game as opposed to textures on the inside of the sphere. These would obviously be so far off that you could never reach them but still the effect would be the same.

Possible? Or am I being silly :)

 
3D stars seams a bit overkill, dosn't it?
When will I learn?  The answer to life's problems aren't at the bottom of a bottle, they're on TV! -- Homer,  "There's No Disgrace Like Home''
I sometimes find myself here on this forum, late at night constantly pressing "Reload" over and over again

 

Offline Taristin

  • Snipes
  • 213
  • BlueScalie
    • Skelkwank Shipyards
Quote
Originally posted by Kalfireth
Or am I being silly :)


Always.

But maybe to your post?
Freelance Modeler | Amateur Artist

 

Offline Ace

  • Truth of Babel
  • 212
    • http://www.lordofrigel.com
Quote
Originally posted by IceFire
Actually....FS's starfields are mapped onto a sphere.  Or a box...I forget which.  But I know Dark was playing with them at one point.


It's a sphere.
Ace
Self-plagiarism is style.
-Alfred Hitchcock

 

Offline Hippo

  • Darth water-horse
  • 211
  • Grazing.
    • All Hands to War
I already found a solution for the lack of stars problem... Give me a minute to find it, and someone to upload it since Sectorgame is down, and i'll release it to the public.
VBB Survivor -- 387 Posts -- July 3 2001 - April 12 2002
VWBB Survivor -- 100 Posts -- July 10 2002 - July 10 2004

AHTW

 

Offline Taristin

  • Snipes
  • 213
  • BlueScalie
    • Skelkwank Shipyards
*raises hand* FTP access to Telefragged. Hardly ever down. :)
Freelance Modeler | Amateur Artist

 

Offline Hippo

  • Darth water-horse
  • 211
  • Grazing.
    • All Hands to War
Quote
Originally posted by Raa Tor'h
*raises hand* FTP access to Telefragged. Hardly ever down. :)


If i email it to you, will you post it? I'll need your email... PM me...
VBB Survivor -- 387 Posts -- July 3 2001 - April 12 2002
VWBB Survivor -- 100 Posts -- July 10 2002 - July 10 2004

AHTW

 
Flying around in this kind of space would be cool.

Images are 100 - 150 KB.
Backdrop with Fuzzy Points
Backdrop with Point
Backdrop with Scaled Disces
When will I learn?  The answer to life's problems aren't at the bottom of a bottle, they're on TV! -- Homer,  "There's No Disgrace Like Home''
I sometimes find myself here on this forum, late at night constantly pressing "Reload" over and over again

 

Offline mikhael

  • Back to skool
  • 211
  • Fnord!
    • http://www.google.com/search?q=404error.com
Allow me to direct you to the very simple, very effective, very CPU-cheap Independence War 2 method of doing starfields. Go grab the demo, play it, be awed by its the simplicity of the system and the resulting beauty.
« Last Edit: August 26, 2003, 10:31:21 pm by 440 »
[I am not really here. This post is entirely a figment of your imagination.]

  

Offline Hippo

  • Darth water-horse
  • 211
  • Grazing.
    • All Hands to War
I uploaded it though freewebs, and its HERE... (right click, save-as)

You will need to put it into wherever the nebula backrounds may go in FS_Open... And make a table entry, and then just use any backround randomizer, or manually place it wherever you want more stars... (NOTE; I made it for FS1, before i realized it wouldn't be insertable... So i don't know where you would put it since i have been with FS1 more then FS2)

This is public release, but f you use it in a campaign, please give me credit.
VBB Survivor -- 387 Posts -- July 3 2001 - April 12 2002
VWBB Survivor -- 100 Posts -- July 10 2002 - July 10 2004

AHTW