Output a virtual reality modelling language (VRML) file by capturing the contents of the view.
VRML is a network transparent protocol for communicating 3D graphics over the World Wide Web. The OutputVRML macro is a VRML renderer that captures a view and writes the graphics primitives for that view to a VRML-formatted file.
Four different types of output are available from the AVS/Express viewers: file output, field output, print output, and VRML output. They are derived from a single base group that provides the basic hooks into the rendering pipeline to get output from the view.
A view. The contents of this input are captured and written to the specified file.
Parameters
This string parameter specifies the name of the output file that is created. The default value is: /tmp/express.wrl
This enumerated parameter specifies the VRML protocol that writes the output file. There are two options:
A clear text ASCII encoding of the VRML 1.0c standard (29 January 1996). For details of this specification, see http://vag.vrml.org/vrml10c.html .
A clear text UTF8 encoding of the VRML 2.0 standard, ISO/IEC CD 14772 (4 August 1996). For details of this specification, see http://vag.vrml.org/VRML2.0/FINAL/spec/index.html .
This integer parameter specifies the floating point precision when real values are written to the output file. The values include spatial coordinates, normal vectors, texture coordinates, material coefficients, and transformations, but not colors.
This integer parameter must be in the range 1 to 8 inclusive. The default value is 4.
This integer parameter specifies the floating point precision when real values are written to the output file. The values include diffuse material colors, emissive material colors, and light colors.
This integer parameter must be in the range 1 to 8 inclusive. The default value is 2.
This boolean parameter flags whether the file should be written with indented nesting of VRML nodes. Indentation improves legibility, but increases the size of the output file. The default value is TRUE.
This boolean parameter determines whether a new VRML file is output each time the input view is rendered (TRUE), or whether the user must explicitly request a new file (FALSE). The default value is FALSE.
When the dynamic switch is FALSE, this one-shot parameter triggers the generation of a VRML output file. When the dynamic switch is TRUE, the user interface for this parameter is removed.