Sponsors of Wiimoteproject.com
ecanvas.ca
Wiimote Project » Forum » General Wiimote and Technology » Programmers Den » 4 Point Calabration with image
Pages: [1]
  Print  
Author Topic: 4 Point Calabration with image  (Read 628 times)
0 Members and 1 Guest are viewing this topic.
*
Karma: +0/-0
Posts: 7
Offline Offline
View Profile Email
« on: February 28, 2009, 07:30:59 PM »

Hello everyone,
I am writing a software program to include in my new IWB setup. It must be user friendly. Anyway, I am going to use the 4 point calibration dll that was posted on the forums, but I want to incorperate the board's logo into the background of the calibration screen. Any way I can do this?

Thanks,
Tyler
Logged
*
Karma: +0/-0
Posts: 5
Offline Offline
View Profile
« Reply #1 on: March 03, 2009, 06:08:25 PM »

Hi Tyler,

I have written a C# library that wraps Brian Peek's WiimoteLib and also uses the four_point_calibration library. It lets you get IR events calibrated into screen coordinates, and it includes a calibration screen in the library. There is a default image on the calibration screen, but you can specify your own image filename if you want to use that instead.

I've only yesterday put the first version of this library onto Google Code: http://code.google.com/p/bobcat-wii-lib/

The library is called BobcatWiiLib, and there is a sample app that you can download that lets you use an IR pen to move images around, and use two pens to zoom or shrink images. I haven't had time to write up the documentation on the wiki yet, but the sample app is fairly well commented, and the lib itself has XML comments that you can see in the Object Viewer. The project was built with C# 2008.

If the library's any use to you that would be great. Or you could download the source code for some ideas. It's an open-source project - so if you have some ideas to make it better, that would be be excellent...


Richard
Logged
Pages: [1]
  Print  
 
Jump to:  

TinyPortal v.1.0.6 beta 2 © Bloc
Clicky Web Analytics