LouiZeForum

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

Share | 
 

 'swimming' contest

View previous topic View next topic Go down 
Go to page : 1, 2  Next
AuthorMessage
hermetic
10/20


Number of posts : 46
Registration date : 2005-05-14

PostSubject: 'swimming' contest   Wed 19 Oct - 12:38

I would like to visit some worlds with really good water and swimming abilities in vrml.
While ISA pointed me to the fact I had no (virtual) real water in piratez world, it's true, I have not made the water so that people could swim in it. Also, well, I did not see a nice vrml world where you can really 'swim' in water anyway around!?!

Anyone here knows such a world?
What I have in mind maybe is a scripting where if user if dont moves in water(->swims), one sinks.

So links to worlds here of that topic would be great, please post them if they are such.
Back to top Go down
View user profile
Erny
1/20


Number of posts : 7
Localisation : Germany
Registration date : 2005-09-11

PostSubject: Re: 'swimming' contest   Wed 19 Oct - 22:36

bonMoin

in my S.O.S world I realized a endless ocean scene with wavedepending y-position-offset off the user. Submarine also the sound and fog values changing.

A script to sunk on non-swimming... add this and enter the viewpoint "sunk here".

Conditions:
water level 0 m
swim level +1 m
sunk step -0.01 m
go up step +0.02 m

speed is depending on computers speed
(tested with 3 years old 900 Mhz/ATI Rage 128 pro)


Code:

#VRML V2.0 utf8

DEF   sunkpoint Transform   {
   children [
      Viewpoint   {
         position 0 1 0
         description   "sunk here"
      }
   ]
}

DEF   ps_user ProximitySensor   {
   size 10000 10000 10000
   enabled   TRUE
}

DEF   ts_trigger TimeSensor   {
   cycleInterval   1
   loop TRUE
   startTime   0
   stopTime 0
   enabled   TRUE
}

DEF   scr_sunk Script   {
   eventIn   SFFloat sunkme
   eventIn   SFVec3f   userpos_val
   field   SFVec3f   last_userpos 0 1 0
   field   SFVec3f userpos 0 1 0
   field   SFNode vp USE   sunkpoint

   directOutput TRUE

   url   "javascript:
   function userpos_val(val) {
      userpos = val;
   }
   
   function sunkme() {
      if(userpos[0] == last_userpos[0] && userpos[2] == last_userpos[2]) {
            vp.translation[1] = vp.translation[1] - 0.01;
         }
         else if (userpos[1] <= 1) {
            vp.translation[1] = vp.translation[1] + 0.02;
         }
         last_userpos = userpos;
   }
   "
}

ROUTE   ts_trigger.fraction_changed TO scr_sunk.sunkme
ROUTE   ps_user.position_changed TO   scr_sunk.userpos_val

If you have questions or problems post it here.

bye
Erny
Back to top Go down
View user profile http://ernys.de
isa
+2000
+2000


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

PostSubject: Re: 'swimming' contest   Thu 20 Oct - 12:13

Quote :
While ISA pointed me to the fact I had no (virtual) real water in piratez world, it's true, I have not made the water so that people could swim in it

Hello Hermétic and Erny you go well?

Smile yes hermétic I me recall have said we can not swimm in piratez but you know I am not quickly to be able to swim in your home:) it seems to me with the sharks I risk my skin:) so take your time pleaseeeeeeee ... Smile
good day .and see you soon on piratez Hermétic Smile and work well on your world .

flower isa

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


Number of posts : 564
Age : 70
Localisation : Canada
Registration date : 2005-05-09

PostSubject: "water water everywhere ..."   Mon 24 Oct - 10:45

hi herm

I found the water in "The Bridge" fascinating.

"The Bridge" can be found via Erny's MATRIX.

Smile X
Back to top Go down
View user profile http://cyberhenge.ca
alain
fondateur
fondateur


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

PostSubject: Re: 'swimming' contest   Mon 24 Oct - 10:51

Tsssssssssss lol X , Erny has a great portal but Louise too :

