VRML1.pm
NAME
VRML::VRML1.pm - implements VRML methods with the VRML 1.x standard
SYNOPSIS
use VRML::VRML1;
DESCRIPTION
Following functions are currently implemented.
begin(['comment']);
. . .
end(['comment']);
backgroundcolor('color');
backgroundimage('URL');
info('string');
cameras_begin('whichCameraNumber');
camera_set('positionXYZ','orientationXYZ',heightAngle); // persp. cameras
camera('positionXYZ','orientationXYZ',heightAngle); // persp. camera
anchor_begin('URL','description','parameter');
spin_begin('axisXYZ','degree'); // Live3D only
text('string','transformation','material','size style family');
cube('width [height [depth]]','transformation','material');
cylinder('radius [height]','transformation','material');
tube('radius height','transformation','material');
disk(radius,'transformation','material');
cone('radius height','transformation','material');
sphere('radius_x [radius_y radius_z]','transformation','material');
line('fromXYZ','toXYZ',radius,'material','[x][y][z]');
transform('type=value ; ...');
Where type can be:
t = translation r = rotation c = center o = scaleOrientation f = scaleFactor
material('type=value1,value2 ; ...');
Where type can be:
a = ambientColor d = diffuseColor e = emissiveColor s = specularColor sh = shininess tr = transparency tex = texture filename[,wrapS[,wrapT]]
and color values see VRML::Color
.