Hi again,
Walter, thanks for considering pol-filters (and your wishes, sure: All the best for the new year back to you and Braunschweig!). The loss of 50% using pol filters would be better than my current way, loosing 66% with this color information. So , if it is not that big thing, I would be grateful if you could check out whether the object's reflections damage polarisation.
Mattia, simply try your glasses watching the projections or an anaglyph image (Greg and Walter posted some here)... (my filters were much cheaper... and the color in the image above is not right)
Today I discussed making of such half/half filters with a friend. Maybe there are two ways to do that easily: One is to draw the filter in photoshop and give it to a slide service to make a transparency, the other is to print this drawing on an overhead projector foil. Both ideas not tested yet.. let me know if you got results.
Forgot to describe how to handle this double faced mesh in Shapefusion:
- Simply forward it to Shapefusion,
- Duplicate it,
- Erase the left data on the first and the left on the second,
- Now you have two meshes to align in any mode. Here it works nicely using DAVIDs free alignment mode, but also Rotation around Y should work (maybe better - didn´t check that out)
Ok, as promised, my pattern generator attached.
It was written and compiled in PROCESSING with its limited GUI means. But it should run as a standalone app. Let me know if there are problems.
It communicates with DAVID directly via its COM messages if you follow these installation and settings:
1. Install a virtual com-port-pair (e.g using com0com: Get it here for free and follow its installation:
http://sourceforge.net/projects/com0com/ . Its default pair works here - so, do not worry about the connections.)
2. Make sure that the ports are named "COM1" and "COM2" (You've to rename the default pair)
3. My app reads the lowest port available - should be COM1. So if DAVID sends its messages to COM2, com0com directs those messages to COM1
4. Start DAVID and enable COM communication for StructuredLight (HardwareSetup: StructuredLight/Customize and set the port to COM2)
5. Change the COM message for StartCalibrationScan from "S" (default) to "X" (Capital letter)
6. Disable DAVIDs SL-pattern-automode
7. Make sure that your WINDOWS desktop is expanded to a second monitor and your projector is ON
8. Set DAVIDs projection to your FIRST screen (it has to be there. You might minimize it >>> RMB)
Now:
Unzip my app to anywhere and run the .exe contained within the folder (Disclaimer: This was made in the hope to be useful and you get it as it is for free. "Free" also means: without any warranty in functionality or concerning any damage of or on your system. Although I did my best and I´m trying to keep my system free of viruses, you are using it at your own risk! To get rid of it, you should simply have to remove the folder)
The .exe creates two windows. One, the controller, should appear on your main screen, while the second should fill your second screen (the projector). This second window (the projections) can be closed only via your task bar - sorry .
The controller comes with two slides ("R" and "C") at the upper left (red). Here you can set the color intensity for Cyan (left in the projection) and Red (right) to get a balanced image in your cam.
In the middle are two sliders for frequencies and shifts (orange). These values HAVE TO BE THE SAME (as well as the INV, "inverse" button) as set in DAVID (the default settings, freq. 7 and shifts 6 and "inverse" disabled, should match to the settings when you hit "standard" in DAVIDs SL menue).
The blue slider "Edge" sets the edge between red and cyan, so you can adjust this boarder to your hardware.
Below this slider is a toggle INV. If enabled (light red) the app will add the inverse projections of the "BW" stripes (has to be equal as the settings within DAVID)
The lower red row are simple buttons to switch between different projections.
If the app is running, there are two automatic modes:
Calibration: If you hit Calibrate projector in DAVID, it should project a pale pink pattern sequence (this is a mix of R and C, for we do not need any split here)
Actual Scanning: If you hit Scan in DAVID, it should display a sequence of split R/C projections
I´m sure to've forgotten something....please ask
Gunter