http://louisedesavoie.forumactif.com/viewtopic.forum?t=504
so ....

http://vrml.walter-kirste.com/no_cache/contact.htm



How are you X ? better ? Did you saw we have contest 2005 here , and gabriel in art / photography , and many other new things ......

_________________
http://mixed3d.net/
Back to top Go down
View user profile
hermetic
10/20


Number of posts : 46
Registration date : 2005-05-14

PostSubject: virtual swimming examples is here   Tue 25 Oct - 8:17

Hi,
example ready, well not too well %(.
Check this, nearly 'really' swimming in VRML:
http://www.cyworx.com/worlds/coconutisland/index.wrl
It works in bxx and cosmo. (Cortona works not cause cortona dont detects
ground gravitation if user dont moves, Sergey told).
Thanx to Erny, his example helped me to find the bug in my code.

Sadly if you try the swimming example in bxx-CHAT it dont works.
Compare with:
http://developer.blaxxun.com/cgi-bin/frameset/frameset.pl?url=http://www.cyworx.com/worlds/coconutisland/index.wrl&title=COCONUTISLAND(previev)+hermetique

we had a discussion in bxx-chat, guessing why that happens, Fabricator ment that bxx-chat
uses proxy sensor to detect av movement, so the proxy to detect if user 'swimms' does not get all the needed values.
Hmmm.
Only Holger may know?

If you know how this can be fixed or have better examples, tell us.
Back to top Go down
View user profile
hermetic
10/20


Number of posts : 46
Registration date : 2005-05-14

PostSubject: bridge   Tue 25 Oct - 9:28

ah, I remember the bridge (from geenhorn? when I remember right)

Sadly this is the 'old' way, not the 'swimming I hopened to find:
you simply 'walk' on a gound under the water surface (I guess).

well I like the world anyway, nice one Wink
Back to top Go down
View user profile
X
+200
+200


Number of posts : 564
Age : 70
Localisation : Canada
Registration date : 2005-05-09

PostSubject: Re: 'swimming' contest   Thu 27 Oct - 5:22

Hi Hermi

I found that your reverse-gravity (bouyancy simulation?) in Non-Chat version hindered my swimming.

I was glad it did not work in Blaxx chat version, because then I was able to switch to "FLY" and swim smoothly. That made me think:

David R. Nadeau's "loader.wrl" was used in my X-DEMENTIA to achieve
relative positioning of visitors as they crossed between similiar worlds. Hmmm!

SUGGESTION:

Have 2 versions of COCONUT ISLAND in path, one using "WALK" Navigation (above water surface) and one using "FLY" Navigation below water surface.. Double the entire ocean surface and layer it as 2 anchored (linked) layers: one above (visible) and one below (invisible).

"Loader" is tricky. Probability of success is low. But, I got lucky with it and linked 11 worlds together with relative visitor-positioning once, so maybe you can here. And, it was great fun playing with it.

Good luck if you go this way.

Smile X

P.S. Loved your shading of things above surface as seen from below.


Last edited by on Sun 30 Oct - 22:44; edited 1 time in total
Back to top Go down
View user profile http://cyberhenge.ca
X
+200
+200


Number of posts : 564
Age : 70
Localisation : Canada
Registration date : 2005-05-09

PostSubject: Perl and bvh   Fri 28 Oct - 9:59

I was just at CYWORX? and I saw that you are deep into Perl.

Over the past few months, you have seen one or another of "my" Motion Capture dancers (ie.my mermaid). I acknowledged NIST near summer's end in ATLANTIS and was saying that I hoped one day thyme would incorporate bvh2wrl conversion into Seamless and -- voila: here's griff suggesting a way to inject some motion capture into one of thyme's avatars, while publishing the NIST links in the Seamless forum.

http://seamless3d.proboards32.com/index.cgi?board=general&action=display&thread=1126898370

So I spoke up again about I am dying (dancing?) to convert my growing collection of bvh files (I want them all!) to VRML to start connecting my assorted female dancer body parts to some new movements. I want to use them to develop some "story-telling" material some day.

I tried using a Perl compiler on the NIST script bvh2wrl.pl long before any of this but just could not get it to save properly (ie. a conversion to VRML).

So, Gil suggested ActivePerl and Barphe suggested Blender, and I thanked them tonight in the Seamless Forum with the following:

Quote :
Thanks both Gil and Barphe

Gil:

I downloaded ActivePerl and it seems to like my 98 initially.

However, I just can't seem to configure my command line properly for using bvh2wrl.pl to convert a bvh file to a vrml file.

Barphe:

Blender does seem to operate in 98.

However, when I export to either of its VRML 2 formats, instead of the bvh file that I can see animated in its window. I just get vrml data for the cube.

I have downloaded Blender for this purpose 3 times now, so I have many cubes. But no bvh2vrml animated character.

Guys, am I hopeless or what?!!!

X

The ActivePerl documentation just doesn't cover the basic command line configuration. This stuff is driving me nuts!

So, hermi, I at least presumed to try help you learn how to "swim above the clams" Smile
(my presumption is compounded after seeing the level of your discourse at CYWORX today)

And, so, my "hermitudinous hermidude", can you teach me how to "walk on Perls"?

Goo-goo ga-ga, radio ga-ga!!?

Smile X


Last edited by on Sun 30 Oct - 22:41; edited 1 time in total
Back to top Go down
View user profile http://cyberhenge.ca
peter le cochon
+1000
+1000


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

PostSubject: Re: 'swimming' contest   Sun 30 Oct - 14:03

Hi Hermy !!! Hi all !!!

pig 's back from Harvest affraid

I have been to the "swimmer" version of Piratez under blaxx chat just to find out what sort of trouble you are having ... oh ... seems a weird thing, yep Sad ... and without chat it works super fine and smooth cheers that's a lot.

I had lots of trouble switching between the swimming viewpoint and the walking viewpoint in my lighthouse world ... but at the end it worked, and i guess the workaround could be used for your purposes.

This are - as far as I can remember - the basics :

Swimming viewpoint : its embedded into a transform node, for variing the y position depending on the waves height.

Walking viewpoint : a very normal viewpoint

It took a bit of scripting "bricolage" to get the people from one viewpoint to the other remaining at the same point and facing the same direction ... you are good in vec-maths, so it will be easy for you.

Swimming NavigationInfo : Type set to fly

Walking NavigationInfo : Type set to walk

The sea surface is embedded into a colission node, obviously with collide set to false.

So now, if you bind the Walking NavigationInfo the swimmer goes to ground ... that's pretty easy ... at the same time you set the Walking viewpoint to bind, because you don't want the variing y-position.

When you want the guy to swim again it's a bit more complicated, coz you want him to swim to surface smoothly ... it's done with a simple interpolator with two key-values : one with the last y of the walking viewpoint and the other with the actualized height of the wave.

I hope it was not to evident/useless/boring.

Salut

Peter pig


P.S.: Hey Erny !!! Thanks for including my (one and only) Lost At Sea Memorial in your Matrix cheers
Back to top Go down
View user profile
X
+200
+200


Number of posts : 564
Age : 70
Localisation : Canada
Registration date : 2005-05-09

PostSubject: diver   Fri 4 Nov - 10:08

Here's an old Web3d group animated model containing swimming behaviours-- there are 3 slightly different versions there-- I might combine it with my mermaid (siren) someday for ATLANTIS. Or borrow her whole as an explorer model.


http://www.web3d.org/x3d/content/examples/HumanoidAnimation/NancyDiving.wrl


Do I win the swimming contest yet? What a Face

btw, my "relative positioning" suggestion (2 messages ago) does not factor that you need to reappear about 5 y below or above the relative "teleport" positions.Ha ha. Can you figure that one out?-- might be impossible Laughing I have not even tried. Rolling Eyes

Smile X
Back to top Go down
View user profile http://cyberhenge.ca
peter le cochon
+1000
+1000


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

PostSubject: Re: 'swimming' contest   Tue 13 Dec - 10:43

Bonjour a tous cheers

Ca va? Ca Va Isaaaaaaa1? reBienvenue dans le haut débit, ma cher Very Happy Very Happy Very Happy


pirat Ah .... the topic :

Today is Hermy's Pirate Party


Well, Thyme must have informed the whole world about it (thank's time) ... but I missed an announcement here (why is it missing ?).

Crying or Very sad The bad news :

Since yesterday night CET blaxxun's public server seems to be down again ...


Or is it some messy setting in my system ? Rolling Eyes

Please .... I need to know what is going on.


Salutons

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


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

PostSubject: Re: 'swimming' contest   Tue 13 Dec - 11:47

hello cochon !! Smile



c u soon on the right place ....

hélas One : our fleur des îles , isa , will have a very short time to meet , because of her work ...... Sad

hélas Two : blaxxun seems half down ! Who made waves on the server ??? lol half lol

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


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

PostSubject: Re: 'swimming' contest   Tue 13 Dec - 12:47

Hello Peter , Alain ,Hermétic , X , Thyme ....

nice read you here Peterrrrrrrr, yes! i have hight débits so im happy.. Smile

yes Peter this morning BXX i can read that : impossible de se connecter au serveur , grrr...

so i post here for Hermétic Smile

long time now that I am on bxx , I did not think one day to make nice friends on the web....
alain had présent me hermétic who had made a fire for Alain's birthay s i remember Smile
so hermi now , with pleasur really : Happy Birthay to you Hermi Smile

after work i try to come not long time for your Birthay Smile

so see you soon Smile

flower isa

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


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

PostSubject: Re: 'swimming' contest   Tue 13 Dec - 12:53

i just go on your forum Hermétic and i laught very Smile

alainnnnnnnnnnnnnnnnnnnnnnnn:)))))))))))))))))))))

