PPArkisto

Miten valopistooli toimii?

Nintendo

Sivu 1 / 1

Viestit

Sivu 1 / 1
Rekisteröitynyt:
29.12.2002
Kirjoitettu: keskiviikko, 26. maaliskuuta 2003 klo 21.32
Alettiin tuossa miettimään kaverin kanssa, että miten valopistooli toimii. Miten se tietää telkkarisi koon ja sijainnin? Miten se tietää mihin kohdistat pistoolin?
"I ain't punchy. I got what you would call a relaxed brain" -Rocky Balboa
Rekisteröitynyt:
15.12.2001
Kirjoitettu: keskiviikko, 26. maaliskuuta 2003 klo 21.41
(Howstuffworks.com:ista kopioitu)

"Lots of home video games and arcade games use some sort of gun as an input device. You point the gun at the screen and pull the trigger, and if you hit the target on the screen, the target explodes.

To create this effect, the gun contains a photodiode (or a phototransistor) in the barrel. The photodiode is able to sense light coming from the screen. The gun also contains a trigger switch. The output of the photodiode and the switch are fed to the computer controlling the game.

At the same time, the computer is getting signals from the screen driver electronics. If you have read How Television Works, you know about the horizontal retrace and vertical retrace signals used to align the picture on the screen. The screen driver electronics send pulses to the computer at the start of the horizontal and vertical retrace signals, so the computer knows where on the screen the electron beam is located during each frame.

The computer normally uses one of two different techniques to figure out whether or not the gun is pointed at the target when the user pulls the trigger:

The computer blanks the screen and then paints just the target object white. If the photodiode senses darkness after one vertical retrace signal and then light after the next, the computer assumes that the gun is pointed at the target and scores a hit.

The computer blanks the screen and then paints the entire screen white. It takes time for the electron beam to trace the entire screen while painting it white. By comparing the signal coming from the photodiode with the horizontal and vertical retrace signals, the computer can detect where the electron beam is on the screen when the photodiode first senses its light. The computer counts the number of microseconds that pass between the time the horizontal and vertical retrace signals start and the time the photodiode first senses light. The number of microseconds tells the computer exactly where on the screen the gun is pointing. If the calculated position and the position of the target match, the computer scores a hit."



Auttoiko?
Rekisteröitynyt:
29.12.2002
Kirjoitettu: keskiviikko, 26. maaliskuuta 2003 klo 22.12
Kiitti. Unohdin ton howstuffworks:in kokonaanredface
"I ain't punchy. I got what you would call a relaxed brain" -Rocky Balboa
Rekisteröitynyt:
16.12.2001
Kirjoitettu: keskiviikko, 26. maaliskuuta 2003 klo 23.02
Super SCOPEhan toimii hieman eri tavalla. Siinä pitää laittaa se vastaan otin TV:n päälle. En sitten tiedä onko tarkempi.
Rekisteröitynyt:
18.03.2002
Kirjoitettu: perjantai, 28. maaliskuuta 2003 klo 11.56
itseänikin on askartanut tuon oudon vehkeen toiminta jo pitkään mutta en ole ikinä muistanut/jaksanut kysyä. Hyvä että joku kysyi!
Rekisteröitynyt:
16.05.2001
Kirjoitettu: perjantai, 28. maaliskuuta 2003 klo 20.38
NES:in zapperin toiminta:

http://www.nesretro.com/hardware/guns.html
Rekisteröitynyt:
18.03.2002
Kirjoitettu: maanantai, 31. maaliskuuta 2003 klo 09.47
Lainaus:28.03.2003 Radikus kirjoitti:
NES:in zapperin toiminta:

http://www.nesretro.com/hardware/guns.html
Mainostusta! wink
Rekisteröitynyt:
17.10.2001
Kirjoitettu: tiistai, 01. huhtikuuta 2003 klo 01.43
Raksu omistatko noista Zapperin "klooneista" mitä versioita? tuo kypärä homma varsinkin oli täysin uutta vaikka sitä harmaata zapperilla tuli tykitettyä monia tovia, mutta tuosta vempeleestä en ole sitten mitään kuullut.ja miten ihmeessä tuohon aikaan oli jo puheääni ohjauksella toimivia vempeleitä konsolimarkkinoilla kun viime vuosina tuli esim kyseinen ominaisuus vasta puhelinmarkkinoille suurelle yleisölle.On se Japani ihme maa ei voi muuta sanoa
Jokainen ihminen on laulun arvoinen.
Rekisteröitynyt:
16.05.2001
Kirjoitettu: tiistai, 01. huhtikuuta 2003 klo 08.55
Muokattu: 01.04.2003 klo 08.56
Itseasiassa en ole tainnut omistaa yhtään Zapper-kloonia koska ne eivät ole kiinnostaneet pahemmin. Tuon kypärän olisin kyllä ostanut jos vielä keräilisin (Visa Electron tekee kaikesta niin helppoa).
Rekisteröitynyt:
14.05.2001
Kirjoitettu: tiistai, 01. huhtikuuta 2003 klo 10.01
tässä pelit-lehdestä skannattu pätkä valopyssyistä.

http://www.saunalahti.fi/~sinikk2/pics/valopyssyt.jpg
Sivu 1 / 1