Skip to content

Add shader programs to capture rgb content with optional alpha channel

Jaswant Panchumarti (Kitware) requested to merge (removed):rgb24-capture into master
  • vtkOpenGLRenderWindow sets alpha=0 for background pixels. as a result, all rgba32 captures would have black background.
  • rgba32 program can be requested to ignore alpha-channel.
  • rgb24 program is helpful when you really do not care about alpha. you can optimize memory usage by encoding rgb24 instead of rgba32
  • modify vtkJPEGVideo* to encode RGB24 and decode RGB24 instead of larger RGBA32.

Merge request reports

Loading