jCubemapAssembler: Combine 6 textures into a single cubemap and export as DDS

https://cdn.mediacru.sh/y/y3mgPVn47ISb.png

Few days ago I was looking for a software, like the “AMD CubeMapGen” but compatible with linux, for creating a single texture from the separated pictures of each side of the cubemap.
I found that you can do something with gimp, but it isn’t as easy as it should be. So I wrote one.
It can export dds images but it doesn’t support compression yet.
Hope that someone could find it useful. Links below.

Download: http://goo.gl/pTcqaN
Readme: JCubemapAssembler/README.md at master · riccardobl/JCubemapAssembler · GitHub
Repo: GitHub - riccardobl/JCubemapAssembler: JCubemapAssembler is a java application that can be used to assemble six separate face images into a single cubemap and export it as a dds file.

3 Likes

Nifty. Thanks for sharing.

Tell me if I’m wrong but don’t you need cubemaps only for the sky control atm? You can apply single images using the wizard in the SDK for these. At any instance, this would make a nice SDK plugin :wink:

I recently worked on a way to add KTX files support for JME (basically KTX is Khronos group’s DDS equivalent).
Maybe your software could also write KTX once it’s in the core.

Cube maps writing is needed for the incoming PRB pipeline.

You need them also for the environment map in Lighting.j3md.
I’ll see what I can do with the plugin when the wiki will be back online.