Author Topic: Skyboxes  (Read 5692 times)

0 Members and 1 Guest are viewing this topic.

Offline Mobius

  • Back where he started
  • 213
  • Porto l'azzurro Dolce Stil Novo nella fantascienza
    • Skype
    • Twitter
    • The Lightblue Ribbon | Cultural Project
By "team" you mean IPAndrews?
The Lightblue Ribbon

Inferno: Nostos - Alliance
Series Resurrecta: {{FS Wiki Portal}} -  Gehenna's Gate - The Spirit of Ptah - Serendipity (WIP) - <REDACTED> (WIP)
FreeSpace Campaign Restoration Project
A tribute to FreeSpace in my book: Riflessioni dall'Infinito

 

Offline General Battuta

  • Poe's Law In Action
  • 214
  • i wonder when my postcount will exceed my iq
By "team" you mean IPAndrews?

Actually IPAndrews requested that the whole mod be taken down. I believe the team (for obvious reasons) rejected this but settled on the compromise that TBP assets cannot be used outside the mod without specific permission of the asset creator, which in many cases is or includes IPA.

 

Offline Dragon

  • Citation needed
  • 212
  • The sky is the limit.
Not that you'd like to use most of their assets anyway, their models are of inferior quality compared to most fan made stuff (not to mention buggy) and pretty much everything is replaceable.
Project Zatharas is going to work on improving and fixing some of TBP assets, thankfully they didn't forbid use of their stuff.

 

Offline Mobius

  • Back where he started
  • 213
  • Porto l'azzurro Dolce Stil Novo nella fantascienza
    • Skype
    • Twitter
    • The Lightblue Ribbon | Cultural Project
If it was IPAndrews who made that pic then I shouldn't have any problems getting the permission to use it. The method suggested by Herra Tohtori a few posts ago seems more interesting, though: it may be the case of giving it a try. :)
The Lightblue Ribbon

Inferno: Nostos - Alliance
Series Resurrecta: {{FS Wiki Portal}} -  Gehenna's Gate - The Spirit of Ptah - Serendipity (WIP) - <REDACTED> (WIP)
FreeSpace Campaign Restoration Project
A tribute to FreeSpace in my book: Riflessioni dall'Infinito

 

Offline General Battuta

  • Poe's Law In Action
  • 214
  • i wonder when my postcount will exceed my iq
If it was IPAndrews who made that pic then I shouldn't have any problems getting the permission to use it. The method suggested by Herra Tohtori a few posts ago seems more interesting, though: it may be the case of giving it a try. :)

Made what pic? We're discussing skyboxes.

If you're referring to the Earth skybox in Commander Zane's post, no, HerraTohtori made it, and I assume you are free to use it as all Blue Planet assets are generally up for grabs.

 

Offline Mobius

  • Back where he started
  • 213
  • Porto l'azzurro Dolce Stil Novo nella fantascienza
    • Skype
    • Twitter
    • The Lightblue Ribbon | Cultural Project
I got TBP's Earth, but not as a skybox texture: I tested it as an actual background bitmap. I don't know wheter or not the original was for a skybox, but... it shouldn't be that hard to pick up planet textures from skyboxes and turn them into bitmaps.
The Lightblue Ribbon

Inferno: Nostos - Alliance
Series Resurrecta: {{FS Wiki Portal}} -  Gehenna's Gate - The Spirit of Ptah - Serendipity (WIP) - <REDACTED> (WIP)
FreeSpace Campaign Restoration Project
A tribute to FreeSpace in my book: Riflessioni dall'Infinito

 

Offline Dragon

  • Citation needed
  • 212
  • The sky is the limit.
I've done this once, it worked quite well.
That could be usefull if you want to make a few missions which take place in one system, so you could use skybox for close ups and bitmap version of the planet when it needs to be visible in the background.

 

Offline Woolie Wool

  • 211
  • Fire main batteries
By "team" you mean IPAndrews?

