[WiiFlash] WiiFlash Server 0.4

Matt Perkins lists at nudoru.com
Mon Mar 10 20:12:48 PDT 2008


.32 doesn't have z depth unfortunately. The authors said that this was
coming in .4

 

.32 did fix a bug with the rumble feature - it no longer locks up while
rumbling.

 

Matt Perkins ----------

 <http://www.nudoru.com> http://www.nudoru.com

 <http://udon.nudoru.com> http://udon.nudoru.com

 

From: wiiflash-bounces at osflash.org [mailto:wiiflash-bounces at osflash.org] On
Behalf Of Patrick Matte | BLITZ
Sent: Monday, March 10, 2008 6:32 PM
To: wiiflash at osflash.org
Subject: Re: [WiiFlash] WiiFlash Server 0.4

 

Well they did release 0.32, which I thought was gonna include the depth, but
I haven't had time to check it out yet so I don't know.

 

 

BLITZ | Patrick Matte 310-551-0200 x214

From: wiiflash-bounces at osflash.org [mailto:wiiflash-bounces at osflash.org] On
Behalf Of Merrill, Jason
Sent: Monday, March 10, 2008 2:07 PM
To: wiiflash at osflash.org
Subject: Re: [WiiFlash] WiiFlash Server 0.4

 

Thanks Patrick, I'll try your approach out.  

 

Anyone know about WiiFlash 0.4? It was mentioned in December it would have
z-depth and was coming soon, but nothing since then.

 

Jason Merrill 
Bank of America 
GT&O L&LD Solutions Design & Development 
eTools & Multimedia 

Bank of America Flash Platform Developer Community 

 

Are you a Bank of America associate interested in innovative learning ideas
and technologies?
Check out our internal
<http://sharepoint.bankofamerica.com/sites/ddc/rd/blog/default.aspx> GT&O
Innovative Learning Blog &
<http://sharepoint.bankofamerica.com/sites/ddc/rd/blog/_layouts/SubNew.aspx?
List=%7B41BD3FC9%2DBB07%2D4763%2DB3AB%2DA6C7C99C5B8D%7D&Source=http%3A%2F%2F
sharepoint%2Ebankofamerica%2Ecom%2Fsites%2Fddc%2Frd%2Fblog%2FLists%2FPosts%2
FArchive%2Easpx> subscribe. 

 

 

 

  _____  

From: wiiflash-bounces at osflash.org [mailto:wiiflash-bounces at osflash.org] On
Behalf Of Patrick Matte | BLITZ
Sent: Monday, March 10, 2008 4:41 PM
To: wiiflash at osflash.org
Subject: Re: [WiiFlash] WiiFlash Server 0.4

// get close to the IR emitter and calculate the maximum distance between
the two points

var backDistance:Number = Math.round(Point.distance(wiimote.ir.point1,
wiimote.ir.point2)*10000);

// get away from the IR emitter and calculate the minimum distance between
the two points

var frontdistance:Number = Math.round(Point.distance(wiimote.ir.point1,
wiimote.ir.point2)*10000);

// calculate difference between the two distances

var totalDistance:Number = backDistance - frontDistance;

 

private function enterframeEvent(event:Event):void{

                // make sure both points are visible, otherwise you can't
calculate the distance between the two points

                var haveDistance:Boolean;

                if(!isNaN(wiimote.ir.point1.x) &&
!isNaN(wiimote.ir.point2.x)){

                                haveDistance = true;

                }

                if(haveDistance){

                                // calculate the current distance between
the 2 points

                                var distance:Number =
Math.round(Point.distance(wiimote.ir.point1, wiimote.ir.point2)*10000);

                                // calculate distance between the current
distance and the backdistance

                                var depthDistance:Number = backDistance -
distance;

                                // set to 0 if smaller than 0

                                depthDistance = Math.max(depthDistance, 0);

                                // set to totalDistance if greater than
totalDistance

                                depthDistance = Math.min(depthDistance,
totalDistance);

                                // calculate the position of the current
distance relative to the totaldistance, outputs a value from 0 to 1;

                                depthFactor = (totalDistance -
depthDistance)/totalDistance;

                                // get a z value from 0 to 25000, you can
change 25000 for any value that you need...

                                z = depthFactor * 25000;

                }

}

 

