|
#VRML V2.0 utf8
#VRML V2.0 utf8
EXTERNPROTO Inline2 [ exposedField SFVec3f bboxSize exposedField SFVec3f bboxCenter exposedField MFString url exposedField MFNode children eventIn MFNode addChildren eventIn MFNode removeChildren eventIn SFBool set_unload eventOut SFBool isLoaded ] [ "urn:inet:blaxxun.com:node:Inline" "http://www.blaxxun.com/vrml/protos/nodes.wrl#Inline2" ]
EXTERNPROTO ImportVrmlUrl [ exposedField MFString url ] ["http://world3d.virgal.org/misc/ImportVrmlUrl.wrl?kzxzi#ImportVrmlUrl"]
PROTO SwitchBool [
exposedField SFBool visible TRUE
exposedField MFNode children []
] {
DEF Sw Switch {
whichChoice 0
choice [
Group { children IS children }
]
}
Script {
directOutput TRUE
exposedField SFBool visible IS visible
field SFNode Sw USE Sw
url "vrmlscript:
function initialize() {
visible(visible);
}
function visible(b) {
//print('visible('+b+')');
Sw.whichChoice = (b?0:-1);
}
"
}
}
PROTO VirgalSceneObject [
exposedField MFNode children []
eventIn MFNode addChildren
eventIn MFNode removeChildren
exposedField SFRotation rotation 0 1 0 0
exposedField SFVec3f translation 0 0 0
exposedField SFVec3f scale 1 1 1
exposedField SFBool visible TRUE
exposedField SFBool collide TRUE
exposedField SFBool weblinked FALSE
field SFString weblinkurl ""
] {
SwitchBool {
visible IS visible
children [
LOD {
range [500000]
level [
Collision {
collide IS collide
children [
Transform {
translation IS translation
rotation IS rotation
scale IS scale
children IS children
addChildren IS addChildren
removeChildren IS removeChildren
}
DEF VGAnchor_TS TouchSensor {enabled IS weblinked}
]
}
Group {}
]
}
]
}
DEF VGAnchor_Scr Script {
directOutput TRUE
mustEvaluate TRUE
url "vrmlscript:
function touch(ts) {
print('touch('+ts+'): linkurl = '+linkurl);
if(linkurl.indexOf('http://')==-1) {
print('Error : cannot open link, url is invalid ('+linkurl+')');
} else {
Browser.loadURL(new MFString('javascript:void(openExternalLink(\"'+linkurl+'\"))'), new MFString());
}
}
"
eventIn SFTime touch
field SFString linkurl IS weblinkurl
}
ROUTE VGAnchor_TS.touchTime TO VGAnchor_Scr.touch
}
# PROTO FOR LIBID 117
EXTERNPROTO Maison [
exposedField MFString texture_murs
exposedField MFString texture_sol
exposedField MFString texture_fenetre
exposedField MFString texture_porte
exposedField SFBool porte_ouvrable
exposedField SFString repetition_texture_mur_x
exposedField SFString repetition_texture_mur_y
exposedField SFString repetition_texture_sol_x
exposedField SFString repetition_texture_sol_y
exposedField MFString texture_toit
exposedField SFString repetition_texture_toit_x
exposedField SFString repetition_texture_toit_y
exposedField SFFloat epaisseur_toit
] ["http://media.virgal.net/construction/maison.wrl#Maison"]
# PROTO FOR LIBID 8
EXTERNPROTO SmallGround [
exposedField MFString texture
] ["http://media.virgal.net/grounds/SmallGround.wrl#SmallGround"]
# PROTO FOR LIBID 100
EXTERNPROTO Barriere [
exposedField MFString piliers_texture
exposedField MFString barres_texture
field SFFloat piliers_epaisseur
field SFFloat barres_epaisseur
exposedField SFBool affichage_deuxieme_barre
exposedField SFBool infranchissable
] ["http://media.virgal.net/construction/barriere.wrl?kz#Barriere"]
# PROTO FOR LIBID 99
EXTERNPROTO Ponton [
field SFFloat piliers_epaisseur
exposedField MFString texture_piliers
exposedField MFString texture_plancher
exposedField SFFloat transparence_plancher
exposedField SFFloat transparence_piliers
] ["http://media.virgal.net/construction/ponton.wrl#Ponton"]
# PROTO FOR LIBID 11
EXTERNPROTO LoveSeat [ exposedField MFString texture ]["http://media.virgal.net/chairs/LoveSeat.wrl#LoveSeat"]
# PROTO FOR LIBID 10
EXTERNPROTO ChairVI [ exposedField MFString texture ]["http://media.virgal.net/chairs/ChairVI.wrl#ChairVI"]
# PROTO FOR LIBID 41
EXTERNPROTO FrameRect [
exposedField MFString texture_cadre
exposedField MFString texture_contenu
] ["http://media.virgal.net/display/frame_rect.wrl?kz#FrameRect"]
# PROTO FOR LIBID 27
EXTERNPROTO Commode01 [
exposedField MFString texture
] ["http://media.virgal.net/furnitures/commode01.WRL#Commode01"]
Viewpoint {
description "POINT DE VUE INITIAL"
position 1.24450054995 1.85 0.639311068893
}
EXTERNPROTO VGViewpoint [
field SFString description
exposedField MFString icone
exposedField SFBool retour_origine
exposedField SFInt32 position_icone
] ["http://media.virgal.net/display/VGViewpoint.wrl?kkp#VGViewpoint"]
VGViewpoint {
description "-"
icone "http://worlds.virgal.net/vgpics/viewpoint-home_31x29.png"
retour_origine TRUE
position_icone 0
}
DEF VSO_99167 VirgalSceneObject {
visible TRUE
translation 2.9662 0 -3.5449
scale 0.933333333333 0.933333333333 0.933333333333
rotation 0 1 0 -0.552331
children [
Maison {
texture_murs "http://media.virgal.net/pubtexlib/wall/stucco_grey.jpg"
texture_sol "http://media.virgal.net/pubtexlib/floor/redtri_tile_cyc.jpg"
texture_fenetre "http://media.virgal.net/pubtexlib/windows/window_blue2.jpg"
texture_porte "http://media.virgal.net/pubtexlib/windows/window_blue2.jpg"
porte_ouvrable TRUE
repetition_texture_mur_x "5"
repetition_texture_mur_y "5"
repetition_texture_sol_x "10"
repetition_texture_sol_y "15"
texture_toit "http://media.virgal.net/pubtexlib/roof/roof02.jpg"
repetition_texture_toit_x "5"
repetition_texture_toit_y "5"
epaisseur_toit 1
}
]
}
DEF VSO_99165 VirgalSceneObject {
visible TRUE
translation 0 0 0
scale 1 1 1
rotation 0 1 0 0
children [
Background {
leftUrl "http://media.virgal.net/_cached/skyboxes/canyon1/sky0004.JPG"
frontUrl "http://media.virgal.net/_cached/skyboxes/canyon1/sky0005.JPG"
rightUrl "http://media.virgal.net/_cached/skyboxes/canyon1/sky0001.JPG"
backUrl "http://media.virgal.net/_cached/skyboxes/canyon1/sky0002.JPG"
topUrl "http://media.virgal.net/_cached/skyboxes/canyon1/sky0003.JPG"
bottomUrl "http://media.virgal.net/_cached/skyboxes/canyon1/sky0006.JPG"
}
]
}
DEF VSO_99166 VirgalSceneObject {
visible TRUE
translation 0 0 0
scale 1 1 1
rotation 0 1 0 0
children [
SmallGround {
texture "http://media.virgal.net/pubtexlib/ground/ground07.jpg"
}
]
}
DEF VSO_99170 VirgalSceneObject {
visible TRUE
translation 9.14909746558 0 6.09254838706
scale 2.36667 2.36667 2.36667
rotation 0 1 0 0.87604
children [
Barriere {
piliers_texture "http://media.virgal.net/pubtexlib/wood/ash.jpg"
barres_texture "http://media.virgal.net/pubtexlib/wood/ash.jpg"
piliers_epaisseur .06
barres_epaisseur .04
affichage_deuxieme_barre TRUE
infranchissable TRUE
}
]
}
DEF VSO_99173 VirgalSceneObject {
visible TRUE
translation -2.51922974984 0 -1.01502841554
scale 2.36667 2.36667 2.36667
rotation 0 1 0 7.30804
children [
Barriere {
piliers_texture "http://media.virgal.net/pubtexlib/wood/ash.jpg"
barres_texture "http://media.virgal.net/pubtexlib/wood/ash.jpg"
piliers_epaisseur .06
barres_epaisseur .04
affichage_deuxieme_barre TRUE
infranchissable TRUE
}
]
}
DEF VSO_99172 VirgalSceneObject {
visible TRUE
translation -1.23057955226 0 1.83729545926
scale 2.36667 2.36667 2.36667
rotation 0 1 0 5.66047
children [
Barriere {
piliers_texture "http://media.virgal.net/pubtexlib/wood/ash.jpg"
barres_texture "http://media.virgal.net/pubtexlib/wood/ash.jpg"
piliers_epaisseur .06
barres_epaisseur .04
affichage_deuxieme_barre TRUE
infranchissable TRUE
}
]
}
DEF VSO_99178 VirgalSceneObject {
visible TRUE
translation -1.58579 0 15.046
scale 1 1 1
rotation 0 1 0 2.19395
children [
Ponton {
piliers_epaisseur 0.075
texture_piliers "http://media.virgal.net/pubtexlib/wood/oak_burl.jpg"
texture_plancher "http://media.virgal.net/pubtexlib/wood/wornboards_vcyc_marron.jpg"
transparence_plancher 0
transparence_piliers 0
}
]
}
DEF VSO_99180 VirgalSceneObject {
visible TRUE
translation 9.58673417375 0 0.588397987589
scale 1 1 1
rotation 0 1 0 -0.552331
children [
Maison {
texture_murs "http://media.virgal.net/pubtexlib/wall/stucco_grey.jpg"
texture_sol "http://media.virgal.net/pubtexlib/floor/redtri_tile_cyc.jpg"
texture_fenetre "http://media.virgal.net/pubtexlib/windows/window_blue2.jpg"
texture_porte "http://media.virgal.net/pubtexlib/windows/window_blue2.jpg"
porte_ouvrable TRUE
repetition_texture_mur_x "5"
repetition_texture_mur_y "5"
repetition_texture_sol_x "10"
repetition_texture_sol_y "15"
texture_toit "http://media.virgal.net/pubtexlib/roof/roof02.jpg"
repetition_texture_toit_x "5"
repetition_texture_toit_y "5"
epaisseur_toit 1
}
]
}
DEF VSO_99182 VirgalSceneObject {
visible TRUE
translation 0.510892693405 0.0466667 -5.09212660376
scale 1.46666666667 1.46666666667 1.46666666667
rotation 0 1 0 7.37933
children [
LoveSeat {
texture "http://media.virgal.net/pubtexlib/leather/WALNUT3.jpg"
}
]
}
DEF VSO_99183 VirgalSceneObject {
visible TRUE
translation 6.0052227221 -0.0133333 -3.89816109888
scale 1 1 1
rotation 0 1 0 7.31038
children [
ChairVI {
texture "http://media.virgal.net/pubtexlib/wood/teak.jpg"
}
]
}
DEF VSO_99184 VirgalSceneObject {
visible TRUE
translation 6.14702929014 -0.0133333 -3.14507240187
scale 1 1 1
rotation 0 1 0 14.9962
children [
ChairVI {
texture "http://media.virgal.net/pubtexlib/wood/teak.jpg"
}
]
}
DEF VSO_99185 VirgalSceneObject {
visible TRUE
translation 5.13549546729 1.31333336667 -0.791308919183
scale 1.01666666667 1.01666666667 1.01666666667
rotation 0 1 0 -2.06628
children [
FrameRect {
texture_cadre "http://media.virgal.net/pubtexlib/wood/oak_white.jpg"
texture_contenu "http://media.virgal.net/privmedialib/25017_065920f4c78700846d1d4c1ff9199623.jpg" # "http://media.virgal.net/pubtexlib/color/grey30.jpg"
}
]
}
DEF VSO_99186 VirgalSceneObject {
visible TRUE
translation 6.4227461139 0.0466667 -3.60338594991
scale 0.933333333333 0.933333333333 0.933333333333
rotation 0 1 0 -2.254
children [
Commode01 {
texture "http://media.virgal.net/pubtexlib/wood/FW_WD_M.JPG"
}
]
}
DEF VSO_99187 VirgalSceneObject {
visible TRUE
translation 12.5560926447 0.623333333333 2.28366651462
scale 8.38333333333 8.38333333333 8.38333333333
rotation 0 1 0 -2.08047
children [
FrameRect {
texture_cadre "http://media.virgal.net/pubtexlib/wood/oak_white.jpg"
texture_contenu "http://world3d.virgal.org/no_cache/flash/play_flv.php?url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DsoNCwxOQ0ts&rnd=388" # "http://media.virgal.net/pubtexlib/color/grey30.jpg"
}
]
}
DEF VSO_99188 VirgalSceneObject {
visible TRUE
translation 10.6858579836 0.05 -0.544035568088
scale 1 1 1
rotation 0 1 0 1.02743
children [
LoveSeat {
texture "http://media.virgal.net/pubtexlib/leather/WALNUT3.jpg"
}
]
}
DEF VSO_99189 VirgalSceneObject {
visible TRUE
translation 9.16882984703 0.05 2.05228664577
scale 1 1 1
rotation 0 1 0 7.24897
children [
LoveSeat {
texture "http://media.virgal.net/pubtexlib/leather/WALNUT3.jpg"
}
]
}
DEF VSO_99190 VirgalSceneObject {
visible TRUE
translation 8.80030553577 0.05 -1.73258911891
scale 1 1 1
rotation 0 1 0 1.02743
children [
LoveSeat {
texture "http://media.virgal.net/pubtexlib/leather/WALNUT3.jpg"
}
]
}
DEF VSO_99191 VirgalSceneObject {
visible TRUE
translation 7.36072996973 0.05 0.771054211234
scale 1 1 1
rotation 0 1 0 1.02743
children [
LoveSeat {
texture "http://media.virgal.net/pubtexlib/leather/WALNUT3.jpg"
}
]
}
NavigationInfo {
type "WALK"
}
WorldInfo {
title "My Home"
}
Background {skyColor [.3 .3 1, .9 .9 1] skyAngle [1.5]}
|