Tracker Glasses and Stereo Render problem

0 votes
asked Mar 7 by xxwil (12 points)

Problems description:

In my recent project, I wanted to realize the 3D UI effects similar to zSpace Experience.

After exploring zSpace Experience, I supposed that the UI elements could possibly be 3D game objects(instead of Unity UI elements) fixed on the virtual desktop.

image

When I used the tracker glasses in zSpace Experience, no matter how I moved my head, the scene won’t change significantly, and the UI elements would stay in the fixed position.

However, when I tried in my own project, the position and rotation of tracker glasses would change significantly, as well as the scene. Therefore I can’t realize the similar 3D UI effects.

image

So anyone could help me on this? Or could you please provide a sample scene developed in Unity similar to zSpace Experience?

My Developing environment:

Unity version: 5.3.7f1

zSpace model: z300

zSpace SDK: zCore Untiy Plugin4.0.0

1 Answer

0 votes
answered Jul 4 by AlexShorey (24 points)
Hi wwxil,

I think I get your drift here. When the glasses move parallel to the screen, the objects you want to stay stuck to the screen slide across it instead. The best advice I can give is to find the zcore prefab and hit the debug checkboxes for "show viewport" and "show display." These will show where your 3D window and full display, respectively, are oriented in 3d space. This is also described as the zero parallax. When your glasses move, the view frustums of your cameras pivot at this plane to give you that characteristic fishbowl effect. So if you place the objects you want to say put, to intersect these planes, the object will appear to only pivot, rather than slide around.

I'd also recommend taking a look at the zSpace Unity3D Programming Guide PDF starting at page 19. There is more information there about accessible properties of these planes that may be of further assistance.
...