#VRML V1.0 ascii
Separator { # make a book
Material { # blue
diffuseColor 0 0 1
}Cube { # front cover
height 11.0
width 8.5
depth 0.25
}
Translation { # move 1/8 unit down x-axis and one
unit down z-axis
translation -.125 0 -1
}
Material { # light blue
diffuseColor 0 .93 1
}
Cube { # content or pages
height 10.5
width 8.25
depth 2.0
}
Material { # blue
diffuseColor 0 0 1
}
Translation { # move 1/8 unit up x-axis and one unit
down z-axis
translation .125 0 -1
}
Cube { # back cover
height 11.0
width 8.5
depth 0.25
}
Translation { # move 4 3/8 units down x-axis and one
unit up z-axis
translation -4.375 0 1
}
Cube { # spine
height 11.0
width .25
depth 2.0
}
Translation { # move one unit up z-axis
translation 0 0 1
}
Cylinder { # side edge of spine
height 11.0
radius .2
}
Translation { # move two units down z-axis
translation 0 0 -2
}
Cylinder { # other side edge of spine
height 11
radius .2
}
}
Separator { # book cover text
Translation { # move 2 1/4 units up y-axis and .15
unit up z-axis
translation 0 2.25 .15
}
Material { # red
diffuseColor 1 0 0
}
AsciiText { # text, centering and width
string [ "",
"Saint",
"Petersburg",
"ElectroTechnical",
"University" ]
justification CENTER
width 8
}
} |