Examples of Dome


Examples of com.ardor3d.scenegraph.shape.Dome

        addMesh(new Capsule("Capsule", 5, 5, 5, 2, 5));
        addMesh(new Cone("Cone", 8, 8, 2, 4));
        addMesh(new Cylinder("Cylinder", 8, 8, 2, 4));
        addMesh(new Disk("Disk", 8, 8, 3));
        addMesh(new Dodecahedron("Dodecahedron", 3));
        addMesh(new Dome("Dome", 8, 8, 3));
        addMesh(new Hexagon("Hexagon", 3));
        addMesh(new Icosahedron("Icosahedron", 3));
        addMesh(new MultiFaceBox("MultiFaceBox", new Vector3(), 3, 3, 3));
        addMesh(new Octahedron("Octahedron", 3));
        addMesh(new PQTorus("PQTorus", 5, 4, 1.5, .5, 128, 8));
View Full Code Here

Examples of com.ardor3d.scenegraph.shape.Dome

        addMesh(new Capsule("Capsule", 5, 5, 5, 2, 5));
        addMesh(new Cone("Cone", 8, 8, 2, 4));
        addMesh(new Cylinder("Cylinder", 8, 8, 2, 4));
        addMesh(new Disk("Disk", 8, 8, 3));
        addMesh(new Dodecahedron("Dodecahedron", 3));
        addMesh(new Dome("Dome", 8, 8, 3));
        addMesh(new Hexagon("Hexagon", 3));
        addMesh(new Icosahedron("Icosahedron", 3));
        addMesh(new MultiFaceBox("MultiFaceBox", new Vector3(), 3, 3, 3));
        addMesh(new Octahedron("Octahedron", 3));
        addMesh(new PQTorus("PQTorus", 5, 4, 1.5, .5, 128, 8));
View Full Code Here

Examples of com.ardor3d.scenegraph.shape.Dome

        return floor;
    }

    private Mesh createSky() {
        final Dome sky = new Dome("Sky", 30, 30, 10);
        sky.updateModelBound();
        // set the vertex colors to red. Same effect as setDefaultColor here, but uses more memory.
        sky.setSolidColor(ColorRGBA.RED);
        // move back from camera.
        sky.setTranslation(0, 10, -20);

        // Add a material state
        final MaterialState ms = new MaterialState();
        sky.setRenderState(ms);
        // Pull diffuse color for front from mesh color
        ms.setColorMaterial(ColorMaterial.Diffuse);
        ms.setColorMaterialFace(MaterialFace.Front);
        // Set shininess for front and back
        ms.setShininess(MaterialFace.FrontAndBack, 100);
View Full Code Here

Examples of com.jme.scene.shape.Dome

    private float agl = 0.0f;
    protected void simpleInitGame()
    {
     
        //Sphere dome = new Sphere("TankDome", new Vector3f(-1.0f,1.0f,0.5f),16,16,.5f);
      TriMesh dome = new Dome("TankDome", new Vector3f(0, 0, 0), 16, 16, .5f);
      dome.setLocalTranslation(new Vector3f(-1.0f,1.0f,0.5f));
        //Cylinder canon = new Cylinder("Canon", 16, 16, 0.25f, 3.0f,true);
      TriMesh mesh = new TriMesh("TankMesh");
     
      Vector3f[] vertexes = {
          new Vector3f(1.0f,.5f,0.0f),
View Full Code Here

Examples of com.jme.scene.shape.Dome

    private float agl = 0.0f;
    protected void simpleInitGame()
    {
     
        //Sphere dome = new Sphere("TankDome", new Vector3f(-1.0f,1.0f,0.5f),16,16,.5f);
      TriMesh dome = new Dome("TankDome", new Vector3f(0, 0, 0), 16, 16, .5f);
      dome.setLocalTranslation(new Vector3f(-1.0f,1.0f,0.5f));
        //Cylinder canon = new Cylinder("Canon", 16, 16, 0.25f, 3.0f,true);
      TriMesh mesh = new TriMesh("TankMesh");
     
      Vector3f[] vertexes = {
          new Vector3f(1.0f,.5f,0.0f),
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.