Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Recording avatar's movement
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  23 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Sherry  
View profile  
 More options Jun 27 2012, 8:06 am
From: Sherry <shahrzad.fazl...@gmail.com>
Date: Wed, 27 Jun 2012 05:06:43 -0700 (PDT)
Local: Wed, Jun 27 2012 8:06 am
Subject: Recording avatar's movement

Hi guys,
Any idea on how I can record an avatar's movement? I basically need to know
if my avatar is in a certain room of a building or not, as well as knowing
how many avatars are in there in total.
Any help is appreciated
Kind regards,
Sherry


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
jagwire  
View profile  
 More options Jun 27 2012, 8:08 am
From: jagwire <pympno...@gmail.com>
Date: Wed, 27 Jun 2012 07:08:24 -0500
Local: Wed, Jun 27 2012 8:08 am
Subject: Re: Recording avatar's movement
Sherry,

I guess it sort of depends on what you plan to do with the data. Are
you wanting it for logging purposes or do you want the world to react
in some way?

warm regards,
-jW


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Sherry  
View profile  
 More options Jun 27 2012, 8:10 am
From: Sherry <shahrzad.fazl...@gmail.com>
Date: Wed, 27 Jun 2012 05:10:52 -0700 (PDT)
Local: Wed, Jun 27 2012 8:10 am
Subject: Re: Recording avatar's movement

Both of those actually.
I need to write to a file if an avatar is in room 1 say. I also need to
display something like a flag or a text in that room 1 so that I can also
show that the avatar is there when looking from far away.
Sherry


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
jagwire  
View profile   Translate to Translated (View Original)
 More options Jun 27 2012, 8:15 am
From: jagwire <pympno...@gmail.com>
Date: Wed, 27 Jun 2012 07:15:13 -0500
Local: Wed, Jun 27 2012 8:15 am
Subject: Re: Recording avatar's movement

Sherry,

...and does the file need to be saved on the client or server?

Regards,
-jW
On Jun 27, 2012 7:10 AM, "Sherry" <shahrzad.fazl...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Sherry  
View profile  
 More options Jun 27 2012, 8:17 am
From: Sherry <shahrzad.fazl...@gmail.com>
Date: Wed, 27 Jun 2012 05:17:47 -0700 (PDT)
Local: Wed, Jun 27 2012 8:17 am
Subject: Re: Recording avatar's movement

It needs to be recorded on the server, saving it on the client is a bonus
though.

Kind regards,
Sherry


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Sherry  
View profile  
 More options Jun 27 2012, 8:20 am
From: Sherry <shahrzad.fazl...@gmail.com>
Date: Wed, 27 Jun 2012 05:20:47 -0700 (PDT)
Local: Wed, Jun 27 2012 8:20 am
Subject: Re: Recording avatar's movement

I'm using this for energy monitoring in future, if that helps in anyway.
Kind regards,
Sherry


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Morris Ford  
View profile   Translate to Translated (View Original)
 More options Jun 27 2012, 8:25 am
From: Morris Ford <morrishf...@gmail.com>
Date: Wed, 27 Jun 2012 08:25:56 -0400
Local: Wed, Jun 27 2012 8:25 am
Subject: Re: Recording avatar's movement

Here is a part of a recent thread:

Michel,
I have fixed up the proximity and added some capability in presence.I'll
explain by showing my test scripts.

I am sure you have seen this one:

MyClass.establishProximity(15.0, 10.0, 5.0)
print ('Proximity established\n\r')

This one is new:

MyClass.removeProximity();
print ('Proximity removed\n\r');

This one enables the presence checking:

MyClass.getYat();
print ('Yat established\n\r');

This one gets the presence information and prints out a line for each
avatar:

MyClass.yat();
print ('yat executed - size = ');
print (presenceListSize);
print ('\n\r');
MyClass.getPresenceItem(0);
print ('\n\r item = ');
print (presenceListItem);
print ('\n\r');

You should be able to get all the presence info with a for loop that asks
for each entry in the presence list.

Presence info involves information about all the avatars currently in-world
and where they are.

The title of the thread is
ScriptingComponent: how to remove a Proximity ?

Either proximity sensing or presence checking or both could be used to
extract the desired information. Other functions in the scripting component
could then be used write the information into files, post to a website, etc.

Morris


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
jagwire  
View profile   Translate to Translated (View Original)
 More options Jun 27 2012, 8:34 am
From: jagwire <pympno...@gmail.com>
Date: Wed, 27 Jun 2012 07:34:55 -0500
Local: Wed, Jun 27 2012 8:34 am
Subject: Re: Recording avatar's movement
Sherry,