what is that ? bounce bounce bounce affraid

http://dumenieu.free.fr/vrml/avatarspublic/alainpap4.wrl

ok ok oups Rolling Eyes Rolling Eyes i goooooooo

hop !! Smile

flower isa

ps: happy Birthay again hermi

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


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

PostSubject: Re: 'swimming' contest   Tue 13 Dec - 13:55

Quote :

<A href="http://www.vrmlworld.net/frameset.php?url=http%3A//www2.ac-lyon.fr/etab/colleges/col-01/ldesavoie/20052006/forum/cyberschool/idd/halle/hallenoelpub.wrl&title=March%E9%20de%20No%EBl&thumb=http%3A//www.bonsurf.net/VRMLsuite3/marchedenoel.jpg">VRMLWorld.net Chat - Marché de Noël</A>

no time to check that ...............

from

http://kimballsoftware.com/images/noimage.gif







will try later


hum


http://www2.ac-lyon.fr/etab/colleges/col-01/ldesavoie/20052006/forum/cyberschool/idd/halle/vrmlworlddenoel.html

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


Number of posts : 564
Age : 70
Localisation : Canada
Registration date : 2005-05-09

PostSubject: Re: 'swimming' contest   Tue 13 Dec - 20:40

.

HAPPY BIRTHDAY



