Main > Lightguns |
Lichtknarre: Unmodified Wii remote as a sight accurate Lightgun using 2/4 LEDs |
<< < (59/68) > >> |
Fusselkroete:
hi dude :D i tryed several wii motes with this guncase. seems to work the same for every wiimote. https://forum.arcadecontrols.com/index.php/topic,169046.0.html Maybe your right. Just my experiences. if it doesn't sit quite right in front of the camera, then every IR light tends to be scaled/distorted in one direction. It should therefore be possible to compensate for this with adjust x and adjust y in the software. Perhaps the larger the screen, the more significant the effect? |
RandyT:
--- Quote from: Fusselkroete on December 10, 2024, 01:12:56 pm ---hi dude :D ... if it doesn't sit quite right in front of the camera, then every IR light tends to be scaled/distorted in one direction. It should therefore be possible to compensate for this with adjust x and adjust y in the software. Perhaps the larger the screen, the more significant the effect? --- End quote --- Back at ya! :) If the lens is off the center axis, it can introduce parallax in the image. Obviously, the further off axis and the more powerful the magnification, the worse the effect will be. I have a hunch that a larger screen, which places the references into the higher distortion areas of these inexpensive lenses, will exacerbate the problem, but I haven't thought about that part specifically. Ideally, the best case scenario would be to have all elements of the optical system (that's what is being created) exactly on axis with one another. A simple offset in the X and/or Y will probably not be enough to compensate for parallax, as it distorts the entire image and that distortion will change the position of the reference LEDs, depending on where the camera is pointed within those boundaries. |
Fusselkroete:
Ah yes i remember. We had this topic a while ago and all kind of solution to map the magnification offcenter. A method with different magnification rings around the center which can be moved offset from the center. A raster mapping method etc. Still have this stuff in my backhead. Different lences needs different methods. i bet the wii remote camera has itself some kind of magnification. :D thanks again for the brainstorming. One simple magnification method is already implemented: https://docs.google.com/document/d/117MScFdwIa9OmT3HLUYOvgB_TzmynupzVe_1zai4rFo/edit?usp=sharing << "How does it work with the lenses?" i should also add center offset and offer more options in future! the centeroffset needs to be intutive to figure out for the user in some ways. still thinking about this. |
RandyT:
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. 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. |
firedance:
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 |
Navigation |
Message Index |
Next page |
Previous page |