LouiZeForum

3D vrml
 
HomeHome  FAQFAQ  SearchSearch  RegisterRegister  MemberlistMemberlist  UsergroupsUsergroups  Log in  3Dchats / forums3Dchats / forums  

Share | 
 

 Chicago

View previous topic View next topic Go down 
Go to page : Previous  1, 2
AuthorMessage
alain
fondateur
fondateur


Number of posts : 23026
Localisation : Dompierre sur Veyle ,France
Registration date : 2005-04-19

PostSubject: 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 ....

_________________
http://mixed3d.net/
Back to top Go down
View user profile
peter le cochon
+1000
+1000


Number of posts : 1032
Localisation : deutschland (sniff)
Registration date : 2005-05-28

PostSubject: 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.

Wink

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 pig

(Don't say I am a genius... I know that Laughing )
Back to top Go down
View user profile
alain
fondateur
fondateur


Number of posts : 23026
Localisation : Dompierre sur Veyle ,France
Registration date : 2005-04-19

PostSubject: Re: Chicago   Fri 30 May - 21:06

LOL , indeed I thought that I was able to find the solution Smile
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 Smile

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 ? Smile

_________________
http://mixed3d.net/
Back to top Go down
View user profile
peter le cochon
+1000
+1000


Number of posts : 1032
Localisation : deutschland (sniff)
Registration date : 2005-05-28

PostSubject: Re: Chicago   Fri 30 May - 21:16

Laughing

Code:

            num = (num + 1) % 3;
            // same as  num = num + 1; if(num==3) num=0;

scratch 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. Embarassed

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 pig
Back to top Go down
View user profile
peter le cochon
+1000
+1000


Number of posts : 1032
Localisation : deutschland (sniff)
Registration date : 2005-05-28

PostSubject: Re: Chicago   Fri 30 May - 21:24

Very Happy Oh, no, Alain ... how could you think that I don't answer because I am angry Sad ... scratch 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.

pig
Back to top Go down
View user profile
alain
fondateur
fondateur


Number of posts : 23026
Localisation : Dompierre sur Veyle ,France
Registration date : 2005-04-19

PostSubject: 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 Smile)

_________________
http://mixed3d.net/
Back to top Go down
View user profile
alain
fondateur
fondateur


Number of posts : 23026
Localisation : Dompierre sur Veyle ,France
Registration date : 2005-04-19

PostSubject: Re: Chicago   Fri 13 Jun - 13:00

répétitions

13 juin








_________________
http://mixed3d.net/
Back to top Go down
View user profile
alain
fondateur
fondateur


Number of posts : 23026
Localisation : Dompierre sur Veyle ,France
Registration date : 2005-04-19

PostSubject: Re: Chicago   Sat 14 Jun - 10:48

on stage















_________________
http://mixed3d.net/
Back to top Go down
View user profile
alain
fondateur
fondateur


Number of posts : 23026
Localisation : Dompierre sur Veyle ,France
Registration date : 2005-04-19

PostSubject: Re: Chicago   Sat 14 Jun - 11:19

















_________________
http://mixed3d.net/
Back to top Go down
View user profile
peter le cochon
+1000
+1000


Number of posts : 1032
Localisation : deutschland (sniff)
Registration date : 2005-05-28

PostSubject: Re: Chicago   Sat 14 Jun - 12:28

Cool looks great ... and with live music .. whoaw.

What did people say about your beamed backgroundsCongrats ?

Was it okay ?

Congrats !

Peter pig

(I'm still struggeling with Vista ... Crying or Very sad ... it's a crazy thing with crazy secdurity settings ... nothing works anymore like it should)
Back to top Go down
View user profile
alain
fondateur
fondateur


Number of posts : 23026
Localisation : Dompierre sur Veyle ,France
Registration date : 2005-04-19

PostSubject: Re: Chicago   Sat 14 Jun - 12:35

I think it was OK and they liked it

the best for me was that the 2 pupils followed the story , alone on the puter ,
moving in the 3D ,
I had nothing to do to help them Smile

hey , Peter you have a message frem Asheanor about Vista

http://closed.forumactif.com/3d-gallery-f26/passage-t2273.htm#67411

( and try the game if time Smile

be well

_________________
http://mixed3d.net/
Back to top Go down
View user profile
peter le cochon
+1000
+1000


Number of posts : 1032
Localisation : deutschland (sniff)
Registration date : 2005-05-28

PostSubject: Re: Chicago   Sat 14 Jun - 14:07

Laughing ... 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 PHP 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.

What a Face

Peter pig
Back to top Go down
View user profile
alain
fondateur
fondateur


Number of posts : 23026
Localisation : Dompierre sur Veyle ,France
Registration date : 2005-04-19

PostSubject: Re: Chicago   Sat 14 Jun - 14:43


_________________
http://mixed3d.net/
Back to top Go down
View user profile
isa
+2000
+2000


Number of posts : 7076
Localisation : INDRE ET LOIRE
Registration date : 2005-04-19

PostSubject: Re: Chicago   Sat 14 Jun - 18:57

coucou Peter ...Smile courage avec Vista ..... shakng2

Code:
the best for me was that the 2 pupils followed the story , alone on the puter ,
moving in the 3D ,

good Smile ... all passed well. i hope people find that beautiful

merci pour les photos Smile

_________________
http://mixed3d.free.fr/spip/?feed=rss2
Back to top Go down
View user profile http://isaworld.free.fr/site/
Sponsored content




PostSubject: Re: Chicago   

Back to top Go down
 
Chicago
View previous topic View next topic Back to top 
Page 2 of 2Go to page : Previous  1, 2
 Similar topics
-
» Chicago Dream -OUVERTURE LE 23/01/2017-
» Les Secrets de Palm Springs
» DG Chicago
» Salon auto de Chicago 2013 : Volkswagen édition limitée Beetle GSR
» H.S. Les Black Hawks de Chicago gagnent la coupe Stanley

Permissions in this forum:You cannot reply to topics in this forum
LouiZeForum :: ARTS :: Cinéma / movies-
Jump to: