Docs » plugin vrml

Versione 2 del 18.12.05, 19:30
 


Chatbox:
And all is quiet....
You have not an VRML plugin Installed

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:
star Cortona VRML Client http://www.parallelgraphics.com/products/cortona/
star Cosmo Player http://cic.nist.gov/vrml/cosmoplayer.html
star BS Contact http://www.bitmanagement.de/

Uso

[#vrml id='vrmlid' width='width' height='height':#]
...<your VRML code>...
[:vrml#]

star id - l'id del codice VRML.
star width - width della finestra sul mondo
star height - height della finestra sul mondo

Esempio

[#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#]

Tags:
OW2