jit.pwindow

In-Patcher Window

Description

The jit.pwindow object takes a Jitter matrix (a 4-plane char matrix) and displays the numerical values as a visual image in a window you can place in any patcher, as opposed to its close relative the jit.window object, which displays data in its own free-floating window.

Arguments

None.

Messages

bang Outputs the currently stored matrix.
jit_matrix matrix-name [symbol] Draws the matrix specified by matrix-name in the in-patcher window.
(mouse) If the idlemouse attribute is set, information about the position and state of the mouse will be sent out the object's dumpout outlet.

Attributes

Name Type g/s Description
border float Draw border flag (default = 0)
def.:0.
bordercolor float Sets the Border Color in RGBA format. The Draw border flag must be set for the border to be visible.
def.:0. 0. 0. 1.
colormode symbol Color mode (default = argb). Possible values are argb or uyvy.
def.:argb
depthbuffer int Depth buffer flag (default = 0) When the flag is set, a depth buffer is allocated so that OpenGL contexts made with the jit.gl.render object can provide hidden-surface removal.
def.:1
doublebuffer int Back buffer flag (default = 1) When the flag is set, a back buffer is allocated so that images can be drawn in multiple steps before viewing. Only applicable to OpenGL rendering. For non OpenGL related back buffers, see the onscreen attribute.
def.:1
dstrect int Destination rectangle left top bottom right (default = 0 0 width height ) This is the portion of the output matrix written to by the input matrix. All values are relative to the top left corner of the object's viewing area.
def.:0 0 320 240
fsaa int Full scene anti-aliasing flag (default = 0) When the flag is set, 3d graphics rendered into jit.pwindow will use full scene antialiasing. Support for full scene anti-aliasing depends on your graphics card, current graphics card settings, and available VRAM. Please consult the documentation or technical specs for your graphics card for more information. By default, full scene anti-aliasing is turned off.
def.:0
global_rect float Specifies the global screen coordinates rectangle.
idlemouse int Mouse on idle flag (default = 0) When the flag is set, mouse messages are sent on idle over window without the user clicking.
def.:0
interp int Interpolation flag (default = 0) When the flag is set, the incoming matrix is interpolated when scaling to display.
def.:0
name symbol Sets the instance name. If no name is given, a new and unique name will be generated.
onscreen int Onscreen drawing flag (default = 1) When the flag is set, drawing is direct on the screen rather than using an offscreen buffer.
def.:1
planemap int Input plane to output plane map alpha red green blue (default = 0 1 2 3)
def.:0 1 2 3
size int Size of window width height (default = 80 60)
srcrect int Source rectangle left top bottom right (default = 0 0 matrix-width matrix-height ) All values are relative to the top left corner of the input matrix.
def.:0 0 320 240
stereo int Toggles the stereoscopic context flag (default = 0/off).
def.:0
usedstrect int Destination rect flag (default = 0) When the flag is set, the dstrect attributes are used when copying an input matrix to the output.
def.:0
usesrcrect int Destination rect flag (default = 0) When the flag is set, the srcrect attributes are used when copying an input matrix to the output.
def.:0

Information for box attributes common to all objects

Examples

See Also

Name Description
jit.gl.render Render Open GL
jit.window Display data in a Window
Jitter Tutorial 2: Create a Matrix Jitter Tutorial 2: Create a Matrix
Jitter Tutorial 31: Rendering Destinations Jitter Tutorial 31: Rendering Destinations
Jitter Tutorial 38: Basic Performance Setup Jitter Tutorial 38: Basic Performance Setup
Jitter Tutorial 39: Spatial Mapping Jitter Tutorial 39: Spatial Mapping
Jitter Tutorial 45: Introduction to using Jitter within JavaScript Jitter Tutorial 45: Introduction to using Jitter within JavaScript
Jitter Tutorial 49: Colorspaces Jitter Tutorial 49: Colorspaces