|
#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 65
EXTERNPROTO Fan01 [
exposedField SFTime vitesse
exposedField SFBool actif
] ["http://media.virgal.net/furnitures/fan01.WRL?k#Fan01"]
# PROTO FOR LIBID 19
EXTERNPROTO C3Room [
exposedField MFString video_face
exposedField MFString video_gauche
exposedField MFString video_fond
exposedField MFString video_droite_1
exposedField MFString video_droite_2
] ["http://media.virgal.net/scenes/C3-room/room.wrl?x#C3Room"]
# PROTO FOR LIBID 11
EXTERNPROTO LoveSeat [ exposedField MFString texture ]["http://media.virgal.net/chairs/LoveSeat.wrl#LoveSeat"]
# PROTO FOR LIBID 98
EXTERNPROTO SimpleBird [
exposedField SFColor couleur
] ["http://media.virgal.net/animals/simple-bird.wrl#SimpleBird"]
# PROTO FOR LIBID 55
EXTERNPROTO IMac [
exposedField MFString texture_ecran
]
["http://media.virgal.net/computer/imac.WRL#IMac"]
Viewpoint {
description "POINT DE VUE INITIAL"
position 1.52059329167 1.85 -4.65813641336
orientation 0 1 0 0
}
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_99136 VirgalSceneObject {
visible TRUE
translation 3.40656606229 -0.751003 -17.788519191
scale 0.843333333333 0.843333333333 0.843333333333
rotation 0 1 0 0.915911
children [
SmallSmoke {
taux_creation 25
particules_max 500
temps_de_vie 5
couleur_emission .6 .6 .6
couleur_finale .7 .7 .7
}
]
}
DEF VSO_99135 VirgalSceneObject {
visible TRUE
translation 4.1222017754 0.408997 -5.93697886115
scale 1 1 1
rotation 0 1 0 7.17151
children [
Fan01 {
vitesse .75
actif TRUE
}
]
}
DEF VSO_99133 VirgalSceneObject {
visible TRUE
translation 1.10351 0.1 -4.57227
scale 1 1 1
rotation 0 1 0 0
children [
C3Room {
video_face []
video_face []
video_face []
video_face []
video_face []
}
]
}
DEF VSO_99134 VirgalSceneObject {
visible TRUE
translation 0.767665767884 -0.0866666666667 -8.33761641856
scale 1.43333333333 1.43333333333 1.43333333333
rotation 0 1 0 3.15094
children [
LoveSeat {
texture "http://media.virgal.net/pubtexlib/leather/WALNUT3.jpg"
}
]
}
DEF VSO_99142 VirgalSceneObject {
visible TRUE
translation 6.44867 0.408997 -14.2955
scale 1 1 1
rotation 0 1 0 -0.639035
children [
SimpleBird {
couleur 1 1 1
}
]
}
DEF VSO_99143 VirgalSceneObject {
visible TRUE
translation 3.1206 0.408997 -4.75908
scale 1 1 1
rotation 0 1 0 0.628075
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_99141 VirgalSceneObject {
visible TRUE
translation 3.38220631865 1.40899666667 -1.07331200458
scale 1 1 1
rotation 0 1 0 22.2946
children [
IMac {
texture_ecran []
}
]
}
DEF VSO_99140 VirgalSceneObject {
visible TRUE
translation -3.67285921787 1.50232666667 -2.20126804639
scale 1 1 1
rotation 0 1 0 21.3616
children [
IMac {
texture_ecran []
}
]
}
DEF VSO_99138 VirgalSceneObject {
visible TRUE
translation -0.292871550686 1.47566 -0.690033110613
scale 1 1 1
rotation 0 1 0 9.30404
children [
IMac {
texture_ecran []
}
]
}
DEF VSO_99139 VirgalSceneObject {
visible TRUE
translation -1.62872753249 1.47566 -1.67007891542
scale 1 1 1
rotation 0 1 0 15.3101
children [
IMac {
texture_ecran []
}
]
}
DEF VSO_99137 VirgalSceneObject {
visible TRUE
translation 1.80395789722 1.47566366667 -0.827591955987
scale 1 1 1
rotation 0 1 0 3.26242
children [
IMac {
texture_ecran []
}
]
}
NavigationInfo {
type "WALK"
}
WorldInfo {
title "Vaisseau Spacial"
}
Background {skyColor [.3 .3 1, .9 .9 1] skyAngle [1.5]}
|