Log in or register to post comments

Stacking virtual content (e.g. Cup on top of a Table)

January 8, 2018 - 8:44am #1

My ultimate goal is to be able to have a terrain placed through either the new ground plane feature or an image target, then have multiple game characters placed on top of this terrain while taking height of the terrain into account. 

I have looked and not found any examples of this. Is it possible to set up the terrain using ground plane, then use markers and set the virtual content on top of this terrain? Or maybe use a marker for the terrain also?

I am sorry this is such a broad question, I am new to Unity and Vuforia working on a new senior design game project in college and trying to study possible solutions using Vuforia.

Stacking virtual content (e.g. Cup on top of a Table)

January 10, 2018 - 2:36pm #6

You can also try having a single image in the middle of the map and use that as the starting point for your augmentation. You can have the augmentation cover the full size of the map, while having the image target that starts the experience be a smaller image. Then you can place your character images around the map as needed without covering the image triggering the map augmentation. If you attempt this approach, I'd recommend turning on extended tracking for the map target.

Thanks,

Vuforia Support

Stacking virtual content (e.g. Cup on top of a Table)

January 8, 2018 - 2:06pm #5

Awesome, thank you for all your help! Your tips will definitely help me with a starting point on this project.

Stacking virtual content (e.g. Cup on top of a Table)

January 8, 2018 - 1:38pm #4

Ok I think I understand.  You can cover an image target to a certain degree.  A few small pieces shouldn't pose too much problem but no way of knowing it will work well without testing. If you go with a big image target for the terrain, a key issue is how much of the image target will be in the camera's frame at one time.  If it's only a small portion you may want to break it up into multimarkers arranged in a grid.  This way, if the camera get's too close to any one area you won't lose tracking of the terrain.

But I suggest using the ground plane feature or trigger the ground plane from an image target for the terrain so you don't have to worry about it.  You can also look into VuMarks for the characters.  They might track better at larger distances.  

Stacking virtual content (e.g. Cup on top of a Table)

January 8, 2018 - 1:21pm #3

Thank you for your quick response. Sorry I was vague with my initial post but your answer did help.

 

The project is to create a augmented reality tool for Dungeons and Dragons to help visualize the map and players within the map. I have attached images of current physical solutions to this problem and the goal is to create a virtual version of these. 

 

My main question is if I use an image target for the ground/terrain, then I would be able to use separate image targets to display the players prefabs on the virtual terrain surface rather than just on the target's surface. Also if this is possible should I use a large image target (like a grid game pad) for the terrain and put the player's markers on top of that, or a smaller target for the terrain and the player's markers around that?

 

AttachmentSize
Image icon dnd_map.jpg308.03 KB

Stacking virtual content (e.g. Cup on top of a Table)

January 8, 2018 - 9:44am #2

Not totally clear what you are asking, but yes, I think you could use a ground plane and then on top of that multiple image targets to form a kind of dynamic terrain that you can move around and change on the fly.   The base/origin doesn't need to be a ground plane and could be an image target as well.



 

Log in or register to post comments