Author Topic: HowTo: Custom Sky Sphere Textures  (Read 71990 times)

Dylan

  • Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 1532
    • View Profile
    • Audiosurf
    • Email
HowTo: Custom Sky Sphere Textures
« on: March 19, 2009, 09:35:07 am »
Audiosurf now supports custom textures for sky spheres!  Your textures go in Steam\steamapps\common\audiosurf\engine\textures and you can have three of them:

Skysphere_White.png
Skysphere_Black.png
Skysphere_Grey.png

If present, each on will be used as a sky sphere for the corresponding background color (white is the default for Casual, black is the default for Pro, and grey is the default for Elite).  Each texture can be any resolution your GPU supports.  2048x1024 is probably a good choice, but choose something smaller like 512x512 if your computer isn't speedy.

There's an example sky sphere texture here:
http://www.bestgameever.com/images/Skysphere_Black.png
« Last Edit: March 19, 2009, 07:28:34 pm by Dylan »

JakeB

  • Newbie
  • *
  • Posts: 14
    • View Profile
Re: HowTo: Custom Sky Sphere Textures
« Reply #1 on: March 19, 2009, 08:30:18 pm »
I love you.

Lavos^

  • Hero Member
  • *****
  • Posts: 2253
    • View Profile
    • Email
Re: HowTo: Custom Sky Sphere Textures
« Reply #2 on: March 19, 2009, 10:45:07 pm »
I love you.

Don't we all. xD

I've got some awesome wallpapers which would work great with this. Testing time go!

EDIT: They seem to be rendered incorrectly, it only displays a very small and pixelated part of the image. I've attached 2 pics, first is the actual image I'm using, second is how it is in AS. Same for every pic.
« Last Edit: March 19, 2009, 11:22:49 pm by Lavos^ »

Psamathos

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: HowTo: Custom Sky Sphere Textures
« Reply #3 on: March 19, 2009, 10:53:53 pm »
Wow, this is very cool. It's amazing how much nicer this makes the game look.

Gamergull

  • Jr. Member
  • **
  • Posts: 62
  • Cool Canadian
    • View Profile
    • Email
Re: HowTo: Custom Sky Sphere Textures
« Reply #4 on: March 20, 2009, 12:10:29 am »
I played around with this and noticed:

-the image is mirrored (nothing big)
-the area visible is about 1/3 of the image (attachment shows how much)

After a few edits, I got my custom backgrounds to work quite nicely. Try surfing with a blue background. It feels uplifting ^_^ .

Dylan

  • Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 1532
    • View Profile
    • Audiosurf
    • Email
Re: HowTo: Custom Sky Sphere Textures
« Reply #5 on: March 20, 2009, 01:20:53 am »
Try holding middle click to move the camera around and get a better idea of how the PNG is mapped onto the sphere.

To use a wallpaper like that Lavos, you'll need to find a way to make it tile sideways.  Try this one out - it looks good.  Maybe the black bars should be edited out, but it doesn't really matter since the camera won't look high or low enough to see them during normal play.

Lavos^

  • Hero Member
  • *****
  • Posts: 2253
    • View Profile
    • Email
Re: HowTo: Custom Sky Sphere Textures
« Reply #6 on: March 20, 2009, 01:44:51 am »
Well, now it looks like this, like I've got 2 big boobs in the middle of the screen lol.

Still only shows a very tiny portion of the image, I don't really see any different between like, 512x512 resolution and 1920x1200 or bigger resolutions. I tried 8192x8192 res, which is the max my cards support, but AudioSurf doesn't display them, I just get a blank white background, and I get like 1 frame every 3/4 seconds lol.
« Last Edit: March 20, 2009, 01:54:27 am by Lavos^ »

Camtron47

  • Full Member
  • ***
  • Posts: 111
    • View Profile
    • Email
Re: HowTo: Custom Sky Sphere Textures
« Reply #7 on: March 20, 2009, 03:14:55 am »
This is an awsome feature. I didn't think Audiosurf could get any prettier. I guess I was wrong.

