Frictional Games Forum (read-only)

Full Version: Skybox with Gimp /solved\
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I will do this fast because I don't have much time. I downloaded a texture from cgtextures:
Medium 4096x683 (0.7MB)

Then I opened it with gimp like this:
Spoiler below!
[Image: gimpskybox.jpg]
Then I pasted each section of the sky into 512x512 picture as layers (sorry about the language in gimp)
Spoiler below!
[Image: gimpskybox2.jpg]
Then just change to .dds and it should work. Apparently I noticed a thing about level editors selection thing: you better change the name of the skybox file youre trying to get to show in there, because it doesn't seem to show ones with the same name.
I would very much like to know as well, I am having the same problem.
I'm not sure about paint.net, but for gimp, you can't simply download a jpg and convert it to a cubemap. A cubemap contains 6 different pictures, usually 6 jpgs, and you would have to put each one into your picture as a layer. Then you would have to (for gimp anyway) rename the layers to +x, -x, +y, -y, +z, and -z for it to be able to save as a cubemap. There's a template here for which x, y, and z goes where; http://www.waterpg.com/wordpress/wp-cont...folded.jpg

Once you rename the layers, simple save as dds; but when you do, the "Save:" part of the box will be available, and you select "Cubemap" to save as a cubemap. And done!
(05-15-2011, 03:33 PM)MrBigzy Wrote: [ -> ]I'm not sure about paint.net, but for gimp, you can't simply download a jpg and convert it to a cubemap. A cubemap contains 6 different pictures, usually 6 jpgs, and you would have to put each one into your picture as a layer. Then you would have to (for gimp anyway) rename the layers to +x, -x, +y, -y, +z, and -z for it to be able to save as a cubemap. There's a template here for which x, y, and z goes where; http://www.waterpg.com/wordpress/wp-cont...folded.jpg

Once you rename the layers, simple save as dds; but when you do, the "Save:" part of the box will be available, and you select "Cubemap" to save as a cubemap. And done!

Thanks! After a hour or two of tweaking I ended up with a perfect skybox \o/
If anyone wants to know how, just ask me.
(05-15-2011, 06:26 PM)Khyrpa Wrote: [ -> ]
(05-15-2011, 03:33 PM)MrBigzy Wrote: [ -> ]I'm not sure about paint.net, but for gimp, you can't simply download a jpg and convert it to a cubemap. A cubemap contains 6 different pictures, usually 6 jpgs, and you would have to put each one into your picture as a layer. Then you would have to (for gimp anyway) rename the layers to +x, -x, +y, -y, +z, and -z for it to be able to save as a cubemap. There's a template here for which x, y, and z goes where; http://www.waterpg.com/wordpress/wp-cont...folded.jpg

Once you rename the layers, simple save as dds; but when you do, the "Save:" part of the box will be available, and you select "Cubemap" to save as a cubemap. And done!

Thanks! After a hour or two of tweaking I ended up with a perfect skybox \o/
If anyone wants to know how, just ask me.

< This guy does. Big Grin
I'm pretty sure it'd help a lot of people Khyrpa Smile
Oh well perhaps... It will take a while though.
Also, this is what I used for skyboxes, as seems do the guys at Frictional Games.

http://developer.amd.com/archive/gpu/cub...fault.aspx
(05-15-2011, 03:16 PM)Khyrpa Wrote: [ -> ]I will do this fast because I don't have much time. I downloaded a texture from cgtextures:
Medium 4096x683 (0.7MB)

Then I opened it with gimp like this:
Spoiler below!
[Image: gimpskybox.jpg]
Then I pasted each section of the sky into 512x512 picture as layers (sorry about the language in gimp)
Spoiler below!
[Image: gimpskybox2.jpg]
Then just change to .dds and it should work. Apparently I noticed a thing about level editors selection thing: you better change the name of the skybox file youre trying to get to show in there, because it doesn't seem to show ones with the same name.

Never Mind, but how did you get them into pictures? They just go as regular layers that the picture goes away if I delete the Background picture.