|
#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 757
EXTERNPROTO SmallSmoke [
exposedField SFFloat taux_creation
exposedField SFInt32 particules_max
exposedField SFTime temps_de_vie
exposedField SFColor couleur_emission
exposedField SFColor couleur_finale
] ["http://media.virgal.net/deco/particles-smoke.wrl#SmallSmoke"]
# PROTO FOR LIBID 8
EXTERNPROTO SmallGround [
exposedField MFString texture
] ["http://media.virgal.net/grounds/SmallGround.wrl#SmallGround"]
# PROTO FOR LIBID 118
EXTERNPROTO FlowingCharsBG [
exposedField SFInt32 nombre
] ["http://media.virgal.net/construction/Matrix_BG.wrl?kz#FlowingCharsBG"]
# PROTO FOR LIBID 57
EXTERNPROTO CandleStick [
exposedField MFString texture
exposedField SFBool bougie_allumee
] ["http://media.virgal.net/deco/candlestick.wrl#CandleStick"]
Viewpoint {
description "POINT DE VUE INITIAL"
position -25.0948213279 1.83466 2.94783281672
orientation 0 1 0 -1.60868
}
Viewpoint {
description "POINT DE VUE INITIAL"
position -1.17525747425 1.85 0.427332266773
}
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_100031 VirgalSceneObject {
visible TRUE
translation -43.5787943247 5.18666666667 -33.7898425217
scale 0.983333333333 0.983333333333 0.983333333333
rotation 0 1 0 0
children [
ImportVrmlUrl {url "http://www.web3d-fr.com/objets/Download/alaindubus/2/chapelle.wrl"}
]
}
DEF VSO_100033 VirgalSceneObject {
visible TRUE
translation -2.25011984068 0.296666666667 4.63213613755
scale 1 1 1
rotation 0 1 0 -1.49929
children [
Inline { url "http://media.virgal.net/food/barrel/barrel.WRL" }
]
}
DEF VSO_100032 VirgalSceneObject {
visible TRUE
translation 7.79797 0.428897 4.37172
scale 1 1 1
rotation 0 1 0 2.22702
children [
Background {
leftUrl "http://media.virgal.net/_cached/skyboxes/space1/space1_lf.jpg"
frontUrl "http://media.virgal.net/_cached/skyboxes/space1/space1_fr.jpg"
rightUrl "http://media.virgal.net/_cached/skyboxes/space1/space1_rt.jpg"
backUrl "http://media.virgal.net/_cached/skyboxes/space1/space1_bk.jpg"
topUrl "http://media.virgal.net/_cached/skyboxes/space1/space1_up.jpg"
bottomUrl "http://media.virgal.net/_cached/skyboxes/space1/space1_dn.jpg"
}
]
}
DEF VSO_100034 VirgalSceneObject {
visible TRUE
translation -2.25267354516 0.25 0.747391167983
scale 1 1 1
rotation 0 1 0 -1.49929
children [
Inline { url "http://media.virgal.net/food/barrel/barrel.WRL" }
]
}
DEF VSO_100035 VirgalSceneObject {
visible TRUE
translation -2.37503731791 -0.15 4.55440155479
scale 1 1 1
rotation 0 1 0 -1.49929
children [
SmallSmoke {
taux_creation 25
particules_max 500
temps_de_vie 5
couleur_emission 0.937254901961 0.243137254902 0.243137254902 # .6 .6 .6
couleur_finale 0.917647058824 0.282352941176 0.282352941176 # .7 .7 .7
}
]
}
DEF VSO_100036 VirgalSceneObject {
visible TRUE
translation -2.26073808979 -0.15 0.763266873507
scale 1 1 1
rotation 0 1 0 -1.49929
children [
SmallSmoke {
taux_creation 25
particules_max 500
temps_de_vie 5
couleur_emission 0.937254901961 0.243137254902 0.243137254902 # .6 .6 .6
couleur_finale 0.917647058824 0.282352941176 0.282352941176 # .7 .7 .7
}
]
}
DEF VSO_100037 VirgalSceneObject {
visible TRUE
translation -24.4955149438 0.234663 2.76586564884
scale 1 1 1
rotation 0 1 0 -1.56241
children [
SmallGround {
texture "http://media.virgal.net/_cached/pubtexlib/ground/ground_pav2.jpg" # "http://media.virgal.net/pubtexlib/ground/ground07.jpg"
}
]
}
DEF VSO_100038 VirgalSceneObject {
visible TRUE
translation -18.3933 0.234663 3.02036
scale 1 1 1
rotation 0 1 0 1.0907
children [
FlowingCharsBG {
nombre 20
}
]
}
DEF VSO_100039 VirgalSceneObject {
visible TRUE
translation 19.0786295287 0.428897 2.54822453117
scale 2.41666666667 2.41666666667 2.41666666667
rotation 0 1 0 -1.57721
children [
Inline {url "http://media.virgal.net/tables/TCC006.wrl"}
]
}
DEF VSO_100040 VirgalSceneObject {
visible TRUE
translation 19.1229680303 1.69556366667 2.59815459978
scale 3.71666666667 3.71666666667 3.71666666667
rotation 0 1 0 1.62609
children [
CandleStick {
texture "http://media.virgal.net/_cached/pubtexlib/metal/pewter-b.jpg"
bougie_allumee TRUE
}
]
}
DEF VSO_100041 VirgalSceneObject {
visible TRUE
translation 12.0886733592 -1.051103 2.72824271708
scale 2.96 2.96 2.96
rotation 0 1 0 -1.57722
children [
SmallSmoke {
taux_creation 25
particules_max 500
temps_de_vie 5
couleur_emission 0.454901960784 0.756862745098 0.305882352941 # .6 .6 .6
couleur_finale 0.427450980392 0.78431372549 0.254901960784 # .7 .7 .7
}
]
}
DEF VSO_100042 VirgalSceneObject {
visible TRUE
translation 6.41651685144 0.428897 3.10320198957
scale 1 1 1
rotation 0 1 0 -1.45349
children [
## DUMMY, PLAYED BY JS ##
# Dummy {audio_url "http://media.virgal.net/sound/storm.mp3" # "dummy" }
]
}
NavigationInfo {
type "WALK"
}
WorldInfo {
title "Temple de ptitloup88"
}
Background {skyColor [.3 .3 1, .9 .9 1] skyAngle [1.5]}
|