Examples of Skybox


Examples of com.jme.scene.Skybox

    fogState.setApplyFunction( FogState.AF_PER_VERTEX );
    rootNode.setRenderState( fogState );
  }

  private void buildSkyBox() {
    skybox = new Skybox( "skybox", 10, 10, 10 );

    String dir = "jmetest/data/skybox1/";
    Texture north = TextureManager.loadTexture(
        TestQuadWater.class.getClassLoader().getResource(
            dir + "1.jpg" ),
View Full Code Here

Examples of com.jme.scene.Skybox

    fogState.setApplyFunction( FogState.AF_PER_VERTEX );
    rootNode.setRenderState( fogState );
  }

  private void buildSkyBox() {
    skybox = new Skybox( "skybox", 10, 10, 10 );

    String dir = "jmetest/data/skybox1/";
    Texture north = TextureManager.loadTexture(
        TestSimpleQuadWater.class.getClassLoader().getResource(
            dir + "1.jpg" ),
View Full Code Here

Examples of com.jme.scene.Skybox

            URL westURL = AssetUtils.getAssetURL("wla://defaultenvironment/skybox1/4.jpg", cell);
            URL downURL = AssetUtils.getAssetURL("wla://defaultenvironment/skybox1/5.jpg", cell);
            URL upURL = AssetUtils.getAssetURL("wla://defaultenvironment/skybox1/6.jpg", cell);

            WorldManager wm = ClientContextJME.getWorldManager();
            skybox = new Skybox("skybox", 1000, 1000, 1000);
            Texture north = TextureManager.loadTexture(northURL, Texture.MinificationFilter.BilinearNearestMipMap, Texture.MagnificationFilter.Bilinear);
            Texture south = TextureManager.loadTexture(southURL, Texture.MinificationFilter.BilinearNearestMipMap, Texture.MagnificationFilter.Bilinear);
            Texture east = TextureManager.loadTexture(eastURL, Texture.MinificationFilter.BilinearNearestMipMap, Texture.MagnificationFilter.Bilinear);
            Texture west = TextureManager.loadTexture(westURL, Texture.MinificationFilter.BilinearNearestMipMap, Texture.MagnificationFilter.Bilinear);
            Texture up = TextureManager.loadTexture(upURL, Texture.MinificationFilter.BilinearNearestMipMap, Texture.MagnificationFilter.Bilinear);
View Full Code Here

Examples of com.jme.scene.Skybox

      rootNode.attachChild(posBox);
      fpsNode.attachChild(tankHUD);
      fpsNode.attachChild(hitStatus);
     
    /** Create a skybox to suround our world */
    Skybox sb = new Skybox("skybox", 500, 500, 500);
    URL monkeyLoc = HelloIntersection.class.getClassLoader().getResource(
        "data/texture/sky4stars-a_original.jpg");
    TextureState ts = display.getRenderer().createTextureState();
    ts.setTexture(TextureManager.loadTexture(monkeyLoc, Texture.MM_LINEAR,
        Texture.FM_LINEAR));
    sb.setRenderState(ts);

    // Attach the skybox to our root node, and force the rootnode to show
    // so that the skybox will always show
    rootNode.attachChild(sb);
    rootNode.setCullMode(Spatial.CULL_NEVER);
View Full Code Here

Examples of com.jme.scene.Skybox

      getRootNode().attachChild(posBox);
      getFPSNode().attachChild(tankHUD);
        getFPSNode().attachChild(hitStatus);
     
    /** Create a skybox to suround our world */
    Skybox sb = new Skybox("skybox", 500, 500, 500);
    URL monkeyLoc = TankApplet.class.getClassLoader().getResource(
        "data/texture/sky4stars-a_original.jpg");
    TextureState ts = getRenderer().createTextureState();
    ts.setTexture(TextureManager.loadTexture(monkeyLoc, Texture.MM_LINEAR,
        Texture.FM_LINEAR));
    sb.setRenderState(ts);

    // Attach the skybox to our root node, and force the getRootNode() to show
    // so that the skybox will always show
    getRootNode().attachChild(sb);
    getRootNode().setCullMode(Spatial.CULL_NEVER);
View Full Code Here

Examples of com.threed.jpct.util.SkyBox

    }
    universe.onInit(world, buffer);

    createSun();

    skyBox = new SkyBox(400.0f);
    skyBox.compile();
  }
View Full Code Here

Examples of net.cis.common.model.base.SkyBox

   * <!-- end-user-doc -->
   * @generated
   */
  @Override
  public String getText(Object object) {
    SkyBox skyBox = (SkyBox)object;
    return getString("_UI_SkyBox_type") + " " + skyBox.getId();
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.