阅朗微软官方文档并作出简要记录:
https://developer.microsoft.com/zh-cn/windows/holographic/documentation
个人学习记录,有错误欢迎指出。
HoloLens的六个基本概念之二
Gaze : 凝视(相当于鼠标一样的东西,) https://developer.microsoft.com/zh-cn/windows/holographic/gaze
1.Gaze is the first form of input and is used for targeting within holographic apps. Gaze tells you where the user is looking in the world and lets you determine their intent. In the real world, you'll typically look at an object that you intend to interact with. This is the same with gaze.
凝视是最主要的输入方式,用来在全息应用中选定目标。它可以告诉使用者正看着世界的哪个地方,并且让你决定它们的意义。在真实世界中,最具代表性的就是当你看着一个对象的时候就是想与它进行交互。
2.HoloLens uses the position and orientation of your user's head, not their eyes, to determine their gaze vector. You can think of this vector as a laser pointer straight ahead from directly between the user's eyes. As the user looks around the room, your application can intersect this ray, both with its own holograms and with the spatial mapping mesh to determine what virtual or real-world object your user may be looking at.
HoloLens根据使用者的位置和朝向决定凝视的方向向量,而不是眼睛。你可以想象成从你的两眼之间朝前射出一条激光指示器。当你在房间里到处瞅的时候,应用(内的虚拟对象)能与这条射线产生交错,从而决定你正在看着的是虚拟或者真实对象。
3.On HoloLens, interactions should generally derive their targeting from the user's gaze, rather than trying to render or interact at the hand's location directly. Once an interaction has started, relative motions of the hand may be used to control the gesture, as with the manipulation or navigation gesture.
在HoloLens里面,交互行为一般先要从使用者的凝视点获取目标,而不是直接从手势交互开始。一旦凝视交互开始,你就可以用手势来交互了,比如manipulation 或 navigation 手势。
A.Uses of gaze :使用凝视
- Your app can intersect gaze with the holograms in your scene to determine where the user's attention is.
- 能够与场景中凝视的全息影像互动,从而决定你的关注点。
- Your app can target gestures based on the user's gaze, letting the user select, activate, grab, scroll, or otherwise interact with their holograms.
- 手势将基于你的凝视,使用户能够选取,激活,抓取,滑动或其他与全息影像的交互。
- Your app can let the user place holograms on real-world surfaces, by intersecting their gaze ray with the spatial mapping mesh.
- 能够将全息影像放置于凝视射线与空间映射网格交汇的真实世界表面之上。
- Your app can know when the user is not looking in the direction of an important object, which can lead your app to give visual and audio cues to turn towards that object.
- 当用户未看到主要的对象时,可以用一个可视化的引导或者声音提示用户转向这个重要的对象。
See also