Building primitive shapes
textvert.wrl
#VRML V2.0 utf8
DEF Marker Shape {
appearance DEF White Appearance {
material Material { }
}
geometry Sphere { radius 0.2 }
}
# Horizontal left-to-right
Shape {
appearance USE White
geometry Text {
string "T e x t"
fontStyle FontStyle {
justify "BEGIN"
horizontal TRUE
leftToRight TRUE
topToBottom TRUE
}
}
}
# Horizontal right-to-left
Shape {
appearance USE White
geometry Text {
string "T e x t"
fontStyle FontStyle {
justify "BEGIN"
horizontal TRUE
leftToRight FALSE
topToBottom TRUE
}
}
}
# Vertical top-to-bottom
Shape {
appearance USE White
geometry Text {
string "Text"
fontStyle FontStyle {
justify "BEGIN"
horizontal FALSE
leftToRight TRUE
topToBottom TRUE
}
}
}
# Vertical bottom-to-top
Shape {
appearance USE White
geometry Text {
string "Text"
fontStyle FontStyle {
justify "BEGIN"
horizontal FALSE
leftToRight TRUE
topToBottom FALSE
}
}
}