Custom complex skyboxes bug out Java?

    ImperialDonut

    Overlord of the North Pole
    Joined
    Apr 23, 2013
    Messages
    287
    Reaction score
    101
    So I was working on a few custom skyboxes today, attempting to replace the original 6 interlocking images with something a little more interesting and EVE-ey.

    First attempt was a crappy texture I plucked of the interwebz:

    https://dl.dropboxusercontent.com/u/12530493/First_posX.png

    Sort of low quality, but scaled up to 2048x2048, this didn't work however and threw me the following error:



    The insufficient buffer thing making me think that perhaps the images where just too big, so I opened them up with paintNET and saved them as lowest-quality 8-bit .png's.

    That did the trick and thinking I'd found the problem I slapped some markers on all the images to figure out the axes and went on my way to create a properly decent skybox:

    https://dl.dropboxusercontent.com/u/12530493/New_posx.png



    I mapped all the sides to the corresponding axes, and lo' and behold it didn't work. So I ran them through a lossless comressor and shaved each image down to about 1,5Mb, already less than my previous successfull attempt. That didn't work either and threw me the same error again, making me run it through another compressor to bring the png's down to about 500kb each, about the same as the original skybox.

    That didn't work either tho, so I'm guessing the complexity of the image has more to do with it than actual file size, making any remotely interesting skybox unusable unless scaled down to a horrendous quality.



    Here are both packs for comparison:

    https://dl.dropboxusercontent.com/u/12530493/Custom%20Skyboxes.rar



     

    schema

    Cat God
    Joined
    Feb 17, 2012
    Messages
    1,552
    Reaction score
    2,604
    • Schine
    Reason for this is probably a png format that is unsupported. Make sure you use RGBA channels (new version will support simple RGB too)



    (to find out what works, try to compare the images properties to the working skybox textures)
     

    ImperialDonut

    Overlord of the North Pole
    Joined
    Apr 23, 2013
    Messages
    287
    Reaction score
    101
    I added alpha to all the images and that did the trick!

    Time to make me some skybox packs.



    Thanks man!