title: 3D model vanishing when moving the camera away from the marker android (Kudan AR)
body: <p>I am working on Augmented Reality using Kudan SDK in android. I am trying to generate 3D model when the phone camera is pointing towards the marker. I am able to achieve this. But If I move the camera away from the marker the model is vanishing. I dont want the 3D model to go away until unless the application is close or camera is closed. I want to move the 3D model while I move the camera as well. Here is the code for inserting the marker and the 3D model.</p>
  
  <pre><code>private void addImageTrackable() {
  
      // Initialise image trackable
      trackable = new ARImageTrackable("Space");
      trackable.loadFromAsset("user_pic.jpg");
  
      // Get instance of image tracker manager
      ARImageTracker trackableManager = ARImageTracker.getInstance();
  
      // Add image trackable to image tracker manager
      trackableManager.addTrackable(trackable);
  }
  
  private void addModelNode() {
      // Import model
      ARModelImporter modelImporter = new ARModelImporter();
      modelImporter.loadFromAsset("cube.jet");
      ARModelNode modelNode = (ARModelNode) modelImporter.getNode();
  
      // Load model texture
      ARTexture2D texture2D = new ARTexture2D();
      texture2D.loadFromAsset("cube.png");
  
      // Apply model texture to model texture material
      ARLightMaterial material = new ARLightMaterial();
      material.setTexture(texture2D);
      material.setAmbient(0.8f, 0.8f, 0.8f);
  
  
      // Apply texture material to models mesh nodes
      for (ARMeshNode meshNode : modelImporter.getMeshNodes()) {
          meshNode.setMaterial(material);
      }
  
  
      modelNode.rotateByDegrees(10, 1, 0, 0);
      modelNode.scaleByUniform(3f);
      modelNode.setPosition(1, 1, 2000);
      modelNode.play();
  
      // Add model node to image trackable
      trackable.getWorld().addChild(modelNode);
      modelNode.setVisible(true);
  
  }
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/p8sQx.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/p8sQx.jpg" alt="Here is the image of the 3D model coming in front of the marker"></a></p>
  
  <p>But I want to keep this 3D model even if I move away my camera away from marker.</p>