Actually IPAndrews requested that the whole mod be taken down. I believe the team (for obvious reasons) rejected this but settled on the compromise that TBP assets cannot be used outside the mod without specific permission of the asset creator, which in many cases is or includes IPA.

Consider that I actually asked IPA before his meltdown for permission to use TBP assets in ToF, do I still get protection via grandfather clause?
16:46   Quanto   ****, a mosquito somehow managed to bite the side of my palm
16:46   Quanto   it itches like hell
16:46   Woolie   !8ball does Quanto have malaria
16:46   BotenAnna   Woolie: The outlook is good.
16:47   Quanto   D:

"did they use anesthetic when they removed your sense of humor or did you have to weep and struggle like a tiny baby"
--General Battuta

 

Offline General Battuta

  • Poe's Law In Action
  • 214
  • i wonder when my postcount will exceed my iq
I got TBP's Earth, but not as a skybox texture: I tested it as an actual background bitmap. I don't know wheter or not the original was for a skybox, but... it shouldn't be that hard to pick up planet textures from skyboxes and turn them into bitmaps.

If you can figure out who created it and get their permission, it shouldn't be a problem, so long as you're aware that that image is apparently really technically ****ed up.

 

Offline Dragon

  • Citation needed
  • 212
  • The sky is the limit.
Consider that I actually asked IPA before his meltdown for permission to use TBP assets in ToF, do I still get protection via grandfather clause?
I think that you should, he gave you a premission, so it shouldn't be a problem.
If he changes his mind, he can tell you about it, so if he didn't did it yet, you should be free to use those assets.

  

Offline Mobius

  • Back where he started
  • 213
  • Porto l'azzurro Dolce Stil Novo nella fantascienza
    • Skype
    • Twitter
    • The Lightblue Ribbon | Cultural Project
Yeah. Pretty much underlines why I'm not a big fan of planet skyboxes... they pose too many limits. :(
The Lightblue Ribbon

Inferno: Nostos - Alliance
Series Resurrecta: {{FS Wiki Portal}} -  Gehenna's Gate - The Spirit of Ptah - Serendipity (WIP) - <REDACTED> (WIP)
FreeSpace Campaign Restoration Project
A tribute to FreeSpace in my book: Riflessioni dall'Infinito

 

Offline General Battuta

  • Poe's Law In Action
  • 214
  • i wonder when my postcount will exceed my iq
Yeah. Pretty much underlines why I'm not a big fan of planet skyboxes... they pose too many limits. :(

I think you've got something backwards. The issues we're discussing here have to do with a badly made skybox (the TBP one) that is effectively a bitmap pasted on a plane.

Ideally all FS2 background bitmaps would be removed and replaced by skyboxes, as they can look and behave a lot better. The only disadvantage they have so far as I know is that they require more work to set up.

 

Offline The E

  • He's Ebeneezer Goode
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
And if you take into account the fact that skyboxes are better in terms of performance, there isn't really much to be said in favour of traditional background bitmaps.
If I'm just aching this can't go on
I came from chasing dreams to feel alone
There must be changes, miss to feel strong
I really need lifе to touch me
--Evergrey, Where August Mourns

 

Offline Dragon

  • Citation needed
  • 212
  • The sky is the limit.
You can move them around and rescale, which is a plus for me.

 

Offline Herra Tohtori

  • The Academic
  • 211
  • Bad command or file name
Yeah. Pretty much underlines why I'm not a big fan of planet skyboxes... they pose too many limits. :(


Skyboxes have no limitations. The imitate reality as closely as you make the 3D scene to be.

Background bitmap planets have exploits. They enable you to show egregiously falsified views of planets.

Let me elaborate:





Here is a planet as it is seen from four points (P1-P4). P1 is the furthest, P4 the closest point.

The apparent diameter of the planet varies depending on the distance.


As you draw tangents to the planet to determine the apparent diameter, you notice that the lines obviously also limit the area that is visible to the view point. Player in P1 is able to see nearly full hemisphere. The line crossing the area visible to P3 is about 1/3rd of the planet's circumference, for P2 it is one quarter of the circumference, and for P4, the line through the visible area is only about 1/8th of the planet's circumference.

