#Inventor V2.0 ascii Separator { # cube vertices Coordinate3 { point [ -1 1 1, -1 -1 1, 1 -1 1, 1 1 1, -1 1 -1, -1 -1 -1, 1 -1 -1, 1 1 -1 ] } # face normals, per-face Normal { vector [ -1 0 0, 1 0 0, 0 -1 0, 0 1 0, 0 0 -1, 0 0 1, ] } # assign normals per face NormalBinding { value PER_PART } # face colors, per-face BaseColor { rgb [ 1 0 0, # 0, red 0 1 0, # 1, green 0 0 1, # 2, blue 0 1 1, # 3, ~red 1 0 1, # 4, ~green 1 1 0, # 5, ~blue ] } # assign color ids per vertex MaterialBinding { value PER_VERTEX_INDEXED } IndexedFaceSet { coordIndex [ # define faces with vertex ids 4, 5, 1, 0, -1, # -x 3, 2, 6, 7, -1, # +x 1, 5, 6, 2, -1, # -y 0, 3, 7, 4, -1, # +y 7, 6, 5, 4, -1, # -z 0, 1, 2, 3, -1, # +z ] materialIndex [ # color ids; per face, then per vertex 3, 3, 3, 3, -1, # -x, ~red 0, 0, 0, 0, -1, # +x, red 4, 4, 4, 4, -1, # -y, ~green 1, 1, 1, 1, -1, # +y, green 5, 5, 5, 5, -1, # -z, ~blue 2, 2, 2, 2, -1 # +z, blue ] } }