OutputField


Synopsis

Output a field in AVS/Express image format by capturing the contents of the view

Note: This object has superceded a previous version of an object with the same name. Please note that the older version's template is VIEW.Viewers.OutputField, and this version's template is GDM.Viewers.OutputField. The render_view input port present in the old template is no longer necessary when used with the new Uviewers.

V name

GDM.OutputField

Input Ports

view_in

GDview_templ

Output Ports

output_field.Output.output

Mesh_Unif+Node_Data

output_field.DataObject.obj

DefaultObject

Description

The OutputField macro defines field output. It contains a user interface that appears in the Module Panel provided by the DataViewer or ModuleStack (as appropriate).

Three different types of output are available from the AVS/Express viewers: file output, field output, and print output. They are derived from a single base group that provides the basic hooks into the rendering pipeline to get output from the view.

OutputField captures the contents of the view and writes it to an AVS/Express field. The format of the field is the same as an AVS/Express image.

Input Ports

view_in

A view. The contents of the input view are captured and written to the specified file.

Parameters

width
height

These parameters control the width and height in pixels at which the view is captured.

flip

This parameter controls whether the contents of the view are inverted before being written to the output field.

dynamic

This parameter controls whether a field is output each time the view is rendered: 0 means no; 1 means yes.

output

This parameter when set causes a field to be output. This is used when the dynamic parameter is set to a value of 0.

Output Ports

output

Field_Unif+Dim2+Space2_Node_Data+Vector4. This output is a field in AVS/Express image format.

obj

DefaultObject. This output is a renderable object. It is typically connected to one of the 2D viewers to be rendered.

Example

Not available.

File

v/gd.v , v/view.v

See also

OutputVPS