Now if you consider that when you change the apparent diameter of a planet bitmap, you're doing nothing at all to change how much area of the planet's surface is visible. It's still a static image of the planet as seen from the original rendering distance.

Skyboxes automatically take care of this. Not so with re-scaleable planet bitmaps. This is my main issue with skyboxes that essentially take any high-resolution planet image available and just scale it to high apparent diameter in the game. Essentially it's like taking a photo of a car, resizing it and then saying that because the photo is larger it was taken from closer.

Now, regarding the seemingly insane texture resolutions, let's take a look at what sort of area of surface is visible in a single skybox render which has 90 degrees field of view:





The red area is the actual area visible in the "down" render which is the most critical one regarding texture stretching. It's easy to see from here that the visible area is only approximately 1/24th or so from the entire circumference of the planet from edge to edge.

Practically, this means if you have equatorial resolution of 21600 pixels in the texture, you will have 900 pixels to stretch from one edge to another. If you use 4096^2 resolution, that means the texture is stretched by factor of four. That's a rather heavy amount of blur you get to that texture there.

This is basically the reason why such large textures are needed and useful. For skyboxes where the planet is further from the player (and, subsequently, has lesser apparent radius) much smaller textures are sufficient.
There are three things that last forever: Abort, Retry, Fail - and the greatest of these is Fail.

 

Offline Woolie Wool

  • 211
  • Fire main batteries
I think the "limits" he's talking about are that skyboxes only work for a single scene. A planet bitmap sacrifices accuracy to allow you to reuse it for many different scenes. Most people will probably not notice anything wrong with them (except for distortion caused by FOV).
16:46   Quanto   ****, a mosquito somehow managed to bite the side of my palm
16:46   Quanto   it itches like hell
16:46   Woolie   !8ball does Quanto have malaria
16:46   BotenAnna   Woolie: The outlook is good.
16:47   Quanto   D:

"did they use anesthetic when they removed your sense of humor or did you have to weep and struggle like a tiny baby"
--General Battuta

 

Offline General Battuta

  • Poe's Law In Action
  • 214
  • i wonder when my postcount will exceed my iq
I think the "limits" he's talking about are that skyboxes only work for a single scene. A planet bitmap sacrifices accuracy to allow you to reuse it for many different scenes. Most people will probably not notice anything wrong with them (except for distortion caused by FOV).

Yeah but he's explaining why they're basically just faking it. You'd get a better result by just moving the camera and rendering a new skybox.

 

Offline Woolie Wool

  • 211
  • Fire main batteries
Not everyone has the skills or resources to do that.
16:46   Quanto   ****, a mosquito somehow managed to bite the side of my palm
16:46   Quanto   it itches like hell
16:46   Woolie   !8ball does Quanto have malaria
16:46   BotenAnna   Woolie: The outlook is good.
16:47   Quanto   D:

"did they use anesthetic when they removed your sense of humor or did you have to weep and struggle like a tiny baby"
--General Battuta

 

Offline Droid803

  • Trusted poster of legit stuff
  • 213
  • /人 ◕ ‿‿ ◕ 人\ Do you want to be a Magical Girl?
    • Skype
    • Steam
Nor the processing power to handle such huge textures.
(´・ω・`)
=============================================================

 

Offline FUBAR-BDHR

  • Self-Propelled Trouble Magnet
  • 212
  • Master Drunk
    • 165th Beer Drinking Hell Raisers
You cannot legally or morally use TBP assets outside of TBP. The team has forbidden it.

Actually you can if you can find out who actually made them.  In the case of the Earth Skybox I have an idea and if so then they can give permission.  I'll ask tonight if they are online.    The whole issue is he claimed everything and since there are no records of who did what unless the person that did it is around and gives permission we can't prove otherwise. 
No-one ever listens to Zathras. Quite mad, they say. It is good that Zathras does not mind. He's even grown to like it. Oh yes. -Zathras