Project

General

Profile

Feature #1654

[VR] Displaying the 2D UI within a 3D view

Added by skyjake about 9 years ago. Updated about 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Enhancement
Target version:
Start date:
2013-10-24
% Done:

100%

Tags:
UI, VR

Description

In a 3D VR environment, Doomsday's and the games' 2D UI elements must be displayed differently. For instance, for Oculus Rift the 2D UI should be scaled down and projected to appear in front of the player in 3D.

The 2D player weapon sprite is a special case as it is considered a part of the 3D world. Since it is drawn separately from the UI, it also needs to be projected separately.


Related issues

Related to Feature #1646: Stereo 3D enhancementsNew2013-10-24

Related to Feature #1636: Support for Oculus RiftClosed2013-10-23

History

#1 Updated by skyjake about 9 years ago

  • Description updated (diff)

#2 Updated by skyjake about 9 years ago

  • Due date deleted (2013-10-24)

#3 Updated by skyjake about 9 years ago

  • Assignee set to skyjake
  • Target version set to 1.13
  • % Done changed from 0 to 50

The current status is that the player's HUD layer, also containing the game menu, is drawn to a texture that can then be projected in the suitable manner for 3D viewing.

The last remaining element is the player's crosshair, which is drawn on gameside.

See d0953e9d2.

#4 Updated by skyjake about 9 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 50 to 100

Crosshair moved to the game's HUD layer.

Also available in: Atom PDF