Welcome, Guest. Please login or register.
Did you miss your activation email?
May 23, 2012, 10:38:48 PM

Login with username, password and session length
Search:     Advanced search
* Home Help Search Calendar Links Login Register
+  Machsupport Forum
|-+  Mach Discussion
| |-+  Mach SDK plugin questions and answers.
| | |-+  Finished Plugins for Download
| | | |-+  3d Video Probe
Pages: 1 2 »   Go Down
Print
Author Topic: 3d Video Probe  (Read 8268 times)
0 Members and 1 Guest are viewing this topic.
TomHubin
Active Member

Offline Offline

Posts: 141


View Profile
« on: March 23, 2009, 10:40:31 PM »

Hello,

Here is my first release of a plugin for 3d Video Probing.

File is called Scan3d.dll. Download to the Mach Plugins directory.

James Leonard's tutorial on writing Mach plugins was very helpful.

Start the plugin with Config. I don't know how to program it to start from the Plugins pulldown menu.

No documentation yet but you can plugin a webcam and see if there is video in the plugin. I have tested with Watchport/V, Watchport/V2 and Eyetoy (silver package). Watchport/V is older camera, doies not use compression, and seems to work ok if machine is fast but does not work well on the 800MHz desktop and the 800MHz laptop that I have tested. Watchport/V2 and Eyetoy use compression but seem to work ok on all the machines that I have gotten access to, whether compression is enabled or not.

Meantime, I will work on documentation.

Tom Hubin
thubin@earthlink.net   

* SCAN3D.ZIP (482.1 KB - downloaded 668 times.)
Logged
Chaoticone
South Carolina, US
Administrator
*
Offline Offline

Posts: 3,598


Precision Chaos



View Profile WWW
« Reply #1 on: March 24, 2009, 04:26:08 AM »

Thanks Tom, I'll have to order some hardware and give it a try ASAP.

Brett
Logged

Grin If you could see the things I have in my head, you would be laughing too. Grin
www.precisionchaos1.com
My guard dog is not what you need to worry about!
ART
Administrator
*
Offline Offline

Posts: 1,080


Tough as soggy paper.


View Profile
« Reply #2 on: March 24, 2009, 07:50:44 AM »

Hi Tom:

  Sounds interesting.. nice to se emy old toy getting some life. Smiley , I hope to get to a point I can experiment son.

Thx
Art
Logged
joecnc2006
Active Member

Offline Offline

Posts: 2



View Profile WWW
« Reply #3 on: April 01, 2009, 07:21:23 PM »

how do you get it working? i tried and can not even start it, can you explain steps to load it so we can try it and a screen capture?
Logged

TomHubin
Active Member

Offline Offline

Posts: 141


View Profile
« Reply #4 on: April 01, 2009, 10:54:48 PM »

how do you get it working? i tried and can not even start it, can you explain steps to load it so we can try it and a screen capture?

Hello Joe,

Download the file Scan3d.zip to the Mach3/Plugins/ directory. Unzip to get Scan3d.dll. The zip file can then be deleted. Mach3 will find the file in this directory.

Start Mach3. Go to the top menu and choose Config/Config Plugins. The Scan3d plugin should be on this menu. Enable the Scan3d plugin then restart Mach3 and come back to this point. Click on CONFIG to start the plugin.

I apologize for this unconventional way to start the Scan3d plugin. I have not figured out how to get it to show up in the Plugin Control menu.

Tom Hubin
thubin@earthlink.net
Logged
TomHubin
Active Member

Offline Offline

Posts: 141


View Profile
« Reply #5 on: May 26, 2009, 08:06:36 PM »

Hello,

Attached is the latest version of my 3d video scanner plugin for Mach3. The plugin file is Scan3d.dll and the little bit of documentation that I have, so far, is Scan3d.doc.

I have included the source code as "Open Source" for those of you who wish to fiddle with video plugins for personal use or to share your own as "Open Source".

I use the older VFW (Video For Windows) routines. More modern camera calls would be better but I do not have time to pursue that right now. Perhaps somebody else can tackle that or point me to equivalent calls for the camera operations.

Most of the camera access is in the file Video.cpp. The remaining files were adapted from James Leonard's plugin tutorial at "http://www.machsupport.com/forum/index.php/topic,4884.0.html".

Tom Hubin
thubin@earthlink.net

* TH090526Scan3dPlugin.zip (497.06 KB - downloaded 808 times.)
* TH090526Scan3dOpenSource.zip (918.61 KB - downloaded 613 times.)
Logged
TomHubin
Active Member

Offline Offline

Posts: 141


View Profile
« Reply #6 on: May 27, 2009, 12:16:50 AM »

hello,

Here is a screenshot of Scan3d.

The laser line is cutting across a 3/4 inch diameter cylinder.

Tom Hubin
thubin@earthlink.net


* TH090526Scan3dScreenShot.gif (72.99 KB, 1400x1050 - viewed 1635 times.)
Logged
Dan13
Active Member

Offline Offline

Posts: 759


View Profile WWW
« Reply #7 on: May 27, 2009, 11:16:31 AM »

Hi,

Sorry for the ignorant question, but how do you convert the laser from a spot to a line?

Thanks,
Daniel
Logged
ART
Administrator
*
Offline Offline

Posts: 1,080


Tough as soggy paper.


View Profile
« Reply #8 on: May 27, 2009, 11:53:20 AM »

Dan:

 Shine it through a bar of glass. ( or get a line laser which has one built in..their cheap..)

Art
Logged
Dan13
Active Member

Offline Offline

Posts: 759


View Profile WWW
« Reply #9 on: May 27, 2009, 11:58:28 AM »

Art,

Ah... so that is what you were using.... Wink because, couldn't understand how a regular laser beam would illuminate half of a cylinder, or any other 3D object.

Thanks,
Daniel
Logged
Pages: 1 2 »   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!