I'm not aware of any logging features "out-of-the-box" that you
describe. However, give me any afternoon and I'll see what I can come
up with. As for the in-world cues and triggering. I would highly
suggest a scripting approach similar to the following:

1) Create your room.
2) Add EZScript to the room (assuming it's one big model) via a
right-click and "Add EZScript...". A window will appear where you can
type script. Don't add anything yet.
3) Right click on the room again (assuming it's one big model), and
choose "properties". In the lower left corner you will see a label
called "EZScript". Click that label.
4) In the properties pane on the right you will see various values
that can be configured. More importantly, you will see a checkbox
called "show bounds". Click this box to see where your bounds are for
the room.
5) Resize the bounds to best fit your room by using the x,y, and z
extent spinners.  Click apply when finished.
6) Remember the scripting window that opened? If it's gone, you can
bring it up by right clicking on your room and selecting "Script" or
in the properties editor, clicking the "Open Script Window" button.
7) Try entering the following script:

Context.enableProximityEvents();

function enter() {
    print("ON ENTER!");

}

function exit() {
   print("ON EXIT!");

}

Context.onEnter(enter, false);
Context.onExit(exit, false);

8) Press the execute script function.

Now try walking in and out of your room. If it works as expected,
great, I'll see how quickly I can throw a logging command together to
make sure you can write to logs both server-side and client-side. If
not, try going over the list again and let us know which piece seems
to be problematic.

regards,
-jW


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Sherry  
View profile  
 More options Jun 27 2012, 8:35 am
From: Sherry <shahrzad.fazl...@gmail.com>
Date: Wed, 27 Jun 2012 05:35:08 -0700 (PDT)
Local: Wed, Jun 27 2012 8:35 am
Subject: Re: Recording avatar's movement

Thank you very much, that's very helpful.
Just out of curiosity, is this the way borders are defined in wonderland?
 In other words, how is it that my avatar cannot  pass through the walls
and obstacles?
Kind regards,
Sherry


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Sherry  
View profile  
 More options Jun 27 2012, 8:39 am
From: Sherry <shahrzad.fazl...@gmail.com>
Date: Wed, 27 Jun 2012 05:39:54 -0700 (PDT)
Local: Wed, Jun 27 2012 8:39 am
Subject: Re: Recording avatar's movement

jW,
Thank you very much. You guys are really helpful.
Take as much time as you need, I really appreciate it.
I will follow the procedure and will let you know how it goes.
Many thanks
Sherry


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
jagwire  
View profile   Translate to Translated (View Original)
 More options Jun 27 2012, 8:40 am
From: jagwire <pympno...@gmail.com>
Date: Wed, 27 Jun 2012 07:40:02 -0500
Local: Wed, Jun 27 2012 8:40 am
Subject: Re: Recording avatar's movement
Sherry,

Proximity and collision are two different mechanisms in Wonderland.
Proximity is a spatial check for position in a world, collision is a
spatial check for objects immediately around you. Think about it like
shooting a gun. Collision can be thought of as if you're shooting an
invisible gun with invisible bullets in all directions. Every object
that the bullets hit will potentially keep you from passing through
them (assuming you try). Collision is more of looking at two circles
and if they overlap in any way, one is said to be inside the other.

best,
-jW


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Sherry  
View profile  
 More options Jul 5 2012, 10:58 pm
From: Sherry <shahrzad.fazl...@gmail.com>
Date: Thu, 5 Jul 2012 19:58:44 -0700 (PDT)
Local: Thurs, Jul 5 2012 10:58 pm
Subject: Re: Recording avatar's movement

Hi Morris,
I have installed the scripting component but after restarting the server
many times, I am still not able to get it fully installed. It's shown as a
pending module in my "Manage Modules" section. Do you know what could cause
this?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Sherry  
View profile  
 More options Jul 5 2012, 11:13 pm
From: Sherry <shahrzad.fazl...@gmail.com>
Date: Thu, 5 Jul 2012 20:13:16 -0700 (PDT)
Local: Thurs, Jul 5 2012 11:13 pm
Subject: Re: Recording avatar's movement

