Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • VTK VTK
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 759
    • Issues 759
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 203
    • Merge requests 203
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • VTK
  • VTKVTK
  • Merge requests
  • !6812

Add outline glow render pass

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Christian Butz requested to merge ChrisB/vtk:add-outline-glow into master Apr 24, 2020
  • Overview 46
  • Commits 1
  • Pipelines 10
  • Changes 11

Outline glow pass draws a glowing outline of a scene. Combined with layered renderers this can be used to highlight parts of a scene. Outline glow uses render passes to first draw the scene, apply gaussian blur and then draw the blurred image only where no pixels were drawn in the original scene. The result is an outline with a hard edge on the inside and a smooth edge on the outside.

In order to make the layered rendering approach work, I had to make one alteration to an already existing vtk class. A vtkImageProcessingPass will now clear its render target before rendering to it. Without this, the render target would be filled with whatever data is in the graphics memory of the render target.

I could not observe any impact of this change on other render passes derived from vtkImageProcessingPass. But then again, I am not familiar with all the intricacies of vtk's rendering.

Edited Apr 28, 2020 by Christian Butz
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: add-outline-glow