


brede_vrml_text - Write a text in VRML
function brede_vrml_text(file, string, ...
'PropertyName', 'PropertyValue')
Input: file VRML2 filename of file identifier
string Text string to be rendered
Property: Color Same as DiffuseColor
DiffuseColor [ {0.7} ] Diffuse color for the points
EmissiveColor [ {0.2} ] Emissive color for the points
Position [ 0 0 0 ] X, y, z coordinate for the
position of the text
Scale [ {1} ] Size of the points
Url [ {''} ] URL for point
UrlParameter [ {'target=_new'} ] Url parameter for
point
Creates a string in a VRML2 file.
Example:
fid = brede_vrml_open('test.wrl');
fprintf(fid, 'Shape { geometry Box {} }\n');
brede_vrml_text(fid, 'C''est ne pas une caisse', ...
'Position', [ 0 0 1 ]);
fclose(fid)
See also BREDE, BREDE_VRML, BREDE_VTA_OPEN, BREDE_TA3_LOC.
$Id: brede_vrml_text.m,v 1.4 2007/03/12 09:12:08 fn Exp $