Hey,
If you are running TouchDesigner099 please check mottoKantan for a complete 099 rebuild with improved ui and workflow.
The Kantan Mapper Wiki Page can be found here:
[url]http://www.derivative.ca/wiki/index.php?title=Kantan_Mapper[/url]
after painstakingly building masks in Photoshop for a recent Installation here is the foundation for a simple mapping kit which should allow you to mask and map many surfaces and shapes.
The Idea is to draw directly on the projection and follows well known techniques and workflows just implementing them in a TouchDesigner077 environment.
Here are a couple first steps with it:
Note: This is made with and for TouchDesigner077 build 16240. Please make sure your installation is up to date.
I had trouble running this on an ATI Card. Picking Masks was only possible through selecting them in the Mask List.
After loading the tox file, open the Controlpanel of “kantanmapper”
Enter a resolution and select which monitor you want to output to.
Click the Enable button for the Output.
Now click on the Mask List Button to open up the main controls for your masks.
In the Mask List click the “Add Rectangle” button. A rectangle should now appear on your output.
In your output select the newly created rectangle which should reveal a green outline and 4 corner-points. By selecting and dragging the corner-points you can adjust the shape of the rectangle and by dragging anywhere inside the rectangle you move the whole mask.
You can also select one or more corner-points and move them together or use your arrow keys to move them more precise.
Once done with setting up the mask, drag a TOP from your network onto the mask to give it a texture. If you don’t see the texture but the mask is colored in a bright color, make sure you enable the Texture Button in the main Controlpanel.
By double-clicking onto the mask in your output, another Controlpanel comes up which lets you edit the texture itself. Hit ‘t’ to bring up a translate handle, ‘s’ to bring up a scale handle, ‘r’ to rotate and ‘p’ to see the cornerpin handles.
The same thing can be done with Freeform Masks. To create a Freeform, click “Add Freeform” in the Mask List and click in the output window to add points. When you are done adding points, right-click and you are exiting the Freeform mode. Everything else works the same except you have an extra option to add more inline points to the mask. You find the option for that in the Mask Lister on the bottom when a Freeform Mask is selected. Points in Freeform Masks can also be deleted by selecting them and hitting the ‘del’ key.
Please let me know of any trouble or ideas. This is really a prototype and your input will be very valuable to make it better.
Cheers
Markus
kantanmapper.tox (1.46 MB)