June 2013
Beginner
352 pages
9h 5m
English
The SkyBox wizard is handy if you need a sky in a .j3o file. But of course you can also procedurally create your SkyBox in Java code, using the jMonkeyEngine's com.jme3.util.SkyFactory package.
Sky.java.assetManager line that loads the mySky.j3o model.//Spatial mySky = assetManager.loadModel("Scenes/mySky.j3o");Texture west = assetManager.loadTexture( "Textures/Sky/Lagoon/lagoon_west.jpg"); Texture east = assetManager.loadTexture( "Textures/Sky/Lagoon/lagoon_east.jpg"); Texture north = assetManager.loadTexture( "Textures/Sky/Lagoon/lagoon_north.jpg"); Texture south = assetManager.loadTexture( "Textures/Sky/Lagoon/lagoon_south.jpg"); ...
Read now
Unlock full access