| Chicago | |
|
|
|
Author | Message |
---|
alain fondateur
Number of posts : 23529 Localisation : Dompierre sur Veyle ,France Registration date : 2005-04-19
| Subject: Re: Chicago Fri 30 May - 9:30 | |
| I am a bit happy with my last idea ..
My prob was to switch from a scene to another one , all in fullscreen , but to see the desktop was hugly
My first idea was to use 2 beamers , and to switch one from the second
But I cant install 2 beamers at 6 meters height .
so I made a switch inside the wrl !
http://dumenieu.free.fr/ecole/vrml/switchchicago/appelfullscreen5cadresswitchchicago.html
I have to solve the entry viewpoint prob now .... | |
|
| |
peter le cochon +1000
Number of posts : 1032 Localisation : deutschland (sniff) Registration date : 2005-05-28
| Subject: Re: Chicago Fri 30 May - 20:38 | |
| Hi Dumdum : Your viewpoint problem is easy : Just put all your ent5ry viewpoints in the main world, and use your switching script for binding and unbinding them. - Code:
-
#VRML V2.0 utf8 DEF nuit Background { skyColor [ 0 0 0, .118 .392 .627, 0 .2 .4 ] skyAngle [ 1.309, 1.571 ] groundColor [ 0 0 0, .118 .392 .627, 0 .2 .4 ] groundAngle [ 1.309, 1.571 ]
}
DEF jour Background { groundColor [ .5 .5 .5 ] skyColor [ .5 .5 .5 ] }
Group { children [ DEF SWITCH Switch {
whichChoice 0
choice [
DEF rechicago Inline { url "rechicago1930.wrl"} DEF prision Inline { url "prisonescalier.wrl"} DEF hyvernat Inline { url "hyvernatdumgris.wrl"}
] }
] }
Transform{
translation 12 1.75 8 children[
DEF rechicago_vp Viewpoint{
description "Enter2" fieldOfView .79 position 1 0 -5 } ] }
DEF prision_vp Viewpoint {
position 20 2 -9 orientation 0 1 0 1.3 description "Entry" }
DEF hyvernat_vp Viewpoint {
fieldOfView 1.5 position 0 20 55 orientation 1 0 0 .2 description "Camera1" }
DEF SCRIPT Script {
eventOut SFBool bind_rechicago eventOut SFBool bind_prision eventOut SFBool bind_hyvernat eventIn SFBool clicked eventOut SFInt32 which field SFInt32 num 0 url "vrmlscript:
function clicked(val) { if(val) { num = (num + 1) % 3; // same as num = num + 1; if(num==3) num=0; which = num;
if(num==0){bind_rechicago=true;} if(num==1){bind_prision=true;} if(num==2){bind_hyvernat=true;}
} }
"
}
ROUTE SCRIPT.bind_rechicago TO rechicago_vp.set_bind ROUTE SCRIPT.bind_prision TO prision_vp.set_bind ROUTE SCRIPT.bind_hyvernat TO hyvernat_vp.set_bind
ROUTE SCRIPT.which TO SWITCH.whichChoice
DEF HudProx ProximitySensor {
size 500.0 100.0 500.0 center 0.0 20.0 0.0 } DEF dad_HUD_Group Transform { translation 0.11895 0.0 12.55926 rotation 0.0 -1.0 0.0 0.008 children [ DEF HUD_Group Group { children [ DEF dad_HUD_collision Transform { translation -.1 -0.25 -1 scale 0.1 0.1 0.1 children [ DEF HUD_collision Collision { collide FALSE children [ DEF dad_HUD_Button_1 Transform { children [ DEF HUD_Button_1 Group { children [ DEF Stand_Touch TouchSensor { } DEF dad_Cone1 Transform { translation -3.0 0.0 0.0 rotation 0.0 1.0 0.0 0.053 children [ DEF Cone1 Shape { appearance Appearance { material DEF Red_mat Material { ambientIntensity 0.200 shininess 0.200 diffuseColor 1.0 1 1 transparency .85 } } geometry Sphere { radius .5 } } ] } ] } ] } ] } ] } ] } ] } ROUTE HudProx.position_changed TO dad_HUD_Group.set_translation ROUTE HudProx.orientation_changed TO dad_HUD_Group.set_rotation
ROUTE Stand_Touch.isActive TO SCRIPT.clicked ROUTE Stand_Touch.isActive TO jour.set_bind What editor are you using ? It puts viewpoints into Transforms ... lol. Amicalement Peter (Don't say I am a genius... I know that ) | |
|
| |
alain fondateur
Number of posts : 23529 Localisation : Dompierre sur Veyle ,France Registration date : 2005-04-19
| Subject: Re: Chicago Fri 30 May - 21:06 | |
| LOL , indeed I thought that I was able to find the solution but I had no time to look at but I am very happy that I will upload a new repertory named : "rechicagopeter" I tested it on local and it works it will be a nice "souvenir " to open that at theater ahaha will think of you there hey Peter , I asked you 2 imes about your "external_navi.htm" on mp are you angry about me to not answer , LOl ?? btw thanx for the viewpoints you are very crazy with codes , hein , LOOOL How much are you eating at breakfast each day ? | |
|
| |
peter le cochon +1000
Number of posts : 1032 Localisation : deutschland (sniff) Registration date : 2005-05-28
| Subject: Re: Chicago Fri 30 May - 21:16 | |
| - Code:
-
num = (num + 1) % 3; // same as num = num + 1; if(num==3) num=0;
lol, I thaught that I was the only snert here arround. I do admire guys who can write somethng like that... Who did "give" you that code? He first uses a short construct (they are hard to understand) and then comments how it would have been written the traditional way. And one line below, I add this horrible thing : - Code:
-
if(num==0){bind_rechicago=true;} if(num==1){bind_prision=true;} if(num==2){bind_hyvernat=true;}
... which is the most unefficient way of switching. Sorry for that. - Code:
-
if(num==0){ bind_rechicago=true;
}else if(num==2){ bind_prision=true; }else{
bind_hyvernat=true;
}
Well, it's not a short thing, but5 it's efficient and easy to understand. Sorry, I had to make a comment on that, lol. Peter | |
|
| |
peter le cochon +1000
Number of posts : 1032 Localisation : deutschland (sniff) Registration date : 2005-05-28
| Subject: Re: Chicago Fri 30 May - 21:24 | |
| Oh, no, Alain ... how could you think that I don't answer because I am angry ... how could I be angry with dumdum? No, it's just that I don't have an answer.... let me fix it this weekend. Okay? Be fine. | |
|
| |
alain fondateur
Number of posts : 23529 Localisation : Dompierre sur Veyle ,France Registration date : 2005-04-19
| Subject: Re: Chicago Fri 30 May - 21:27 | |
| I use so many scripts that I can't remember where I found them , but I am sure that they are free to use because ....... "all you need is love , love , love " LOOOOOL "imagine ...... "imagine all the people ..........etc ) | |
|
| |
alain fondateur
Number of posts : 23529 Localisation : Dompierre sur Veyle ,France Registration date : 2005-04-19
| Subject: Re: Chicago Fri 13 Jun - 13:00 | |
| répétitions 13 juin | |
|
| |
alain fondateur
Number of posts : 23529 Localisation : Dompierre sur Veyle ,France Registration date : 2005-04-19
| Subject: Re: Chicago Sat 14 Jun - 10:48 | |
| | |
|
| |
alain fondateur
Number of posts : 23529 Localisation : Dompierre sur Veyle ,France Registration date : 2005-04-19
| Subject: Re: Chicago Sat 14 Jun - 11:19 | |
| | |
|
| |
peter le cochon +1000
Number of posts : 1032 Localisation : deutschland (sniff) Registration date : 2005-05-28
| Subject: Re: Chicago Sat 14 Jun - 12:28 | |
| looks great ... and with live music .. whoaw. What did people say about your beamed backgroundsCongrats ? Was it okay ? Congrats ! Peter (I'm still struggeling with Vista ... ... it's a crazy thing with crazy secdurity settings ... nothing works anymore like it should) | |
|
| |
alain fondateur
Number of posts : 23529 Localisation : Dompierre sur Veyle ,France Registration date : 2005-04-19
| Subject: Re: Chicago Sat 14 Jun - 12:35 | |
| | |
|
| |
peter le cochon +1000
Number of posts : 1032 Localisation : deutschland (sniff) Registration date : 2005-05-28
| Subject: Re: Chicago Sat 14 Jun - 14:07 | |
| ... and I thaught that Ash would explain to me all secrets of Vista .... - Why can't my html editor write to apache's httdocs folder ? - Why does not run ? ... why will MySQL probably not run ? We must open a thread for Vista-Victims... or ask Tutan to open a whole new forum "Windows Vista Victims", with Alain as president, me as chairman of the board, etc... etc ... The game is sort of nice ... was it done for being played on a calculator? I would call it "minimalist" if the term "minimalist" would not have such a bad influence on some artist's mood. Peter | |
|
| |
alain fondateur
Number of posts : 23529 Localisation : Dompierre sur Veyle ,France Registration date : 2005-04-19
| Subject: Re: Chicago Sat 14 Jun - 14:43 | |
| | |
|
| |
isa +2000
Number of posts : 7076 Localisation : INDRE ET LOIRE Registration date : 2005-04-19
| Subject: Re: Chicago Sat 14 Jun - 18:57 | |
| coucou Peter ... courage avec Vista ..... - Code:
-
the best for me was that the 2 pupils followed the story , alone on the puter , moving in the 3D , good ... all passed well. i hope people find that beautiful merci pour les photos | |
|
| |
Sponsored content
| Subject: Re: Chicago | |
| |
|
| |
| Chicago | |
|