VR系列——Oculus Rift 开发者指南:八、性能平视显示器及Oculus调试工具
来源:互联网 发布:斯凯网络 编辑:程序博客网 时间:2024/04/24 21:38
性能平视显示器
性能平视显示器(HUD)可以使你或你的用户能够查看任何使用SDK 0.6或之后版本构建的应用程序的性能信息。
性能HUD屏幕是由合成器渲染呈现的,使他们能够由单一SDK调用来显示。在OculusWorldDemo,您可以按F11来实现性能HUD界面切换。
延迟时间
HUD的延迟时间显示了APP到中期光子、时间异常到光子-启动和时间异常到光子-启动的曲线图。
下面的截图显示了HUD的延迟时间:
图8:延迟时间
下表描述了每个指标:
渲染时间
渲染时间HUD(平视显示器)展示了合成器的帧率和客户端应用程序以及合成器的GPU渲染所花费的时间。
下面的截图显示了时间渲染HUD(平视显示器):
图9:时间渲染
以下表格描述了每个指标:
期间延迟测试仪没有预期生效将显示”N/A”,期间包括客户端应用调用完ovr_SubmitFrame()后产生的合成器IPC调用的时间开销 App –GPU时间扭曲跟踪 当app开始调用ovr_GetTrackingState到GPU开始执行时间扭曲绘制。如果延迟测试仪不能如预期正常工作,hub将显示“N / A”。
性能余量
性能余量HUD显示了合成器的帧率和未使用的硬件性能。这HUD可以由开发商或消费者在调整其应用程序时的模拟和图形保真度时使用。由于用户不能禁用垂直同步,它可以被认为是帧速率计数器来判断性能的一个替换。它还可以帮助调试安装,以确保它正在提供虚拟现实一致的体验,而不是由于与硬件无关的问题丢帧。
下面的屏幕截图显示了性能提升空间HUD :
图10:性能余量HUD
下表描述了每个指标:
版本信息
版本信息HUD展示了关于HMD的信息以及用来创建app的SDK的版本.
图11:版本信息HUD
下表描述了版本信息HUD中的项:
Oculus调试工具
Oculus调试工具能够让你在你的游戏或经历中察看性能或调试信息。
使用该工具:
1.打开Oculus SDK的Tools目录。
2.双击OculusDebugTool.exe. Oculus调试工具就打开了。
3.选择Visible HUD(可视HUD)去察看。选项包括:None (no HUD is displayed)(无,没有HUD显示), Performance HUD(性能HUD), StereoDebug HUD(立体调试HUD), 或者Layer HUD(HUD层).
4.如果你选择了 Performance HUD(性能HUD), 再继续选择你想查看哪个HUD性能。选项包括:Latency Timing(时间延迟), Render Timing(时间渲染),Performance Headroom(性能余量), and Version Information(版本信息).欲知更多信息,请查看40页的Performance Head-Up Display(性能HUD)
以下是性能HUD的例子:
5.如果你选择了StereoDebug HUD(立体调试HUD),从立体调试HUD选项里设置模式,大小,位置,颜色。
以下是个StereoDebug HUD(立体调试HUD)的例子:
6.如果你选择了Layer HUD (HUD 层),选择展示信息的层或者选择“显示全部”(Show All)的选择按钮。以下是个Layer HUD (HUD 层)的例子:
7.带上耳机查看效果。
原文如下
Performance Head-Up Display
The Performance Head-Up Display (HUD) enables you or your users to view performance information for any application built with SDK 0.6 or later.
The Performance HUD screens are rendered by the compositor, which enables them to be displayed with a single SDK call. In OculusWorldDemo, you can toggle through the Performance HUD screens by pressing F11.
Latency Timing
The Latency Timing HUD displays the App to Mid - Photon, Timewarp to Photon - Start, and Timewarp to Photon - Start graphs.
The following screenshot shows the Latency Timing HUD:
Figure 8: Latency Timing
The following table describes each metric:
Render Timing
The Render Timing HUD displays the frame rate of the compositor and the total time spent by the GPU rendering for both the client app and the compositor.
The following screenshot shows the Render Timing HUD:
Figure 9: Render Timing
The following table describes each metric:
Performance Headroom
The Performance Headroom HUD displays the frame rate of the compositor and the unused hardware performance available. This HUD can be utilized by the developer or consumer when tuning their applications’ simulation and graphics fidelity. Since the user cannot disable V-Sync, it can be thought of as a replacement for a frame rate counter to judge available performance. It can also help debug the setup to make sure it is providing a consistent experience in VR and not dropping frames due to issues unrelated to hardware performance.
The following screenshot shows the Performance Headroom HUD:
图10:性能余量HUD
The following table describes each metric:
Version Information
The Version Information HUD displays information about the HMD and the version of the SDK used to create the app.
The following screenshot shows the Version Information HUD:
Figure 11: Version Info HUD
The following table describes each piece of information:
Oculus Debug Tool
The Oculus Debug Tool enables you to view performance or debugging information within your game or experience.
To use the tool:
1.Go to Tools directory of the Oculus SDK.
2.Double-click OculusDebugTool.exe. The Oculus Debug Tool opens.
3.Select the Visible HUD to view. Options include: None (no HUD is displayed), Performance HUD, Stereo Debug HUD, or Layer HUD.
4.If you selected Performance HUD, select which Performance HUD you want to view. Options include:
Latency Timing, Render Timing, Performance Headroom, and Version Information. For more information, see Performance Head-Up Display on page 40.
The following is an example of the Performance HUD:
5.If you selected Stereo Debug HUD, configure the mode, size, position, and color from the Stereo Debug HUD options.
The following is an example of the Stereo Debug HUD:
6.If you selected Layer HUD. select the layer for which to show information or select the Show All check box.
The following is an example of the Layer HUD:
7.Put on the headset and view the results.
- VR系列——Oculus Rift 开发者指南:八、性能平视显示器及Oculus调试工具
- VR系列——Oculus Rift 开发者指南:三、Oculus Rift的渲染(八)
- VR系列——Oculus Rift 开发者指南:三、Oculus Rift的渲染(一)
- VR系列——Oculus Rift 开发者指南:三、Oculus Rift的渲染(二)
- VR系列——Oculus Rift 开发者指南:三、Oculus Rift的渲染(三)
- VR系列——Oculus Rift 开发者指南:三、Oculus Rift的渲染(四)
- VR系列——Oculus Rift 开发者指南:三、Oculus Rift的渲染(五)
- VR系列——Oculus Rift 开发者指南:三、Oculus Rift的渲染(六)
- VR系列——Oculus Rift 开发者指南:三、Oculus Rift的渲染(七)
- VR系列——Oculus Rift 开发者指南:五、色差
- VR系列——Oculus Rift 开发者指南:六、Oculus触控
- VR系列——Oculus Rift 介绍指南:四、Oculus Rift的硬件设置
- VR系列——Oculus Rift 介绍指南:五、Oculus Rift驱动程序安装
- VR系列——Oculus Rift 开发者指南:七、SDK样品和手柄的使用及低级传感器详述
- VR系列——Oculus Rift 介绍指南:一、前言
- VR系列——Oculus Rift 介绍指南:六、入门
- VR系列——Oculus Rift 开发者指南:一、LibOVR集成
- VR系列——Oculus Rift 开发者指南:二、初始化和传感器枚举
- 类的静态成员
- 再次刷 contest
- 今天阿里巴巴让我在线编程
- python Format使用时产生Traceback问题
- Number Complement
- VR系列——Oculus Rift 开发者指南:八、性能平视显示器及Oculus调试工具
- MyEclipse的安装教程
- 关于Java中进程与线程的初步认识与掌握
- Eclipse中修改android包名的步骤
- 用户数据报协议UDP
- 【Sicily】1004. 无环图
- 使用Gradle构建SpringBoot工程系列:第六篇:SpringBoot 替换Tomcat为Jetty或UnderTow
- LeeCode Longest Substring Without Repeating Characters
- Javascript读书笔记(一)