Log in or register to post comments

Is it possiable to take a good enough picture which contains the world center and AR-GameObject teapot in Unity3D & vuforia

August 22, 2012 - 8:06pm #1

Hi all,

By now, I only found a methed  Application.CaptureScreenshot("Screenshot.png") to capture the screen, but it is only a screen capture. So is there another method or solution to take a picture which contains both the world center and AR-GameObject teapot by device's build-in real camera?

Is it possiable to take a good enough picture

August 26, 2012 - 2:25pm #2

You should be able to capture the augmentation (e.g. Teapot ) as well using CaptureScreenShot. If you're not, it's likely because the screen capture is occurring before the augmentation has rendered. Try calling it interactively ..

 

void OnGUI()

{

  if (GUI.Button(new Rect(20, 20, 150, 100), "CaptureScreenshot")){

     Application.CaptureScreenshot("Screenshot.png");

  }

}

 

You can also try from the LateUpdate() callback.

Log in or register to post comments