VRML1.pm
VRML::VRML1.pm - implements VRML methods with the VRML 1.x standard
use VRML::VRML1;
Following methods are currently implemented.
- at('type=value ; ...')
parameter see transform
- back
- begin('comment')
. . .
- end('comment')
- group_begin('comment')
- group_end
- anchor_begin('URL','description','parameter')
- anchor_end
- backgroundcolor('color')
- backgroundimage('URL')
- title('string')
- info('string')
- cameras_begin('whichCameraNumber')
- camera_set('positionXYZ','orientationXYZ',heightAngle) // persp. cameras
- camera('positionXYZ','orientationXYZ',heightAngle) // persp. camera
- box('width [height [depth]]','appearance')
- cone('radius height','appearance')
- cube('width','appearance')
- cylinder('radius [height]','appearance')
- line('fromXYZ','toXYZ',radius,'appearance','[x][y][z]')
- sphere('radius_x [radius_y radius_z]','appearance')
- text('string','appearance','size style family')
- transform('type=value ; ...')
Where type can be:
t = translation
r = rotation
c = center
o = scaleOrientation
f = scaleFactor
- appearance('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
.
VRML
VRML::VRML1::Standard
VRML::Basic
Hartmut Palm <palm@gfz-potsdam.de>