Log in or register to post comments

Change JsonServerUrl in Unity sample code

July 23, 2013 - 4:40am #1

Where can i update JsonServerUrl in sample code of Cloud Recognition with unity? i couldn't find it anywhere. Thank you.

Change JsonServerUrl in Unity sample code

August 2, 2013 - 3:04pm #10

Observe where the overlay is when you hide the target - it will be rendered orthogonally on the screen at that position.

Change JsonServerUrl in Unity sample code

July 29, 2013 - 9:15am #9

There is no different that use 2DOverlayPosition or not, the augmentation appears in correct position. so what the different that i use 2DOverlayPosition? Thank you.

Change JsonServerUrl in Unity sample code

July 29, 2013 - 8:42am #8

Yes - take a look at the same object in the CR sample.

Are your augmentations appearing in the correct position relative to the target?

Change JsonServerUrl in Unity sample code

July 28, 2013 - 6:01pm #7

i already do it, but i don't have any different with no use 2DOverlayPosition. it just create empty game object?

Change JsonServerUrl in Unity sample code

July 28, 2013 - 2:45pm #6

If you're trying to reconstruct the Unity Cloud Reco sample, the 2DOverlayPosition is just a GameObject that you create ( GameObject > Create Empty ) in your scene and give that name, also make it a child of the ARCamera. This object's transform will be used as the anchor position for the overlays.

Change JsonServerUrl in Unity sample code

July 24, 2013 - 12:10pm #5

Sorry My mistake, i'm forgot to put bookinformationprefab. I'm already show the book information. Now, I just want to run sample code with unity, just like in the video tutorial. But i cannot find 2dOverlayPosition, where i can find that? Thank you

Change JsonServerUrl in Unity sample code

July 24, 2013 - 11:13am #4

The JSON formatted information returned from that URL defines which book sample to present. So if you've changed the URL, you'll need to copy the same information to that location as a file.

What are you trying to accomplish?

Change JsonServerUrl in Unity sample code

July 24, 2013 - 9:54am #3

Hi, i already do that, but book sample still doesn't appear. but close button appear. what's wrong with my code? Thank you

Change JsonServerUrl in Unity sample code

July 23, 2013 - 11:33pm #2

Hi, if you click on the ContentManager prefab in your Hierarchy view, you will find the Json Server Url in the inspector of that object.

Or, equivalently, you can find the public variable defined in the ContentManager.cs script.

 

Log in or register to post comments