Now, give us your tresors


.
Back to top Go down
View user profile http://cyberhenge.ca
mars³
1/20


Number of posts : 3
Registration date : 2005-12-14

PostSubject: swimming simple method   Thu 15 Dec - 0:10

hi all, this is a first post.
so first things first,

! HAPPY BIRTHDAY HERMETIC ! Smile

a simple way to make an avatar appear to swim is to change the avatar size to maybe 1/4 in the navinfo node, then the avatar sinks into the surface (water) with only head and shoulders sticking out. also it moves at 1/4 speed. although not exactly swimming it can look pretty good and requires no scripting as it can all be done with binds to navinfo from a proxy is entered event / bind to navinfo is exited event.
perhaps this combined with a sensing of avatar motion throgh browser methods can then trigger a bind to fly navigation if avatar is moving slowly enough and if under surface.
another way which comes to mind is sensing surface with hit ray then binding in similar ways to the above. the advantage would be that one can ensure that the avatar does not fall through the ocean bed. however this can also be avoided with an invisible surface 3/4 avatar height above ocean floor. another advantage is that one would not need to make many many proxy sensors to enclose water areas
regards
mars³
Back to top Go down
View user profile
isa
+2000
+2000


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

PostSubject: Re: 'swimming' contest   Thu 15 Dec - 0:26

