direct.filter.FilterManager

from direct.filter.FilterManager import FilterManager

The FilterManager is a convenience class that helps with the creation of render-to-texture buffers for image postprocessing applications.

See Generalized Image Filters for information on how to use this class.

Still need to implement:

  • Make sure sort-order of buffers is correct.

  • Matching buffer size to original region instead of original window.

  • Intermediate layer creation.

  • Handling of window clears.

  • Resizing of windows.

  • Do something about window-size roundoff problems.

Inheritance diagram

digraph inheritanceeeb3d81be7 { bgcolor=transparent; rankdir=BT; size="8.0, 12.0"; "DirectObject" [URL="direct.showbase.DirectObject.html#direct.showbase.DirectObject.DirectObject",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="This is the class that all Direct/SAL classes should inherit from"]; "FilterManager" [URL="direct.filter.FilterManager.html#direct.filter.FilterManager.FilterManager",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top"]; "DirectObject" -> "FilterManager" [arrowsize=0.75,style=""]; }
class FilterManager(win, cam, forcex=0, forcey=0)[source]

Bases: DirectObject

notify = None