Convert Skybox jpg to cubemap

Hi,

I’m new to game development and I like your game engine alot. Thanks and keep up the good work!

I have a (simple) question:

I have a skybox jpg and want to use it as the texture for my skybox. So I think I have to make a cubemap from it.

How can I create a cubemap from this jpg?

Thanks
Jus

I know this is for unity, but the principle still applies:
http://docs.unity3d.com/Manual/class-Cubemap.html
Hope it helps :slight_smile:

Creating cubemaps is far from an arduous task and “how to’s” can be googled with rather good results.
IMO this is not really a problem tied to the engine itself (applying a cubemap might be, but not creating it).

Hi Jus,

In future we plan to add support for any type of texture for skybox source, so that you could directly use your jpg.
Unfortunately currently only cubemap textures are supported, so you need first to convert your jpg into a cubemap using an external tool.

1 Like

Thanks for your answer.

Can you recommend a tool?

Thanks
Jus

Hi xenux,
Skybox format jpg to cubemap supported now? When you import an image and placing it in cubemap nothing happens. what should I do? can you tell us more on how to add images to kubemap? in the documentation detailed solutions have not found…
Thanks

Hi @didzey,

Sorry for late answer. We updated our documentation.
You can find names of tools that allow you to do what you want to do under the “Cubemaps” section of the following page: http://doc.xenko.com/latest/manual/graphics/skyboxes.html

Best

1 Like

The skybox cubemap at the top of that page is pretty cool. Is it available in one of the demos or something? It’s a bit more interesting to look at then the default one.

It is not currently available but we are planning to release it at some point.

1 Like

After reading this article below I have a skybox image set that are in TGA format. So based off what I’m reading here can I not set the background to these TGA files and then make a DDS from the light menu screen? Will it not convert it to DDS for me to use in the game?

http://doc.xenko.com/latest/manual/graphics/skyboxes.html

If not then I could use the blender tutorial to do it?
https://www.youtube.com/watch?v=MSii7P0j420

The engine need stronger support for skyboxes/skydomes. It is not modern technique, no animations, no simulations, can’t see, where the problem is.

I’m sorry but I’m a bit confused can you tell me what you mean by not modern technique?

I am sorry, this is only mine opinion.
I think that full sky simulation with animated or even simulated particle clouds, atmospheric scattering on skydome - this are modern for me. In place of static skybox.

1 Like