Hi JW,
I was actually able to showHUDmessage when the avatar gets close to the
bounds I have set. I am actually testing on a house model I downloaded
from Google sketchup and I realized that the whole house is set as a cell,
so I cannot actually perform this task on every room of the house. In other
words, I can only set one set of boundaries for my model and not many. Does
this have something to do with my actual model? Do you think exploding the
model in Sketchup would help?
I used Ezscript's highlight function and I highlight the room (the whole
house actually) with yellow which is satisfactory for me at this stage as
it can work similar to light in the world for me for this purpose. Just
mentioning that I would like to turn on the lights or show a message when
my avatar enters a room.
Any ideas on the above?
Thank you
Sherry


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
jagwire  
View profile  
 More options Jul 6 2012, 11:37 am
From: jagwire <pympno...@gmail.com>
Date: Fri, 6 Jul 2012 08:37:09 -0700 (PDT)
Local: Fri, Jul 6 2012 11:37 am
Subject: Re: Recording avatar's movement

Sherry,

Glad you were able to get something working! Your best bet with getting a
single room to highlight is similar to like you suggested about exploding a
model in sketchup. My approach would be to: Export the room separately from
the rest of the building so in-world you would have two objects...the
building itself and the room. This way you can separate the scripting
effects to only ever be relevant to the room cell (versus the building
cell).

hope this helps,
jW


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Sherry  
View profile  
 More options Jul 25 2012, 8:37 pm
From: Sherry <shahrzad.fazl...@gmail.com>
Date: Wed, 25 Jul 2012 17:37:14 -0700 (PDT)
Local: Wed, Jul 25 2012 8:37 pm
Subject: Re: Recording avatar's movement

Hi JW,
Hope you are well.
First I inserted the rooms separately which worked just fine but now
instead of that, I have inserted the full house and then inserted a lamp
bulb in each room and set the Ezscript properties to them so that when you
enter the room the bulb gets highlighted which gives the impression of
light in a room, which is what I really wanted.
As for linking a webpage (any webpage such as weather.com.au for now and
later we would add our own webpage which has sensory data inside it) I am
using the poster. I just came across a capability called Clickable-links in
wiki area but unfortunately I do not have that capability in my properties
sheet of the poster.
The below links are both down as well :
https://wonderland-modules.dev.java.net/files/documents/8222/142894/c...

https://wonderland-modules.dev.java.net/source/browse/wonderland-modu...

Can you please help me with this? Or do you suggest any other way for me to
show external data inside my world?
I really appreciate your help
Best regards
Sherry


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nicole Yankelovich  
View profile  
 More options Jul 25 2012, 9:03 pm
From: Nicole Yankelovich <nic...@yankelovich.ws>
Date: Wed, 25 Jul 2012 21:03:57 -0400
Local: Wed, Jul 25 2012 9:03 pm
Subject: Re: Recording avatar's movement

Sherry,

Posters support links to both content in-world and on the web. The
documentation is here:

http://wiki.openwonderland.org/Wiki.jsp?page=Creating%20Posters

The "Clickable Link" capability is completely separate from posters. You
can learn how to use it here:

http://faithhold.dyndns.org:8080/JSPWiki/Wiki.jsp?page=Using%20Capabi...

I thought the Clickable Link capability was now bundled with the
release. Can someone confirm if that's the case? I believe if you are
running a recent Wonderland version that it should automatically appear
in the Capabilities list without having to install a separate module.

Nicole.

On 7/25/12 8:37 PM, Sherry wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Sherry  
View profile  
 More options Jul 25 2012, 9:12 pm
From: Sherry <shahrzad.fazl...@gmail.com>
Date: Wed, 25 Jul 2012 18:12:22 -0700 (PDT)
Local: Wed, Jul 25 2012 9:12 pm
Subject: Re: Recording avatar's movement

Dear Nicole,
Thanks for your reply.
I have looked at both the links you attached. I have built my world from
the source code which is the latest version I believe (I built it less than
a month ago)
I am installing the other Poster which is an updated version, but as you
mentioned the capability is separate from that module, I am not sure if
that would help.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Sherry  
View profile  
 More options Jul 25 2012, 10:07 pm
From: Sherry <shahrzad.fazl...@gmail.com>
Date: Wed, 25 Jul 2012 19:07:01 -0700 (PDT)
Local: Wed, Jul 25 2012 10:07 pm
Subject: Re: Recording avatar's movement

Dear Nicole,
I started using the poster and linked it to a webpage, so I dont believe I
would need the clickable link capability anymore.
Thank you very much
Sherry


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Sherry  
View profile  
 More options Aug 7 2012, 1:16 am
From: Sherry <shahrzad.fazl...@gmail.com>
Date: Mon, 6 Aug 2012 22:16:52 -0700 (PDT)
Local: Tues, Aug 7 2012 1:16 am
Subject: Re: Recording avatar's movement