It seems when you use any normal picture the two side edges are joined together in front of you. EDIT: I think if Audiosurf aligned the image so the centre was in front of you there would be no need to tile the image. This would look much better too.

I've attached an example that I made up. It looks great with the grey track.
« Last Edit: March 20, 2009, 04:04:36 am by Camtron47 »

Swertmastra

  • Newbie
  • *
  • Posts: 5
    • View Profile
    • BIONICLEsector01
Re: HowTo: Custom Sky Sphere Textures
« Reply #8 on: March 20, 2009, 04:01:39 am »
So, I actually signed up just to comment on this feature. Hopefully it won't be the last thing I'd need to comment on.

Anyway, I think this is a nifty little feature, but some improvements could be made. For example, I think the seam should be behind you when you begin, not in front, that way you don't have to self-adjust the texture to look proper when you start it up. Another thing is to readd the lines that appear during normal gameplay without a texture over said texture. Not sure why they got removed, but they're always one of my favorite parts of the game, since it gives me an idea of where to go.

Also, I tried with a panorama display of Seattle earlier as well, and that looked pretty awesome going downhill towards the streets below. I think you guys could benefit from getting professional panoramas made up in the right size and just releasing those. The reason I say getting them made up is the Wikipedia image doesn't exactly loop properly, so you'd need to look at getting one that does. The added bonus of panorama is they'd display on the sphere perfectly.

And any chances of having animated GIF support added? It'd be fun to look at, even if it'd potentially crash any and all computers that use it.

Desse

  • Full Member
  • ***
  • Posts: 148
    • View Profile
    • www.destros-world.de
Re: HowTo: Custom Sky Sphere Textures
« Reply #9 on: March 20, 2009, 07:35:27 am »
man, awesome
that's what i'm waiting for  ;D

scalindor

  • Jr. Member
  • **
  • Posts: 93
  • Endless
    • View Profile
    • Steam ID
Re: HowTo: Custom Sky Sphere Textures
« Reply #10 on: March 20, 2009, 10:43:16 am »
Good job dylan! ^^ i'm waiting for it...

I suppose, that anyone can do his own sky to audiosurf in png format?
and the last question, jpeg too? or only png?

Thx for everything... ;D
see ya!

===========

Devil_Spawn

  • Hero Member
  • *****
  • Posts: 894
  • Not Devil_Awesome, Devil_0wns, Devil_TheGreatest..
    • View Profile
    • Email
Re: HowTo: Custom Sky Sphere Textures
« Reply #11 on: March 20, 2009, 11:00:44 am »
@dylan,lavos:

you didnt use the right texture size. resizing to 2048x1024 gave this:

Passerby

  • Hero Member
  • *****
  • Posts: 1597
    • View Profile
Re: HowTo: Custom Sky Sphere Textures
« Reply #12 on: March 20, 2009, 11:05:01 am »
these are for compiz - fusion but i believe most of them will work for audio-surf as they are motleys panoramic images.

http://www.compiz-themes.org/index.php?xsortmode=down&page=0&xcontentmode=6110


charlieh

  • Jr. Member
  • **
  • Posts: 59
    • View Profile
Re: HowTo: Custom Sky Sphere Textures
« Reply #13 on: March 20, 2009, 11:56:30 am »
This is tasty

jez

  • Newbie
  • *
  • Posts: 49
    • View Profile
Re: HowTo: Custom Sky Sphere Textures
« Reply #14 on: March 20, 2009, 12:20:25 pm »
these are for compiz - fusion but i believe most of them will work for audio-surf as they are motleys panoramic images.

http://www.compiz-themes.org/index.php?xsortmode=down&page=0&xcontentmode=6110



Wow! Panoramas seem to work GREAT. Just tried the "Nebulae" and my jaw dropped. BUT it seems to hit performance quite a lot. The resolution for that was 4096x2048 and I have GeForce 9800 GX2. The game ran much slower than usual.