Author Topic: Sky sphere creation tool  (Read 27362 times)

Laserrobotics

  • Robot Overlord
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3464
  • Beep boop everyone.
    • View Profile
    • Steam ID
Re: Sky sphere creation tool
« Reply #15 on: March 24, 2009, 12:19:37 pm »
This tool is awesome but why should it be needed in the first place? Why can't Audiosurf simply tile/mirror/resize the image by itself? The program is only 22.5KB so it can't be too hard to add - can it?

btw - well done fergtm.
Same reason a lot of the other add-ons haven't been added.  Dylan's currently working on other things right now, although eventually all these options may get added in.
Note to self:  1/24/12 Awawayabeft

Mincus

  • Hero Member
  • *****
  • Posts: 2394
    • View Profile
Re: Sky sphere creation tool
« Reply #16 on: March 24, 2009, 12:27:21 pm »
This tool is awesome but why should it be needed in the first place? Why can't Audiosurf simply tile/mirror/resize the image by itself? The program is only 22.5KB so it can't be too hard to add - can it?

btw - well done fergtm.

It's a game not an image editor. ;)

In all seriousness, writing a C# application to do this is easy, and the app will be small because you're relying on Microsoft libraries in .NET.
If you look at it in RAM whilst it's running, you'll note that even without an image loaded, from startup it's using 5MB. That's all the lovely .NET interpretation and libraries it uses loaded in. Nice, eh? ;)

Audiosurf is written using QuestViewer, assuming that can't do the necessary image editing then he'd probably need to write a custom C++ class to do it and unless he wants to spend several weeks writing image conversion routines he'd need to go track down a library for loading the textures into RAM. Then he'd need to write the code to do the transforming itself (either from scratch or using a library again).
And he hasn't even started on the in-game interface for doing all this yet.
It's a lot of work for a fringe feature and better left to the community to provide the tools.

Very nice fergtm. :)

Pyritie

  • Hero Member
  • *****
  • Posts: 810
    • View Profile
Re: Sky sphere creation tool
« Reply #17 on: March 24, 2009, 01:17:32 pm »
This tool is awesome but why should it be needed in the first place? Why can't Audiosurf simply tile/mirror/resize the image by itself? The program is only 22.5KB so it can't be too hard to add - can it?

btw - well done fergtm.
Same reason a lot of the other add-ons haven't been added.  Dylan's currently working on other things right now, although eventually all these options may get added in.
I wish we knew what those were. :<
http://pyritie.deviantart.com
not active here any more

fergtm

  • Full Member
  • ***
  • Posts: 167
    • View Profile
    • Steam ID
Re: Sky sphere creation tool
« Reply #18 on: March 24, 2009, 08:23:54 pm »
Cool tool, but... It don´t works. When I try to set a picture as a default sky sphere it only say "Audiosurf not found"... What should I do??


Greets

I've updated the program. Does it still gives you the error?


lavacano201014

  • Hero Member
  • *****
  • Posts: 1757
  • We're an underground revolution working overtime.
    • ICQ Messenger - 431938899
    • MSN Messenger - thatotherguy370@msn.com
    • AOL Instant Messenger - lavacano201014
    • Yahoo Instant Messenger - lavacano201014
    • View Profile
    • Email
Re: Sky sphere creation tool
« Reply #19 on: March 25, 2009, 02:52:44 pm »
Dude, it got stickied!

Green = listening, red = surfing

ace210493

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: Sky sphere creation tool
« Reply #20 on: March 31, 2009, 12:22:25 pm »
this is so awesome :)

ChayoteClock

  • Newbie
  • *
  • Posts: 6
    • View Profile
    • Email
Re: Sky sphere creation tool
« Reply #21 on: April 03, 2009, 01:58:36 pm »
So instead of resizing, mirroring and cropping an image to try to make a good sky sphere I decided to write this small tool. Simply load any file, select the most interesting area and the center of the image and it will do the rest.



It is written in C# so you will need the .NET framework 2.0 (or Windows Vista, Windows 7). If you want the source code just tell me.

Edit: I just updated the download:
  • Now it actually reads the custom sizes you type
  • Image borders can be blended so your sky sphere doesn't have visible seams
  • Can directly write the skysphere to Audiosurf's texture folder

Another update:
  • Added an option to mirror the image (selected by default, images with text should look correctly now)
  • Should find Audiosurf even if you installed steam outside of %ProgramFiles%



Umm...Stupid question, but WHERE is the download link?

ViRUS

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3156
    • MSN Messenger - newvirus@live.com.ar
    • View Profile
    • Email
Re: Sky sphere creation tool
« Reply #22 on: April 03, 2009, 02:03:21 pm »
It's attached, look under the first post but above mine ;)


ChayoteClock

  • Newbie
  • *
  • Posts: 6
    • View Profile
    • Email
Re: Sky sphere creation tool
« Reply #23 on: April 03, 2009, 02:04:49 pm »
It's attached, look under the first post but above mine ;)

Oh.
Thanks, but when I changed the image, everything on the audio surf menu is gone!
Is there any way to fix this?

ViRUS

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3156
    • MSN Messenger - newvirus@live.com.ar
    • View Profile
    • Email
Re: Sky sphere creation tool
« Reply #24 on: April 03, 2009, 02:06:31 pm »
huh? What do you mean by "is gone"? Could you post a pic please?


Wiener_Schnitzel

  • Jr. Member
  • **
  • Posts: 58
    • View Profile
    • Email
Re: Sky sphere creation tool
« Reply #25 on: April 03, 2009, 03:37:42 pm »
OMG the tool is greaaaat. Love it  ;D ;D Big THX! Perfect  ;)

ChayoteClock

  • Newbie
  • *
  • Posts: 6
    • View Profile
    • Email
Re: Sky sphere creation tool
« Reply #26 on: April 03, 2009, 05:37:16 pm »
What I mean is, when Audiosurf is finished downloading, the mode selecter is gone!
Nothing but a white background. 
Gonna try to reinstall it, thanks alot >:(
« Last Edit: April 03, 2009, 08:07:22 pm by ChayoteClock »

ChayoteClock

  • Newbie
  • *
  • Posts: 6
    • View Profile
    • Email
Re: Sky sphere creation tool
« Reply #27 on: April 04, 2009, 09:41:28 am »
Okay, got it working now.
Sorry for calling it garbage I was just angry rofl :)
« Last Edit: April 04, 2009, 11:01:03 am by ChayoteClock »

fergtm

  • Full Member
  • ***
  • Posts: 167
    • View Profile
    • Steam ID
Re: Sky sphere creation tool
« Reply #28 on: April 04, 2009, 10:54:42 am »
It just adds 3 files (Skysphere_White.png, Skysphere_Black.png, Skysphere_Grey.png) to this folder C:\Program Files\Steam\steamapps\common\audiosurf\engine\textures, to revert the changes just delete those 3 files use the reset buttons. The white menu may be caused by insufficient memory in your video card, try lowering the resolution.
« Last Edit: April 30, 2009, 08:01:32 am by fergtm »


fergtm

  • Full Member
  • ***
  • Posts: 167
    • View Profile
    • Steam ID
Re: Sky sphere creation tool
« Reply #29 on: April 30, 2009, 07:59:57 am »
I've just updated the program, please go to the first post to download it.