Dear all,
Just wondering if there is a way to show HUD message in eziscript as a
billboard? I would like to show which room my avaotar enters using a HUD
message which is customized to each room but I can only show the message
right next to where my avatar is (or where the eziscript boundaries are set)
Thank you


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
jagwire  
View profile  
 More options Aug 7 2012, 9:22 am
From: jagwire <pympno...@gmail.com>
Date: Tue, 7 Aug 2012 08:22:55 -0500
Local: Tues, Aug 7 2012 9:22 am
Subject: Re: Recording avatar's movement

Sherry,

Can you explain a little more about what you mean by " as a billboard"?
There's an EZScript command called ShowHUDMessage(). You can use it as
follows: ShowHUDMessage("Hello Sherry!");

Will this meet your needs?

warm regards,
-jW


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Sherry  
View profile  
 More options Aug 7 2012, 8:50 pm
From: Sherry <shahrzad.fazl...@gmail.com>
Date: Tue, 7 Aug 2012 17:50:44 -0700 (PDT)
Local: Tues, Aug 7 2012 8:50 pm
Subject: Re: Recording avatar's movement

Dear JW,
I am aware of that function but I would need something which is more
universal, I will explain in more details now.
I have a light bulb in each room of a house. The house does not have a roof
so that I can see the all the bulbs while looking from away. For each of
those bulbs, I have set EZScript boundaries in such a way that when my
avatar enters one of those rooms, the bulb would get highlighted. I'm
highlighting each bulb with a color accordinga to a legend that I have made
in a poster e.g. Green highlight= Room 1. Blue Highlight= Room 2. etc.
I can show a HUD message when my avatar enters any of those rooms as well
so if the avatar enters room 1, I will show Avatar entered room 1 or when
exiting, I can show avatar exits room 1. However this HUD message is shown
next to my avatar. I was wondering if say I have 2 more avatars (2more ppl
entering other rooms in my house) where would those HUD messages display? I
would like to be able to monitor each room using only a HUD message that I
am able to see while in a different room than another avatar or if I am
standing outside of my house. Not sure if this makes sense?
Thank you
Sherry

...

read more »


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Sherry  
View profile  
 More options Aug 8 2012, 2:50 am
From: Sherry <shahrzad.fazl...@gmail.com>
Date: Tue, 7 Aug 2012 23:50:50 -0700 (PDT)
Local: Wed, Aug 8 2012 2:50 am
Subject: Re: Recording avatar's movement

Dear JW,
I'm assuming if I have more avatars in other rooms, I would still be able
to see the HUD message on the screen, correct? These messages would then
overlap on top of each other I'm guessing and I would not be able to read
them at the same time hence I was wondering if there is a way to show those
messages in a poster format or billboard, so that I can read them at the
same time and know where each of those avatars are, is this possible?
Also once I show the HUD message, I am not able to close it with the
closeHUD message, can you please go through my code? I would like to close
the occupancy message once there is no avatar in a room, hence knowing the
room is empty.

Context.enableProximityEvents();
Context.clearCallbacks();

Context.enableProximityEvents();
Context.clearCallbacks();

function occupy(){
var A= ShowHUDMessage("Room1 is Occupied!");

}

function empty(){
CloseHUDWindow(A);
}

Context.onApproach(occupy, false);
Context.onLeave(empty, false);

function highlight() {
HighlightCell(cell, true, 'yellow');

}

function unhighlight() {
HighlightCell(cell, false, 'yellow');
}

Context.onApproach(highlight, false);
Context.onLeave(unhighlight, false);

Thanks a lot and kind regards,
Sherry

...

read more »


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
jagwire  
View profile  
 More options Aug 8 2012, 10:21 am
From: jagwire <pympno...@gmail.com>
Date: Wed, 8 Aug 2012 07:21:03 -0700 (PDT)
Local: Wed, Aug 8 2012 10:21 am
Subject: Re: Recording avatar's movement

Sherry,

Your script looks fine. I recall doing some work on ShowHUDMessage and
CloseHUDWindow in the past and then not being able to finish it, so it's
possible there may be some slightly unstable code at the moment. I would
love to implement what you're suggesting...I'm envisioning a HUD window
with messages in a table format...unfortunately, I just don't have the time
to do this at the moment. If you get a chance, can you file an enhancement
request here:http://code.google.com/p/openwonderland/issues/list describing
the feature, it's use case, and any screenshots that might describe the
problem to be solved and the solution. This will help remind me of your
idea when my workload slows down [hopefully] in the coming weeks.

best regards,
-jW

...

read more »


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »