original
Transform {
scale 2 2 2
children [
Shape {
appearance Appearance {
material Material {
diffuseColor 1 1 1
}
}
geometry IndexedFaceSet {
coord DEF COORD Coordinate {
point [ 1 -1 -1, -1 -1 -1, -1 -1 1, 1 -1 1, 1 1 -1, 1 1 1]
}
coordIndex [
3 2 1 0 -1
0 1 4 -1
2 3 5 -1
3 0 4 5 -1
1 2 4 5 -1
]
colorPerVertex TRUE
color Color {
color [ 0 0 0, 0 0 1, 0 1 1, 0 1 0, 1 0 1, 1 1 0 ]
}
}
}
]
}