Log in or register to post comments

Of axis movement

August 30, 2016 - 7:47am #1

Hello fellow developers. 



I am new to hololens and vuforia and I want to experiment with some of the features. I downloaded the samples for hololens. When I run it in Unity using my WebCam everything moves great. But when I deploy it to hololens and run it, the pot is moving weird. When i move it left and right the pot moves up and down. Can you give me some clues how to fix this and why it occurs ?

Thank you in advance,

G.G.

Of axis movement

March 9, 2020 - 3:13am #8

Hi,

 

Using Unity 2019.2.21f1

Vuforia 8.5.9

 

I'm encountering the same problem. 

I placed a simple rotating cube just above my imageTarget. On Unity play mode, everything looks fine. But when I build and deploy in the Hololens app, the image target are offset depending on the distance from me (hololens camera) and the imageTarget. 

The further away I am from the imageTarget, the cube or object also moves away but behind or through the image target.

I'm seeing other devs resolving their offset issues by making sure the imageTarget scale and the uploaded image Target from the target manager is the same. This did not fix my build, I made sure they are the same. Additionally, the Vuforia I'm using right now makes sures the imageTarget scale is the same from the upload. 

 

Is there any fix to this? Thanks

 

Of axis movement

September 8, 2016 - 1:42pm #7

Hello,

For stereo rendering, all scene units must be specified in meters. Additionally, all printed targets must be the exact same size as specified in the device database. Resizing, stretching of the printed target will affect the registration accuracy of the augmentation.

Have you set the orientation to Landscape Left on the HoloLens? If not, this results in poses shifting in the wrong axis.

Thanks

Off axis movement

September 7, 2016 - 12:49am #6

Hello David.

Can you please explain which size exactly - the size of the printed image or some settings inside unity? I am using the sample's settings for w/h ( w - 0.247 and h - 0.1729) also i've printed the picture inside the project. Do you think i have this problem because i have black and white copy of the photo ?

Thanks in advance!

G.G.

Of axis movement

September 3, 2016 - 9:58pm #5

Quote:

Turns out this is an improper sizing issue! The target width/height is ultra-important in stereo ;)

Of axis movement

September 3, 2016 - 9:24pm #4

As a hail-mary, I decided to upgrade my beta 14 project to the latest HTP, and whaddya know--- the orientation and "off-axis" issues have been fixed.

However, there's a NEW problem where the teapot appears at the wrong depth; in other words, I have to look "through" the AR target to actually see the teapot. Quite strange...I'll keep investigating.

Of axis movement

September 3, 2016 - 9:11pm #3

I've zipped up and uploaded a project which demonstrates this phenomenon. It is a Unity 5.4.0 Beta 14 HTP project (guaranteed to work with the Vuforia Hololens samples). It's set up for you to build the VS project from Unity and then build/deploy using VS.

I've also uploaded "chips_scaled.jpg" which can be used to test this.

Thanks in advance,

David

AttachmentSize
Package icon TestProjectWithOffAxisMovement.zip59.01 MB
Image icon chips_scaled.jpg191.3 KB

Of axis movement

September 3, 2016 - 8:20pm #2

This is exactly what's happening to me. I've spent half a day trying to figure it out, to no avail.

I've tested it on 5.4.0f3, 5.4.0 beta 16, and 5.4.0 beta 14 (all Hololens Technical Previews of course), and I get the same behavior. Does anyone have any ideas?

 

 

Log in or register to post comments