This module produces labels that are geometries of full 3D stroke text with optional 3D shaded polygon extrusions based on the Hershey font system. They can be scaled, rotated, and translated. Other geometric operators work as well, such as colour, perspective, and material properties.
Name | Type | Description | UI Control |
label | string | label to be converted into geometry | Text |
kerning | float | spacing between characters | Slider |
stroke_width | float | width for strokes in Stroke mode or depth in 3D extrusion mode | Slider |
font | int | font used for the label | Radio Box |
linestyle | int | style of the label (Lines, Stroke Lines or 3D Extrusions) | Radio Box |
Name | Type | Description |
out | Mesh+Node_Data | contains the geometry |
obj | DataObject | directly renderable object |
The module converts a special label to a geometry. It can be altered by the following parameters:
Label
text to be converted
Kerning
Value specifying the spacing between the characters in a range from 0.0 to 3.0
Stroke_Width
Value specifying the width of the strokes in Stroke-mode and the depth in 3D-Extrusions-mode respectively in a range from 0.1 to 1.0
Font
Value specifying the font used for the label. Choice between the following fonts is possible:
LineStyle
Value specifying the style used for the label. Choice between the following styles is possible:
out
Mesh and NodeData containing the geometry and colour information.
obj
Directly renderable object that can be used with the UViewer.
The example contains the Vec3dFonts user module and an Uviewer3D. The user module provides a panel to change all parameters.
iac_proj/vec3dfnt/vec3dfnt.v Creates the IAC_PROJ.Vector3dFonts library.
iac_proj/vec3dfnt/v3f_mods.v Creates the Vector3dFontsMods library containing the low-level module Vector3dFontsCore and the parameter block
iac_proj/vec3dfnt/v3f_macs.v Creates the Vector3dFontsMacs library containing the high-level functional macro Vector3dFontsFunc, user interface macro Vector3dFontsUI and the user macro Vector3dFonts.
iac_proj/vec3dfnt/v3f_apps.v Creates the Vector3dFontsApps library containing the example application Vector3dFontsEg.
Ian Curington, Chas Williams Advanced Visual Systems, Inc.
Antje Niederlein Manchester Visualization Centre
International AVS Centre Manchester Visualization Centre Kilburn Building University of Manchester Oxford Road Manchester United Kingdom M13 9PL