Examples of Camera


Examples of com.jme3.renderer.Camera

     */
    public BasicShadowRenderer(AssetManager manager, int size) {
        shadowFB = new FrameBuffer(size, size, 1);
        shadowMap = new Texture2D(size, size, Format.Depth);
        shadowFB.setDepthTexture(shadowMap);
        shadowCam = new Camera(size, size);
       
         //DO NOT COMMENT THIS (it prevent the OSX incomplete read buffer crash)
        dummyTex = new Texture2D(size, size, Format.RGBA8);       
        shadowFB.setColorTexture(dummyTex);
        shadowMapSize = (float)size;
View Full Code Here

Examples of com.jogamp.opencl.demos.julia3d.structs.Camera

    }

    private void updateCamera() {

        Camera camera = config.getCamera();

        Vec dir    = camera.getDir();
        Vec target = camera.getTarget();
        Vec camX   = camera.getX();
        Vec camY   = camera.getY();
        Vec orig   = camera.getOrig();

        vsub(dir, target, orig);
        vnorm(dir);

        Vec up = Vec.create().setX(0).setY(1).setZ(0);
View Full Code Here

Examples of com.ngt.jopenmetaverse.shared.sim.rendering.Camera

     checkErrors("After Initializing BUffers");
   }

  public void initCamera()
  {
      this.camera = new Camera();
          Vector3 camPos = Vector3.add(client.self.getSimPosition(),
              Vector3.multiply(new Vector3(-4, 0, 1), client.self.Movement.BodyRotation));
         
          camera.setPosition(camPos);
      System.out.println(String.format("Initial Camera Position %s Sim Pos %s ", camPos.toString(), client.self.getSimPosition().toString()));
View Full Code Here

Examples of de.ailis.jollada.model.Camera

    {
        if (this.projection == null)
            throw new IllegalStateException("projection not set");
        final CommonOpticsTechnique commonTechnique = new CommonOpticsTechnique(this.projection);
        final Optics optics = new Optics(commonTechnique);
        final Camera camera = new Camera(optics);
        camera.setAsset(this.asset);
        camera.setId(this.id);
        camera.setName(this.name);
        return camera;
    }
View Full Code Here

Examples of de.micromata.opengis.kml.v_2_2_0.Camera

     * this.setAbstractView(camera); </code>
     *
     *
     */
    public Camera createAndSetCamera() {
        Camera newValue = new Camera();
        this.setAbstractView(newValue);
        return newValue;
    }
View Full Code Here

Examples of edu.cmu.cs.stage3.alice.core.Camera

          light = pointLight;
        }
        model = light;
        sgLight.setBonus( model );
      } else if( sgCamera != null ) {
        Camera camera = null;
        if( sgCamera instanceof edu.cmu.cs.stage3.alice.scenegraph.SymmetricPerspectiveCamera ) {
          SymmetricPerspectiveCamera symmetricPerspectiveCamera = new SymmetricPerspectiveCamera();
          camera = symmetricPerspectiveCamera;
        } else if( sgCamera instanceof edu.cmu.cs.stage3.alice.scenegraph.PerspectiveCamera ) {
          PerspectiveCamera perspectiveCamera = new PerspectiveCamera();
View Full Code Here

Examples of fr.raversoft.yllisanSkies.engine.Camera

        return 1;
    }

    private void load() throws SlickException, IOException {
        mainGame.map_actual = mainGame.maps.getMap(Maps.FORET_DES_ESPOIRS_1);
        mainGame.camera = new Camera(mainGame, mainGame.screen, mainGame.map_actual, 2 * 32, 20 * 32, Direction.Droite);
        mainGame.music.play(MusicList.HOPE_FOREST, 0.5f);
        loaded = true;
    }
View Full Code Here

Examples of graphics.Camera

public abstract class State {
  protected Camera camera;
  protected Nifty gui = null;
 
  public State(){
    camera = new Camera();
  }
View Full Code Here

Examples of it.marteEngine.Camera

        //Creamos la música
        musicaPasillo = ResourceManager.getMusic("pasillo");

        //Creamos la cámara que seguira al jugador y le cambiamos la posición inicial
        camara = new Camera(this, player, container.getWidth(), container.getHeight(), 712, 712, player.mySpeed);
        setCamera(camara);
        camara.cameraX = 120 * TAMANO_CASILLA;
        camara.cameraY = 92 * TAMANO_CASILLA;
    }
View Full Code Here

Examples of jray.ray.Camera

     
      for(double x = 1;x<camheight*3;x+=h)
        for(double z = -camheight;z<camheight;z+=h)
          addTree(x+Math.random()*dist-dist/2,-2,z+Math.random()*dist-dist/2);
       
        c = new Camera(new Vect3(-camheight, camheight*2, 0), new Vect3(-camheight+1, camheight*2-1, 0), new Vect3(0.707106781186547, 0.707106781186547, 0), 1, 1, 1);
        objects.add(c);
       
        tree = Octree.buildTree(new Vect3(camheight*1.5,-3.1,0),objects);
    }
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.