VRML datoteka objekta na sliki 3.1 (stran ).
#VRML V1.0 ascii
Coordinate3 {
point[ 0 0 0,
3 0 0,
3 2 0,
0 2 0,
0 0 3,
3 0 3,
3 2 3,
0 2 3,
1.5 1 5 ]
}
Material{
diffuseColor 1 0 0
}
IndexedFaceSet {
coordIndex[ 0, 1, 5, 4, -1,
1, 2, 6, 5, -1,
2, 3, 7, 6, -1,
3, 0, 4, 7, -1,
0, 1, 2, 3, -1 ]
}
Material{
diffuseColor 0 1 0
}
IndexedFaceSet {
coordIndex[ 4, 5, 8, -1,
5, 6, 8, -1,
6, 7, 8, -1,
7, 4, 8, -1 ]
}