Author Topic: [Discovery] Skyboxes hate mipmaps  (Read 3233 times)

0 Members and 1 Guest are viewing this topic.

[Discovery] Skyboxes hate mipmaps
EDIT 2: FSO apparently hates mipmaps on skyboxes. Take a look at the screenshots of the Mars skybox, below.

Original problem (stripey skybox):
http://img175.imageshack.us/img175/5914/screen0021ai9.jpg
G:\Games\Freespace2\fs2_open_3_6_10-Xt_0314.exe -mod mediavps -spec -glow -env -mipmap -nomotiondebris -missile_lighting -snd_preload  -no_emissive_light -ambient_factor 0 -ogl_spec 80 -spec_exp 11 -spec_point 0.6 -spec_static 1.5 -spec_tube 0.6
« Last Edit: July 21, 2008, 11:00:44 pm by Gregster2k »

 

Offline Jeff Vader

  • The Back of the Hero!
  • 212
  • Bwahaha
Re: What if my skyboxes look like...
It means that the resolution of the skybox is kicking the crap out of your graphics card.
23:40 < achillion > EveningTea: ass
23:40 < achillion > wait no
23:40 < achillion > evilbagel: ass
23:40 < EveningTea > ?
23:40 < achillion > 2-letter tab complete failure

14:08 < achillion > there's too much talk of butts and dongs in here
14:08 < achillion > the level of discourse has really plummeted
14:08 < achillion > Let's talk about politics instead
14:08 <@The_E > butts and dongs are part of #hard-light's brand now
14:08 <@The_E > well
14:08 <@The_E > EvilBagel's brand, at least

01:06 < T-Rog > welp
01:07 < T-Rog > I've got to take some very strong antibiotics
01:07 < achillion > penis infection?
01:08 < T-Rog > Chlamydia
01:08 < achillion > O.o
01:09 < achillion > well
01:09 < achillion > I guess that happens
01:09 < T-Rog > at least it's curable
01:09 < achillion > yeah
01:10 < T-Rog > I take it you weren't actually expecting it to be a penis infection
01:10 < achillion > I was not

14:04 < achillion > Sometimes the way to simplify is to just have a habit and not think about it too much
14:05 < achillion > until stuff explodes
14:05 < achillion > then you start thinking about it

22:16 < T-Rog > I don't know how my gf would feel about Jewish conspiracy porn

