Feature #1654
[VR] Displaying the 2D UI within a 3D view
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
History
#1 Updated by skyjake about 11 years ago
- Description updated (diff)
#2 Updated by skyjake about 11 years ago
- Due date deleted (
2013-10-24)
#3 Updated by skyjake about 11 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 11 years ago
- Status changed from In Progress to Closed
- % Done changed from 50 to 100
Crosshair moved to the game's HUD layer.