Skip to content

Commit

Permalink
Update to ARCore 1.6, distortions during head rotations fixed, head t…
Browse files Browse the repository at this point in the history
…racking speed and smoothness optimized, Moving Marker Tracking Project added (proof of concept)

The update to ARCore 1.6 brings supports for more devices but this is only relevant for the Charboard/Daydream versions of this app which isn't ready yet.

Head tracking was further Improved by doing a deeper analysis of the underling problem and choosing better settings and a new interpolation method.
The underling problem is that the ARCore tracking jumps frequently and the jumps need to be smoothed out.
The current version tries to find the right balance between lag and responsivness. A smoother experience is possible but it also introduces very noticable lag. If interested in a smoother head movement please set the settings of the SmoothDamp method in the followARCamera script to higer values.

By moving the user camera behind the ar camera the distorition during head rotations could be eliminated.

Moving marker tracking project added. This is still a proof of concept in development and far from perfect but it is possible to track a moving marker while beeing in vr and also use ARCore for head tracking at the same time. The marker that is recognised by the camera is the king.png which can be found in the MovingMarkerTracking project file.
  • Loading branch information
ChristophGeske committed Dec 9, 2018
1 parent a368e32 commit e2a1dde
Show file tree
Hide file tree
Showing 559 changed files with 112,890 additions and 5,895 deletions.
Empty file.
Binary file not shown.
8 changes: 8 additions & 0 deletions MovingMarkerTracking/Assets/Editor.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions MovingMarkerTracking/Assets/Editor/Vuforia.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

77 changes: 77 additions & 0 deletions MovingMarkerTracking/Assets/Ground.mat
@@ -0,0 +1,77 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 6
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_Name: Ground
m_Shader: {fileID: 10705, guid: 0000000000000000f000000000000000, type: 0}
m_ShaderKeywords:
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses: []
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _BumpMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailAlbedoMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailMask:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailNormalMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _EmissionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MainTex:
m_Texture: {fileID: 2800000, guid: 69c07577e3674df8a0290322f36a169a, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MetallicGlossMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _OcclusionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _ParallaxMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Floats:
- _BumpScale: 1
- _Cutoff: 0.5
- _DetailNormalMapScale: 1
- _DstBlend: 0
- _GlossMapScale: 1
- _Glossiness: 0.5
- _GlossyReflections: 1
- _Metallic: 0
- _Mode: 0
- _OcclusionStrength: 1
- _Parallax: 0.02
- _Shininess: 0.05
- _SmoothnessTextureChannel: 0
- _SpecularHighlights: 1
- _SrcBlend: 1
- _UVSec: 0
- _ZWrite: 1
m_Colors:
- _Color: {r: 1, g: 1, b: 1, a: 1}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
8 changes: 8 additions & 0 deletions MovingMarkerTracking/Assets/Ground.mat.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e2a1dde

Please sign in to comment.