Transform {
translation 3 2 0
scale 0.4 0.4 1
children [
Transform {
translation -4 0.5 0
children [
DEF TEXT monitor {
rotation IS text_rotation
translation IS text_translation
scale IS text_scale
string IS string
message IS message
message_changed IS message_changed
text IS text
}
] } ## local text transformTransform {
rotation 0 1 0 3.14 ## some trick was needed
children [
Shape {
appearance DEF MAT Appearance {
material Material {
diffuseColor IS color
transparency IS transparency
} # Blue
texture MovieTexture { url IS background }
}
} ## end shape
] } ##local transform
] } ## end 0 (right)