15:41 <-INFO > EveningTea [[email protected]] has joined #hard-light
15:47 < EvilBagel> butt
15:51 < Achillion> yes
15:53 <-INFO > EveningTea [[email protected]] has quit [Quit: http://www.mibbit.com ajax IRC Client]

18:53 < Achillion> Dicks are fun

21:41 < MatthTheGeek> you can't spell assassin without two asses

20:05 < sigtau> i'm mining titcoins from now on

00:31 < oldlaptop> Drunken antisocial educated freezing hicks with good Internet == Finland stereotype

11:46 <-INFO > Kobrar [[email protected]] has joined #hard-light
11:50 < achtung> Surely you've heard of DVDA
11:50 < achtung> Double Vaginal Double ANal
11:51 < Kobrar> ...
11:51 <-INFO > Kobrar [[email protected]] has left #hard-light []

 
Re: What if my skyboxes look like...
But it's 128MB. Did the entire community start upscaling their skyboxes since the days of Omniscaper's Mars skybox?


edit: note to self, never again assume that just because herra's skybox is huge, that all skyboxes are similarly huge. whoops
« Last Edit: July 21, 2008, 03:07:56 pm by Gregster2k »

 

Offline Jeff Vader

  • The Back of the Hero!
  • 212
  • Bwahaha
Re: What if my skyboxes look like...
But it's 128MB.
:wtf: What is?

Have you played Cardinal Spear? The planets in it look exactly the same, and it's because Herra Tohtori fancies crispy, ****ing huge resolution textures. This is obviously that skybox he released a while back and I do seem to remember that there was a lower-resolution .dds for the skybox texture included as well.
23:40 < achillion > EveningTea: ass
23:40 < achillion > wait no
23:40 < achillion > evilbagel: ass
23:40 < EveningTea > ?
23:40 < achillion > 2-letter tab complete failure

14:08 < achillion > there's too much talk of butts and dongs in here
14:08 < achillion > the level of discourse has really plummeted
14:08 < achillion > Let's talk about politics instead
14:08 <@The_E > butts and dongs are part of #hard-light's brand now
14:08 <@The_E > well
14:08 <@The_E > EvilBagel's brand, at least

01:06 < T-Rog > welp
01:07 < T-Rog > I've got to take some very strong antibiotics
01:07 < achillion > penis infection?
01:08 < T-Rog > Chlamydia
01:08 < achillion > O.o
01:09 < achillion > well
01:09 < achillion > I guess that happens
01:09 < T-Rog > at least it's curable
01:09 < achillion > yeah
01:10 < T-Rog > I take it you weren't actually expecting it to be a penis infection
01:10 < achillion > I was not

14:04 < achillion > Sometimes the way to simplify is to just have a habit and not think about it too much
14:05 < achillion > until stuff explodes
14:05 < achillion > then you start thinking about it

22:16 < T-Rog > I don't know how my gf would feel about Jewish conspiracy porn

15:41 <-INFO > EveningTea [[email protected]] has joined #hard-light
15:47 < EvilBagel> butt
15:51 < Achillion> yes
15:53 <-INFO > EveningTea [[email protected]] has quit [Quit: http://www.mibbit.com ajax IRC Client]

18:53 < Achillion> Dicks are fun

21:41 < MatthTheGeek> you can't spell assassin without two asses

20:05 < sigtau> i'm mining titcoins from now on

00:31 < oldlaptop> Drunken antisocial educated freezing hicks with good Internet == Finland stereotype

11:46 <-INFO > Kobrar [[email protected]] has joined #hard-light
11:50 < achtung> Surely you've heard of DVDA
11:50 < achtung> Double Vaginal Double ANal
11:51 < Kobrar> ...
11:51 <-INFO > Kobrar [[email protected]] has left #hard-light []

 
Re: What if my skyboxes look like...
But it's 128MB.
:wtf: What is?

Have you played Cardinal Spear? The planets in it look exactly the same, and it's because Herra Tohtori fancies crispy, ****ing huge resolution textures. This is obviously that skybox he released a while back and I do seem to remember that there was a lower-resolution .dds for the skybox texture included as well.

The video card is 128MB. I did play Cardinal Spear and the planets looked fine. >.> Usually I leave everything on high-res anyway, generally my card never runs into this problem. I didn't even check how big this texture actually is. *checks* 4096x2048?..............

Okay, okay, I give up, I'll use the smaller one. XD Isn't it possible to put mipmaps on these things anyway? So that the card will use the smaller one if it cant use the big one? Maybe I'm giving my video card too much credit...

 

Offline Jeff Vader

  • The Back of the Hero!
  • 212
  • Bwahaha
Re: What if my skyboxes look like...
The video card is 128MB.
So has 128mb of memory. That doesn't matter. Mine has 256, plus the possible dreaded HypermemoryTM. And still the higher-resolution skybox texture looks like that. As well as the original planet textures on Cardinal Spear. Which originally inspired me to resize them and provide to those who were also graphically challenged. And all was well again.
23:40 < achillion > EveningTea: ass
23:40 < achillion > wait no
23:40 < achillion > evilbagel: ass
23:40 < EveningTea > ?
23:40 < achillion > 2-letter tab complete failure

14:08 < achillion > there's too much talk of butts and dongs in here
14:08 < achillion > the level of discourse has really plummeted
14:08 < achillion > Let's talk about politics instead
14:08 <@The_E > butts and dongs are part of #hard-light's brand now
14:08 <@The_E > well
14:08 <@The_E > EvilBagel's brand, at least

01:06 < T-Rog > welp
01:07 < T-Rog > I've got to take some very strong antibiotics
01:07 < achillion > penis infection?
01:08 < T-Rog > Chlamydia
01:08 < achillion > O.o
01:09 < achillion > well
01:09 < achillion > I guess that happens
01:09 < T-Rog > at least it's curable
01:09 < achillion > yeah
01:10 < T-Rog > I take it you weren't actually expecting it to be a penis infection
01:10 < achillion > I was not

14:04 < achillion > Sometimes the way to simplify is to just have a habit and not think about it too much
14:05 < achillion > until stuff explodes
14:05 < achillion > then you start thinking about it

22:16 < T-Rog > I don't know how my gf would feel about Jewish conspiracy porn

15:41 <-INFO > EveningTea [[email protected]] has joined #hard-light
15:47 < EvilBagel> butt
15:51 < Achillion> yes
15:53 <-INFO > EveningTea [[email protected]] has quit [Quit: http://www.mibbit.com ajax IRC Client]

18:53 < Achillion> Dicks are fun

21:41 < MatthTheGeek> you can't spell assassin without two asses

20:05 < sigtau> i'm mining titcoins from now on

00:31 < oldlaptop> Drunken antisocial educated freezing hicks with good Internet == Finland stereotype

11:46 <-INFO > Kobrar [[email protected]] has joined #hard-light
11:50 < achtung> Surely you've heard of DVDA
11:50 < achtung> Double Vaginal Double ANal
11:51 < Kobrar> ...
11:51 <-INFO > Kobrar [[email protected]] has left #hard-light []

 
Re: What if my skyboxes look like...
The video card is 128MB.
So has 128mb of memory. That doesn't matter. Mine has 256, plus the possible dreaded HypermemoryTM. And still the higher-resolution skybox texture looks like that. As well as the original planet textures on Cardinal Spear. Which originally inspired me to resize them and provide to those who were also graphically challenged. And all was well again.
Well this is good to know, at least now I know what the hell to do if the skybox looks weird -- edit it myself. Heh. I noticed something, though. Omni's Earth and Mars skyboxes have mipmaps - Terra's test box doesn't.

 
Re: [solved] What if my skyboxes look like...
It's not over yet...  ;7


Notice the "seam", and the ""sideways" stars?


The Mars Skybox speaks for itself. Shame it's not a deliberate motion blur effect.
« Last Edit: July 21, 2008, 11:05:22 am by Gregster2k »

 

Offline ShadowGorrath

  • Not funny or clever
  • 211
Re: [Remix] Skybox doubling effect?
I had the same problem with this Mars skybox. But the nebula skybox is all fine even with the highest resolution version ( the planets in Cardinal Spear aren't though ), even though my vid card sucks.

 
Re: [Remix] Skybox doubling effect?
I had the same problem with this Mars skybox. But the nebula skybox is all fine even with the highest resolution version ( the planets in Cardinal Spear aren't though ), even though my vid card sucks.
Hmm. What about the top screenshot -- the blue one? It seems to have doubled stars too. I don't think it's supposed to look like that...is it? Can you throw a few screenshots my way of what it looks like on your end, with the low res version of the DDS? I want to make absolutely sure whether it is the skybox or not...

 

Offline ShadowGorrath

  • Not funny or clever
  • 211
Re: [Remix] Skybox doubling effect?
It's the skybox actually. Just tested myself and saw the same double-staring as in your pictures.

And a reason on why not to trust my PC- it can't view the large texture anymore.

 

Offline Herra Tohtori

  • The Academic
  • 211
  • Bad command or file name
Re: [Remix] Skybox doubling effect?
Well crud. I don't see any double stars, but it seems that the low-res version of the texture has escaped the quality assurance department with that ugly visible seam. Higher resolution doesn't seem to suffer from it, but apparently the low-res map was too low on my priorities to check for that one last time... :blah:

I'll see what can be done about it, but don't hold your breath...

Also, about double starring - you could try not to use the starfield0001 texture provided with the skybox, it is - again as Lobo said - mostly unnecessarily big and actualyl can cause some shimmering with low anti-aliasing settings, but I like it because it basically allows me to use smaller fields of view if I so desire without lowering the resolution of the visible starfield... and it has mildly coloured stars. However, as it is 4096x4096 sized, it will also cause problems with cards incapable of handling textures of that size. Just re-name the file (which disables it and instead uses the starfield0001 texture in MediaVP's) or remove it from the mod directory altogether.
There are three things that last forever: Abort, Retry, Fail - and the greatest of these is Fail.

 
Re: Conclusion - FSO hates mip-mapped skyboxes?
Removing the starfield DDS did the trick. It's not like I'm using your skybox for anything other than testing skybox functionality, so don't worry too much about the seam. I just wanted to ensure that this was strictly related to individual skyboxes and not the actual SCP. I have a theory as to why the Mars Skybox looks strange, actually. SCP team might be interested (or not):

I have reason to believe that the SCP is actually rendering all the Mars Skybox mipmaps simultaneously over one another. I know that sounds silly but it's the only thing I can think of. I'll run two tests, one with mipmapping command line option disabled, and another with a modified Mars DDS that does not have mipmaps in it. If I'm right, then maybe it's a bon a fide SCP bug --- unless skyboxes aren't supposed to have mipmaps.

EDIT:
Test 1 (mipmapping command line disabled): No effect.
Test 2 (Mars DDS stripped of mipmaps): Testing................Success



Well, there you have it. It seems FSO hates skyboxes with mipmaps. Notice how much darker the skybox now is. I used DXT5 compression, not sure if that's the correct one, but what the hell. It works. Texture is 2048x2048.
« Last Edit: July 21, 2008, 03:05:25 pm by Gregster2k »

 

Offline phreak

  • Gun Phreak
  • 211
  • -1
Re: [Discovery] Skyboxes hate mipmaps!
If you would like to make your media available, it would help us fix it.
Offically approved by Ebola Virus Man :wtf:
phreakscp - gtalk
phreak317#7583 - discord

 
Re: [Discovery] Skyboxes hate mipmaps!
If you would like to make your media available, it would help us fix it.

Well I'm just using Omni's skybox from http://www.penguinbomb.com/omniscaper/EarthMarsSB.rar
All I did was I removed the mipmaps from the mars box to fix it. I presume you want the original and not the fixed one, but if you want fixed no-mipmaps one for easy comparison, here. http://www.megaupload.com/?d=JCSWAQS8