BLITZ | Patrick Matte 310-551-0200 x214

From: wiiflash-bounces at osflash.org [mailto:wiiflash-bounces at osflash.org] On
Behalf Of Merrill, Jason
Sent: Monday, March 10, 2008 12:17 PM
To: wiiflash at osflash.org
Subject: Re: [WiiFlash] WiiFlash Server 0.4

 

Not in feet, just a percentage change is fine, but the algorithms we've
tried produce data that jumps around a lot.  On the Wiiflash site, it said
z-depth was coming in the next version... no??  Perhaps if you have code
that smooths out depth you are caluculating from the IR points you could
post it so we could benefit? Thanks.

 

Jason Merrill 
Bank of America 
GT&O L&LD Solutions Design & Development 
eTools & Multimedia 

Bank of America Flash Platform Developer Community 

 

Are you a Bank of America associate interested in innovative learning ideas
and technologies?
Check out our internal
<http://sharepoint.bankofamerica.com/sites/ddc/rd/blog/default.aspx> GT&O
Innovative Learning Blog &
<http://sharepoint.bankofamerica.com/sites/ddc/rd/blog/_layouts/SubNew.aspx?
List=%7B41BD3FC9%2DBB07%2D4763%2DB3AB%2DA6C7C99C5B8D%7D&Source=http%3A%2F%2F
sharepoint%2Ebankofamerica%2Ecom%2Fsites%2Fddc%2Frd%2Fblog%2FLists%2FPosts%2
FArchive%2Easpx> subscribe. 

 

 

 

  _____  

From: wiiflash-bounces at osflash.org [mailto:wiiflash-bounces at osflash.org] On
Behalf Of Patrick Matte | BLITZ
Sent: Monday, March 10, 2008 2:57 PM
To: wiiflash at osflash.org
Subject: Re: [WiiFlash] WiiFlash Server 0.4

You need the depth in feets ? I wish I could give you the right equation but
I don't know it.

 

But maybe you could hardcode some values. Put yourself at 1 foot from the
sensor, take note of the distance between the two points, then do it at 2
feets, 3 feets, 4 feets, 5 feets, etc. Then, when you're application is
running, compare the distance between the two points with the hardcoded
values, find the nearest distance and extrapolate the value. If you do it
for each foot, it should be pretty close.

 

You may also try with only two values, like 1 foot from the IR and then 12
feets from it and extrapolate that. I think that's what I've been using for
an installation we did last year. It worked great, but then again, we didn't
really need exact values..

 

 

BLITZ | Patrick Matte 310-551-0200 x214

From: wiiflash-bounces at osflash.org [mailto:wiiflash-bounces at osflash.org] On
Behalf Of Merrill, Jason
Sent: Monday, March 10, 2008 9:09 AM
To: wiiflash at osflash.org
Subject: [WiiFlash] WiiFlash Server 0.4

 

Any news on when WiiFlash Server 0.4 will be released (which is supposed to
have z-depth)?  

 

z-depth is an extremely important feature for us and the IR data is still
extremely rough and unreliable - hard to get good smooth z-depth using
distance between IR points.  

 

If the developers are listening, thanks and keep up the good work.

 

Jason Merrill 
Bank of America 
GT&O L&LD Solutions Design & Development 
eTools & Multimedia 

Bank of America Flash Platform Developer Community 

 

Are you a Bank of America associate interested in innovative learning ideas
and technologies?
Check out our internal
<http://sharepoint.bankofamerica.com/sites/ddc/rd/blog/default.aspx> GT&O
Innovative Learning Blog &
<http://sharepoint.bankofamerica.com/sites/ddc/rd/blog/_layouts/SubNew.aspx?
List=%7B41BD3FC9%2DBB07%2D4763%2DB3AB%2DA6C7C99C5B8D%7D&Source=http%3A%2F%2F
sharepoint%2Ebankofamerica%2Ecom%2Fsites%2Fddc%2Frd%2Fblog%2FLists%2FPosts%2
FArchive%2Easpx> subscribe. 

 

 



__________ NOD32 2935 (20080310) Information __________

This message was checked by NOD32 antivirus system.
http://www.eset.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/wiiflash_osflash.org/attachments/20080310/db159dfe/attachment-0001.html 


More information about the WiiFlash mailing list