I Am trying to draw a scene for solar system simulator and i`m stuck with Skybox which i want to be a starmap. I am trying to use:
rootNode.attachChild(SkyFactory.createSky(assetManager, “Textures/Starmap.jpg”, true));
But the result is that my skybox is distorted (in one side the image is stretched). I have searched forum for possible solutions, and i have found this thread ( http://hub.jmonkeyengine.org/groups/graphics/forum/topic/skysphere-problem/ ) which discussed my problem. I have tried to find images with sphere map of starmap but with no result. Please does anybody have working image of starmap? Or maybe can someone explain me how to use cubemap which was disscussed in mentioned thread in the end? Thanks
normen, If I understad that article correctly, I should use such angular map in my Skybox? I have tried one (from http://blenderartists.org/forum/showthread.php?24038-Free-high-res-skymaps-(Massive-07-update!) ), which I used the in my application, but with same result.
You can either use a sky box map or sky sphere map, check the maps that come with jme3. Its not a jme3-specific thing really, hence the hint at google.
Thanks, after some experiments, i have figured out that best solution is Spaceescape application which you have mentioned in other threads and which generated me beautiful cubemap of stars.
The best way to use sky dome images in jME3 is to first convert them to cubemaps. This avoids the weird texture artifact at the top of the dome.