Frictional Games Forum (read-only)
Skybox with Gimp /solved\ - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods (https://www.frictionalgames.com/forum/forum-35.html)
+--- Thread: Skybox with Gimp /solved\ (/thread-8013.html)



Skybox with Gimp /solved\ - Khyrpa - 05-15-2011

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.


RE: Skybox with Gimp/Paint.net - Anxt - 05-15-2011

I would very much like to know as well, I am having the same problem.


RE: Skybox with Gimp/Paint.net - MrBigzy - 05-15-2011

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-content/uploads/2009/08/cube_map_unfolded.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!


RE: Skybox with Gimp/Paint.net - Khyrpa - 05-15-2011

(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-content/uploads/2009/08/cube_map_unfolded.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.


RE: Skybox with Gimp/Paint.net - Anxt - 05-15-2011

(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-content/uploads/2009/08/cube_map_unfolded.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


RE: Skybox with Gimp/Paint.net - Roenlond - 05-15-2011

I'm pretty sure it'd help a lot of people Khyrpa Smile


RE: Skybox with Gimp/Paint.net - Khyrpa - 05-15-2011

Oh well perhaps... It will take a while though.


RE: Skybox with Gimp/Paint.net - Russ Money - 05-15-2011

Also, this is what I used for skyboxes, as seems do the guys at Frictional Games.

http://developer.amd.com/archive/gpu/cubemapgen/pages/default.aspx


RE: Skybox with Gimp /solved\ - RawkBandMan - 05-23-2011

(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.