media @ VU
template-dialog.vr
template-dialog.vr
(wrl
)
[ flux /
bitmanagement /
cortona /
octaga
]
dialog
extern
#@extern extern-proto-dlp-monitor.wrl
#@extern extern-proto-avatar-red.wrl
#@extern extern-proto-avatar-cutie.wrl
#@extern extern-proto-avatar-sport.wrl
#@extern extern-proto-avatar-bulb.wrl
instances
PROTO box [
exposedField SFVec3f size 1 1 1
]{
Box { size IS size }
}
#@proto proto-displaybox.vr
root monitor left right
DEF layer Switch {
whichChoice @layer
choice [
DEF root Transform {
children [
DEF display displaybox {
url "eye.gif"
show @display
alpha 0.5
shape @shape
scene @scene
}
DEF monitor dlp-monitor { string "" translation 2.5 -2 0 scale 0.2 0.2 0.2 }
DEF right avatar-@right {
visible -1
persona @r_persona
dialog @r_bulb
translation @r_p
rotation 0 1 0 -1.40
type 0
color @r_color
transparency @r_a
bulb_translation -2.0 0 0
bulb_scale 2.5 1 1
text @r_text
text_scale 0.5 1 1
background @l_bg
##string [ " A" " V" " I" " D" ]
}
DEF left avatar-@left {
visible -1
persona @l_persona
dialog @l_bulb
type 1
color @l_color
translation @l_p
rotation 0 1 0 1.40
bulb_scale 2.5 1.5 1
transparency @l_a
text_translation -1 0 0
text_scale 0.7 1 1
text 1 1 0
background @r_bg
}
]}
Layer3D {
depth -10
translation 0 0
size 1 1
viewpoint Viewpoint { position 0 0 10 }
navigationInfo NavigationInfo { headlight TRUE type ["NONE"] }
children [
Transform {
##translation 0 0 3
scale 1.8 1.8 1.8
children [
DirectionalLight { }
USE root
]}
]}
]} ## layer
scene
NavigationInfo { type ["WALK","ANY"] }
DEF v1 Viewpoint { position 0 0 5 }
(C) A. Eliëns
21/5/2007
You may not copy or print any of this material without explicit permission of the author or the publisher.
In case of other copyright issues, contact the author.