Main > Lightguns
Lichtknarre: Unmodified Wii remote as a sight accurate Lightgun using 2/4 LEDs
<< < (60/68) > >>
Fusselkroete:

--- Quote from: RandyT on December 10, 2024, 08:02:31 pm ---While I think that it could be corrected with some advanced algorithms, I also think that a poorly designed optical system should not be the concern of the software.  This type of thing isn't the same as sort of getting the lens in front of a cell phone camera to take a picture.  If it's off a little one way or the other, or slightly distorted, you'll still get a half-decent snapshot. 

And yes, the camera needs some kind of lens of it's own to focus the incoming light onto the sensors.  Distance between lenses is also important.  These cell camera lenses expect to be pretty close to a camera lens, as is typical with cell phones.  There is probably 2 to 3 (or more) times that distance when used on a Wiimote.  This is likely to affect focus and could also result in vignetting or trying to use parts of the lens which are not ideal.  Maybe the ppl should build a realy big 90° wooden angle. xD

I just wanted to underscore the importance for people to do their due-diligence before throwing more lenses into the optical path.  It might technically work, but there might also be some unintended side effects which affect overall accuracy.  With optics, things need to be correct to give the system the best chance to work as intended.

--- End quote ---



I see two problems (For now we ignore lens rotation). Bad lens centerpoint and bend camera. Both can be compensated to a degree. But to find an intuitive method for the user is hard, since the camera only can see IRs.

For the first problem, you could place the IR LEDs in each corner of the screen and place the Wii 90° in front of the screen to see the difference between the top and bottom distance. But the user has to be 100% accurate. Aim from the center of the screen and 90° perfectly to the screen. Poor user experience imop. For the other problem, maybe you could use the same approach. Maybe people need to build a big 90° angle out of wood or 3D print one :D The 3D print could be mountable. Maybe you don't need the screen at all and make a 3D print where the Wii can be mounted exactly. Hey that could be the solution...




Sorry for my bad paint skills :( Maybe i design this and offer this tool. The Tool also could help to detect if your camera bending is too extrem to fix by software.

Btw the one who made this 3D Print (https://makerworld.com/en/models/867328
) like to join the forum, but registration is disabled. Who i have to ask for registration? He gave me his emailadress.
Fusselkroete:

--- Quote from: firedance on December 11, 2024, 06:26:46 am ---Just trying a test batch file to shut down then restart Lichtknarre after a emulator, found a basic file and edited it to match the file locations -

taskkill /IM Lichtknarre.exe /F

Pause

start/wait "Dolphin" /B  "G:\LaunchBox\Emulators\Dolphin\Dolphin.exe" %1

Pause

start "Lichtknarre" /B "C:\Program Files\Lichtknarre\Lichtknarre.exe"

Pause

exit

when its run I get this -

C:\Users\Retro-pc\Desktop>taskkill /IM Lichtknarre.exe /F
ERROR: The process "Lichtknarre.exe" with PID 8752 could not be terminated.
Reason: Access is denied.

Tried it with other programs and it works as it should, any ideas how to easily solve as when i googled a solution my brain hurt   :o

--- End quote ---

Your Batch script do not run as administrator. Look for tools which helps you to evaluate the batch script as administrator.
RandyT:
Lol.  I never stated that the people who design these didn't do everything they should, only that I wonder if they did.  The reason is that, intuitively, one would be tempted to only center the lens on the aperture of the window and proceed.  In this case, that is not ideal.  But it is enough to take the controller apart to see where the camera lens center actually is (a micrometer is fine for doing this) and use whatever references they want in their design to find the appropriate center location for the optic.  Horizontal center is is probably a safe bet just using the window, but not vertical.

As a side note, a 3rd party camera module could be in an entirely different place.  That window is huge compared to the camera aperture, so there's lots of room for it to be in different place and still work just fine in stock form ;)
firedance:

--- Quote from: Fusselkroete on December 11, 2024, 07:29:38 am ---
--- Quote from: firedance on December 11, 2024, 06:26:46 am ---Just trying a test batch file to shut down then restart Lichtknarre after a emulator, found a basic file and edited it to match the file locations -

taskkill /IM Lichtknarre.exe /F

Pause

start/wait "Dolphin" /B  "G:\LaunchBox\Emulators\Dolphin\Dolphin.exe" %1

Pause

start "Lichtknarre" /B "C:\Program Files\Lichtknarre\Lichtknarre.exe"

Pause

exit

when its run I get this -

C:\Users\Retro-pc\Desktop>taskkill /IM Lichtknarre.exe /F
ERROR: The process "Lichtknarre.exe" with PID 8752 could not be terminated.
Reason: Access is denied.

Tried it with other programs and it works as it should, any ideas how to easily solve as when i googled a solution my brain hurt   :o

--- End quote ---

Your Batch script do not run as administrator. Look for tools which helps you to evaluate the batch script as administrator.

--- End quote ---


Ran it has a admin, it closes Lichtknarre then loads Dolphin but when i exit Dolphin Lichtknarre doesn't reload,any ideas how to fix it ?

I even reinstalled Lichtknarre to a different drive and still the same result :o
Fusselkroete:
What do you mean by not reloading?
Navigation
Message Index
Next page
Previous page

Go to full version