Il plugin VRML
permette di inserire del codice VRML all'interno di un nodo in modo che durante la sua visualizzazione sia visualizzato anche il mondo cosi' definito.
Per visualizzare VRML e' necessario installare un plugin per il proprio browser.
Plugins:
Cortona VRML Client http://www.parallelgraphics.com/products/cortona/
Cosmo Player http://cic.nist.gov/vrml/cosmoplayer.html
BS Contact http://www.bitmanagement.de/
Uso
[#vrml id='vrmlid' width='width' height='height':#]
...<your VRML code>...
[:vrml#]
id - l'id del codice VRML.
width - width della finestra sul mondo
height - height della finestra sul mondo
Esempio
...<your VRML code>...
[:vrml#]
[#vrml id='v01' width='400' height='200':]
#VRML V2.0 utf8
Group { children [
WorldInfo {title "VRML TEST"}
NavigationInfo {type ["EXAMINE", "WALK", "ANY"]}
Background {
skyAngle [ 0.075, 0.1, 0.2, 1.309, 1.5708 ]
skyColor [ 1 1 0, .9 .9 .5, .7 .7 .9, 0 0.4 1, 0 0.7 1, 1 1 1 ]
groundAngle [ 0.75, 1.4, 1.5, 1.5708 ]
groundColor [ .16 .5 0, .16 .5 0, .36 .7 .2, .46 .8 .3, .66 1 .5 ]
}
# VRML text
Transform {
children Shape {
appearance Appearance {
material Material {
diffuseColor 0.933 0.029 0.029
ambientIntensity 0.5
specularColor 0.857 0.634 0.092
emissiveColor 0.1 0.0 0.0
shininess 0.296
transparency 0.1
}
}
geometry Text {
string "Adematteis.Net"
fontStyle FontStyle {size 2.5 family "SANS" justify "FIRST" style "BOLD"}
}
}
translation -2.3 1.2 0
}
]
}
[:vrml#]

