������ ��� ����������� ������.
- ��������� :
- DEF name
- Cube {}
- ���
- DEF name
- Material {}
- ���
- DEF name
- Separator {
- DEF name
- ��������������� ����, ����������� ������
- }
- ��� ����, ����� �������� ����� ��������� ������, ���������� ������� USE.
- Separator {
- USE name
- }
WWWAnchor
������������ ��� ����, ����� ��������� ����� ����� � ������� VRML, ����� ������������ �������� ����-�������. ���� ����� ���������� ���� Separator � ��� ���������, ��� �� ��������� ��������� ����� ������� �����-�������� � ��������������� ��������� �� ���������� ����� ��������.
- ������ :
- WWWAnchor {
- description "" # SFString
- map NONE # SFEnum
- name "" # SFString
- }
- description "" # SFString
- description -
- ���������� ���������, ������� ������� ����� �������� �� ����� � ����� ������ name ������ URL.
- map -
- ���������, ����� ��� ��� ������� �������� ���������� ����� � ������������ ������� ������ � URL,
����� ������������ ������� ���� achor ( ����� ).
- ��������� �������� :
- NONE - �� ���������
- POINT - ���������� ����� �� �������, ������� ������ ������������, ����� ��������� � URL � ���� name � ������� "? x, y, z".
- ��������� �������� :
- name -
- ���������� ��������� ���� ��� ���� �� Web, ������� �������� ����� �����.
WWWInline
������� ������� �� ������� �����.
- ��������� :
- WWWInline {
- name ""
- bboxSize 0 0 0
- bboxCenter 0 0 0
- }
- bboxSize 0 0 0
- name - ���� � �����
- bboxSize,bboxCenter - ���������� ������������ ������� � ��������� ������������ �������, ���� ���� ������������ (�� �����������).
IndexedFaceSet
������������ ��� ������������� ���������� �����, ��������� �������������� � ���������, �������������� � ������� �����������.
- ������ :
- IndexedFaceSet {
- coordIndex 0 # MFLong
- materialIndex -1 # MFLong
- normalIndex -1 # MFLong
- textureCoordIndex -1 # MFLong
- }
- coordIndex 0 # MFLong
- coordIndex -
- ���������� ���������� ������ ��������������, ������ �������� ������� ���������� � 0. ��������������� �������� ������� �������� ���������� ����� ( �, �, z ). �� ����������� ������������ ������ ����� ��� ��� ����� �����, �������������� ������ �����. ������� ���������� ���������� ��� ������� ��� ������������ ������� ( ���������� ���� ����� � ������������ ) ��� ������ ����� �������������. ��������, ������ -1 � ���� coordIndex, ��������� �� ����� ������� �����. ���� ������������ �������� ���� ����� �����, ���������� �������� ������ ����� �� ��������� ��������� -1. ����� ��������� ����� ������������� ����� ���������� ��������� �������� -1.
- materilIndex -
- ���������� ������ ����������, ������� ����� �������������� ��������� ��� ������ ������� �������������.
- normalIndex -
- ���������� ������� ��������, ������� ������� ���������� ��� ����� ������� ���������. � �� ������� ����������� ������ ����� �� ������������.
- textureCoordIndex -
- ���������� ������� �������, ������� ������� ������ � ��������� ������������.
��������� VRML ���������� ������� IndexedFaceSet � ������ ���� coordinateIndex ��� ����, ����� ���������� ����� �������������. ������� ����������� ������� �������������, ��������� �������� ��������������.
���� �������� ��������� �������� ����� ��� PER_VERTEX, �� ����� ��������� ����� ���������� �������� ( ������������ ����� textureCoordinate2 ) � ��������� ������ ����� ������� ���������, ���� ����� ������. ������ ���� �������� ���������� ��� PER_VERTEX_INDEXED, ����� ����� ��������� ���������� �������� � ��������� �������������, ��������� �������, ������� �� ������� � ���� textureCoordIndex.
��� ���� ����� ������� ���������, ���������� �� �������� ������, ����������� ���������. ���� �� ����������� ������� ��������, �� �� ���������� ��������� ��������, ������� ��������� ���������� �� ��������� ����������� ��������� ��������, ��������� �������������� �������������. ������� ����� ��������������� �������������� ������ � �������� S � T. ���������� ������ ����� �������������� ���������� S-����������, � ��������� �� ����� ������ �������������� ���������� T-���������. S-���������� ���������� � �������� �� 0 �� 1, �������� �������� �� ������ ����� �������������� �� �������. ������� �������� �-��������� ���������� � �����, �������� ����� 0 � ���������� ������� �� ����� ������� �������������� � ��� ������ �������� �������.
IndexedLineSet
��������� VRML ���������� ���� ���� ��� ����, ����� ������������ ���������� ����� ����� ���������� ��������� ( polylilines ) �.�. ����������� "�����������" �������������, ��������� �������, ������������� � ������� �����������. ������� �������, ��������� ���������� �����, ������� �� �������� ���������.
- ������ :
- IndexedLineSet {
- coordIndex 0 # MFLong
- materialIndex -1 # MFLong
- normalIndex -1 # MFLong
- textureCoordIndex -1 # MFLong
- }
- coordIndex 0 # MFLong
- coordInex -
- ���������� ���������� ������ ����� ���������, ��� �������� ������� ���������� � 0. ��������������� �������� ������� ������������� ���������� ������ ( x, y, z ). ��������� ��������� �������� ����� �������������, ��� ������ �� ����������� ����� ��� ��� ����� �����, ������� ������������ ������������ �����. ���������� ���������� ��� ������� ��� ������������ �������, �.�. ��� ���������� ����� ��� ������ ����� ���������. �������� �������, ������ -1 � ���� coordIndex, ��������� �� ����� ������� �����. ���� ������������� ����� ����� ����� �����, �� ������ �� ��� �������� �� ������ ��������� -1. ����� ��������� ����� ����� ������ ���� �������� -1.
- materilIndex -
- ���������� ������ ����������, ������� ������� ����� ������������ ��� ������ ������� ���������.
- normalIndex -
- ���������� ������� ��������, ������� ������� ���������� ��� ������, �������� � ������ ������ ����� ������� ���������.
- textureCoordIndex -
- ���������� ������� ��� ������ ��������, ������� ������� ��������� � ��������� ������������ ( ��������� ).
��������� VRML ���������� ������� IndexedLineSet � ���� CoordIndex ��� ����, ����� ������ ������� ���������. ������� ����������� �������, ��������� ������� ��������������.
Normal
������������ ��� ����, ����� ���������� ��������� ���������� �������� � ������������ � ���������� ������������. ��� ������� ������������ ������, ������� ������� � �������� �������� ����� ���� Normal � ������������ �� ������������� ������. ������� �������, ��������� ���� Normal, ����� ���������� ���������� ���������� ������.
- ������ :
- Normal {
- vector 0 0 1 # MFVec3f
- }
- vector 0 0 1 # MFVec3f
NormalBinding
������������ ��� ����, ����� ����������, ��� ������� ��������� ������� ������� � �������.
- ������ :
- NormalBinding {
- value DEFAULT # SFEnum
- }
- value DEFAULT # SFEnum
- value -
- ����������, ��� ������� ��������� ������� � ��������� �����. ������� ����� ����������������
���������� ��������� ������� ��� ��������� ����.
- ��������� �������� :
- DEFAULT - ������� ���������� ���������� �� ���������
- OVERALL - ������� ���������� ���������� �� ��������� � ������ �������
- PER_FACE - ������� ���������� ��������� ������� � ������ ����� �������
- PER_FACE_INDEXED - ������� ���������� ��������� ������� � ������ ����� �������, ����������� �� ��������� ������� ���������
- PER_PART - ������� ���������� ��������� ������� ��� ������ ����� �������
- PER_PART_INDEXED - ������� ���������� ��������� ������� ��� ������ ����� �������, ����������� �� ��������� ������� ����������
- PER_VERTEX - ������� ���������� ��������� ������� ��� ������ ������� �������
- PER_VERTEX_INDEXED - ������� ���������� ��������� ������� ��� ������ ������� �������, ����������� �� ��������� ������� ����������
- ��������� �������� :