Maniphest T54983

Implement Bone Selection Overlay
Closed, ResolvedTO DO

Assigned To
Jeroen Bakker (jbakker)
Authored By
William Reynish (billreynish)
May 7 2018, 9:58 AM
Tags
  • Code Quest
Subscribers
Dalai Felinto (dfelinto)
Jeroen Bakker (jbakker)
Joshua Leung (aligorith)
Luciano Muñoz Sessarego (looch)
William Reynish (billrey)
William Reynish (billreynish)

Description

Create an overlay that will display the bones of the active armature as an overlay.
The bones of the selected armature will not be drawn by the object mode draw engine

To achieve the fade out we render to an framebuffer what is initialized with color (0, 0, 0, 0.5) And use DRW_STATE_BLEND. Z-depth should also be cleared.

We will reuse the drawing shaders of object mode.

Add an operation connected to the Z-Key that enables/disables this overlay.

note: we currently do not implement the local bone selection as it is not supported yet by the operations.
note: the overlay is only available when pose mode is active. hence we implement it as part of the pose mode.
note: Should we implement a MULTISAMPLE_SYNC_ENABLE/DISABLE that can work towards a custom framebuffer?

Revisions and Commits

rB Blender
Closed

Related Objects

StatusSubtypeAssignedTask
ResolvedDESIGNWilliam Reynish (billreynish)
ResolvedTO DOJeroen Bakker (jbakker)
ResolvedTO DOJeroen Bakker (jbakker)

Event Timeline

William Reynish (billreynish) lowered the priority of this task from 90 to Normal.May 7 2018, 9:58 AM
William Reynish (billreynish) created this task.
Jeroen Bakker (jbakker) updated the task description.May 7 2018, 3:51 PM
Jeroen Bakker (jbakker) updated the task description.May 7 2018, 4:02 PM
Jeroen Bakker (jbakker) moved this task from Tasks to Doing on the Code Quest board.May 7 2018, 4:09 PM
Jeroen Bakker (jbakker) added a parent task: T54907: Workbench (parent task).
Jeroen Bakker (jbakker) updated the task description.May 7 2018, 4:31 PM
Jeroen Bakker (jbakker) added a revision: D3241: T54983: Bone selection overlay.May 8 2018, 11:42 AM
Jeroen Bakker (jbakker) triaged this task as 90 priority.May 9 2018, 10:09 AM
Jeroen Bakker (jbakker) moved this task from Doing to Reviewing on the Code Quest board.
Jeroen Bakker (jbakker) mentioned this in rB6d155dc46206: T54983: Bone selection overlay.May 11 2018, 8:18 AM
Dalai Felinto (dfelinto) lowered the priority of this task from 90 to Normal.May 14 2018, 10:00 AM
Dalai Felinto (dfelinto) moved this task from Reviewing to Done on the Code Quest board.
Dalai Felinto (dfelinto) changed the task status from Unknown Status to Resolved.May 14 2018, 10:21 AM