hello Mars on BXX Smile
i don't very sure is that you Smile now yes!!! so Smile welcome on Louise Smile
nice to see you here Smile

isa

_________________
http://mixed3d.free.fr/spip/?feed=rss2
Back to top Go down
View user profile http://isaworld.free.fr/site/
peter le cochon
+1000
+1000


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

PostSubject: Re: 'swimming' contest   Thu 15 Dec - 1:45

Shocked wawwwww ... it's Mars Very Happy Very Happy Very Happy

Be welcome. At least something good happened for Hermi's birthday Smile

Hey, Mars ... open your showcase here and also tell me more about "hit ray" sounds interesting ... is it the field of a special blaxx node ... is it spec ... what does it do?

Cheers

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


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

PostSubject: Re: 'swimming' contest   Thu 15 Dec - 9:54

Quote :
wawwwww ... it's Mars

Be welcome. At least something good happened for Hermi's birthday

Hey, Mars ... open your showcase here and also tell me more about "hit ray" sounds interesting ... is it the field of a special blaxx node ... is it spec ... what does it do?

AAaaaaaaaaaaaaaaaaaaaaabsolutly !!!!!!!!!!!!!!!!!

Quote :


Hey, Mars ... open your showcase here ............

AAaaaaaaaaaaaaaaaaaaaaabsolutly !!!!!!!!!!!!!!!!!


wowwww I am very happy !! vive blaxxun down ! LOL all friends have time to write Smile

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


Number of posts : 227
Localisation : Australia
Registration date : 2005-08-28

PostSubject: Re: 'swimming' contest   Sat 17 Dec - 19:48

peter le cochon wrote:

Hey, Mars ... open your showcase here and also tell me more about "hit ray" sounds interesting ... is it the field of a special blaxx node ... is it spec ... what does it do?

Browser.computeRayHit(here,there);
'here' and 'there' are xyz coordinates. It returns a Special node with lots of information fields.

yes its a special Contact only function, and not in the Spec, not sure if they are planning to add something like it to the X3D spec.

Mainly used for rayhit tests, for example if here=0,10,0 and there=0,-10,0 then you can do a check to see where the ground is at that point. Neat huh ?
Back to top Go down
View user profile http://www.vrmlworlds.com
peter le cochon
+1000
+1000


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

PostSubject: Re: 'swimming' contest   Sun 18 Dec - 1:50

Very Happy Thank's a lot fabricator Very Happy

I shall check that gold-mine ...

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: 'swimming' contest   Sun 18 Dec - 1:54

Very Happy Whawww look at this : Very Happy

I reached the status of "compulsive poster" Laughing +100 ....

Oki +2000 .... here we go!!!!

pig
Back to top Go down
View user profile
isa
+2000
+2000


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

PostSubject: Re: 'swimming' contest   Sun 18 Dec - 18:07

hi hi peter Smile + 100

it's seems to me that you are happy Smile ? lol

so continued .. Smile

good day peter Smile

flower iisa

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




PostSubject: Re: 'swimming' contest   Today at 10:00

Back to top Go down
 
'swimming' contest
View previous topic View next topic Back to top 
Page 1 of 2Go to page : 1, 2  Next
 Similar topics
-
» Japan Expo AMV Contest 2013
» Courriel de Sweetmama Disney Contest ?
» [C-K] AMV Phoenix Team Contest
» Big Contest 2011
» Le choc des titans [Mimilopir] Big contest 2010

Permissions in this forum:You cannot reply to topics in this forum
LouiZeForum :: ARTS :: 3D art :: Worlds (vrml)-
Jump to: