������������ ��� ����, ����� ���������� ��������� ���������� ���������, ������� ����� ���� ������������� ������ ����� ��� ����� IndexedFaceSet, IndexedLineSet, PointSet.
- ��������� :
- Coordinate3 {
- point 0 0 0 # MFVec3f
- }
- point 0 0 0 # MFVec3f
- ���� point ������ ��� ������������� ���������� ���������.
Translation
���������� ���������� �������.
- ��������� :
- Translation {
- translation 1 2 3 # �.�. �������������� x=1, y=2, z=3
- }
��� �������� ������-���� ������� �� ��������� �� ���������� � �������� ������. ���, ��� �������� ���� ���������, ��� �������� ������. ��-����� ��� �� ���������� ��������� ���� Translation.
����������, ��������� � Translation, �������� �������������� �� ��������� � ����������� ���� Translation.
Separator
������������ ����� � ��������.
- ��������� :
- Separator {
- ������ ����
- }
� VRML ���������� �������: �������� ����� (Translation, Material � �.�.) ��������� �� ��� ������ ������ �������.- ���� Separation - ������������ ���������, ������� ����� ��������� ������ ���� � �������, � ������������ ������� �������� ����� ���� Translation � Material.
- ��� ����, ����� �������� ����� ��������� ������, ���������� ������� USE.
- Separator {
- ���� Separation - ������������ ���������, ������� ����� ��������� ������ ���� � �������, � ������������ ������� �������� ����� ���� Translation � Material.
- USE name
- }
Rotation
�������� ������ ������ ����.
- ��������� :
- Rotation {
- rotation 0 1 0 1.57
- }
- ������ ��� ����� ��������� �� ����������� �������� ������ �� ���� x,y,z ��������������.
��������� ����� ��������� ���� �������� � ��������.���� � �������� ���� � �������� 30 0.52 45 0.78 60 1.04 90 1.57 180 3.14 270 4.71
Scale
��������������� �����.
- ��������� :
- Scale {
- scaleFactor 1 1 1 # ���������� ������������ ��������������� �� x,y,z ��������������
- }
- ���� Scale ������������ ������ �� ������ ��� ���������� ����������.
Group
������������ ��� ����, ����� ���������� ������� ����� ��� ����� ������ �����.
- ������ ( ������ ���� �� ����� ����� ):
- Group {
- # Child nodes defined here
- }
- # Child nodes defined here
���� Group ���������� ����-���������, ������� �������� ������������� ������ �����-��������. ���� Group �� �������� ������� ������ ( ������ ��������� ��������� ����� � �������, � ������� ������� �� ������������� ). ��� ��� ���� ������ ��������� �����, VRML �������� ������� ��������� ( �����, ��������, ������������� � �.�.) ������� ������������ ����-�������. ���� Group �� ��������� � �� ��������������� ������� ������, � ����������������� ������, ������������� ����� Separator, ������� ��������� � ��������������� ���������.
LOD
��������� VRML ���������� ���� LOD ( Level of Detail - ������� ����������� ) ��� ����, ����� ��������� �������� ������������� ������������� ����� ���������� ��������������� �������� ������ ����� �����. ����� �������� ������� ����� ������� ��� �������� �� ������, ����������� �� �����������, ������������� ������������� �� ������� � �������.
- ������ :
- LOD {
- center 0 0 0 # SFVec3f
- range [ ] # MFFloat
- }
- center 0 0 0 # SFVec3f
- center -
- ���������� ����� ������ �������� LOD. ������� ��������� ������� �������������� � ������ �������.
- range -
- ���������� ������ ��������, ������� ������������� ����������� �� ������������ �� ������ ������ �������� � ���� LOD. ������� ���������� ������� ���������� �� ������� �������� � ������� range. ���� ���������� ������, ��� ������ �������� �������, ������� ������������� ������� ������� ������ LOD. ���� ���������� ������, ��� ������ �������� �������, �� ������, ��� ������ ��������, �� ������� ������������� ������� ������� ������ LOD � �.�.
Switch
������������ ��� ����, ����� �������� � ��������� ��������. � ����������� �� �������� ������ ����, ������, ��������� � ����, ����� ���� � �������� ��� ������ � ����������, ���������� ����� Group.
- ������ :
- Switch {
- whichChild -1 # SFLong
- }
- whichChild -1 # SFLong
- whichChild -
- ���� ��������� �������� -3, �� ���� ����� ���� � �������� ��� ��, ��� ���� Group. ���� �������� ���� whichChild ����� -1, �� ���� ���������� �������� ���� ����� ��������. �������� whichChild ��������� �������, � �������� ���� �������� �������. ������ ������� ����� �������� �������, ������ 0.
TransformSeparator
������������ ����� �� �������, ��� � ���� Separation. ��� ���� ��������� ��������� ����� ����� ��������� � �����-��������. ���������� ��� ���� ��������������� ��������� ����� ����� ��������� ��������� �����-��������. �� ��������������� ���� ��������� ������ ������� ��������������, ��� ��������� ��������� ��������� �������� ��������������.
- ������ :
- TransformSeparator {
- # Other nodes here
- }
- # Other nodes here
��������� VRML ���������� ���� ���� ��� ���������������� ������, ��������� �������������� ������������ ������ �� ������������ �� ��������� �����. ����� ����, ��������� VRML ���������� ���� ����, ����� ����������� �������������� ������������ ���������� ����� � ������ ��������.