| View previous topic :: View next topic |
| Author |
Message |
Oinquer
Joined: 14 Nov 2007 Posts: 44
Digg It |
Posted: Mon Feb 25, 2008 4:33 pm Post subject: Wiimote Dot size. |
|
|
Hi, i've read a couple of topics about the dot size that means pretty much the distance or the sensor bar and wiimote....
and i got a doubt...
what if i got a LED's pretty much near the wiimote 10cm's? maybe 5 cm's? and just regulate its voltage? what will the wiimote see? same thing or will grow and shrink dot size?
this is for a project and i'm thinking of a couple ways to accomplish it, i'm designing the concept, after its done i'll post here so someone can enlighten me in some matters
Last edited by Oinquer on Wed Feb 27, 2008 11:29 am; edited 1 time in total |
|
| Back to top |
|
 |
Cha0s Site Admin
Joined: 17 Jan 2007 Posts: 466
Digg It |
Posted: Mon Feb 25, 2008 8:26 pm Post subject: |
|
|
Dot size is not a reliable measure of distance. It is a very rough measure of distance and should not be used. To get an accurate measure of distance, you will need to apply projection theory. _________________ Cha0s |
|
| Back to top |
|
 |
Oinquer
Joined: 14 Nov 2007 Posts: 44
Digg It |
Posted: Mon Feb 25, 2008 8:53 pm Post subject: |
|
|
| i know it...im not trying to use it to get a distance...that why i asked if by lowering voltage and get less IR light out, the wiimote would think its farther.... |
|
| Back to top |
|
 |
Cha0s Site Admin
Joined: 17 Jan 2007 Posts: 466
Digg It |
Posted: Mon Feb 25, 2008 9:02 pm Post subject: |
|
|
It might. Try it and see.  _________________ Cha0s |
|
| Back to top |
|
 |
para
Joined: 20 Aug 2007 Posts: 89
Digg It |
Posted: Mon Feb 25, 2008 9:13 pm Post subject: |
|
|
| Cha0s wrote: | | Dot size is not a reliable measure of distance. It is a very rough measure of distance and should not be used. To get an accurate measure of distance, you will need to apply projection theory. |
I was asked a similar question the other day and I answered it the same. Then after thinking about it for a while I realized that the dot size could actually be very useful in certain situations.
For example, let's say you have the sensor bar in some position in a room. If you were to walk around the sensor bar at a constant radius from it and you always had the camera facing the center of the bar, then by using the distance between the dots approach the calculated distance from the sensor bar would seemingly get smaller as you converge to the sides of the bar (because obviously the dots would get closer together). If you include the dot size (somehow) in your calculation you could then get a rough estimate of the correction and your calculated radius distance would be much more accurate.
It's not necessary to include this in any wiimote API (nor should it be), but given situations like that could arise it is important to keep this information available anyway.
edit: An application that may need something like this would be the reverse IR sensing that that Johnny guy made, where when he moved his PoV in-game changed. In a rail-shooter type game you may want to use a system like he demonstrated, and if you were to move enough to the side and you are calculating distance you will need to somehow correct for the non-perpendicular angle you are now at, otherwise you would calculate the wiimote as being closer and the game would act funny. _________________ wiiuse C wiimote library - http://wiiuse.net/ |
|
| Back to top |
|
 |
Oinquer
Joined: 14 Nov 2007 Posts: 44
Digg It |
Posted: Tue Feb 26, 2008 10:03 am Post subject: |
|
|
ok im going to make one and check what happens... lol
edit:
Ok made a fast pcb with a Potentiometer an IR LED and just regulated the voltage across the circuit so the IR LED would dim out and vice versa
So it was a sucessfull experiment, the dot1size would grow or shrink whenever i would regulate it making it usefull for my concept. in the next few days i will finish the concept, drawing the sketch's in Google sketchup and will upload it here. |
|
| Back to top |
|
 |
|