Project

General

Profile

Feature #1655

Feature #4: UI improvements

Offscreen UI composition

Added by skyjake over 10 years ago. Updated over 10 years ago.

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

100%

Tags:

Description

Doomsday's UI framework needs to have the ability to flatten a widget tree into an offscreen buffer (such as a GL texture) and then use that offscreen buffer for further drawing operations.

This is useful for instance for applying shader effects or a custom 2D/3D projection to the UI.


Related issues

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

History

#1 Updated by skyjake over 10 years ago

  • % Done changed from 0 to 80

#2 Updated by skyjake over 10 years ago

Currently implemented in the "oculus-rift" branch. The remaining missing detail is appropriate alpha blending for the flattened graphics.

#3 Updated by skyjake over 10 years ago

  • Target version set to 1.13

#4 Updated by skyjake over 10 years ago

  • Status changed from New to In Progress

#5 Updated by skyjake over 10 years ago

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

Marking this as completed: CompositorWidget can be used as the parent anywhere in the widget tree to create a composite of that branch.

The assumption currently is that the offscreen target is used to draw a transparent UI layer, so the resulting texture is drawn back to the normal target using premultiplied alpha blending.

Also available in: Atom PDF