I am trying to create make my first video mapping and I am having some problems. I want to use the mouse to create a polygon that I will further use as a mask for a video, and also to create a line / dot that follows the edge of the polygon. Can someone give me some tips / tutorials, because I’ve been searching with no luck.
Thanks for the patch, but not saving the data is the problem, but getting the data to be saved.
I’ve made a patch based on pointeditor2d to have just 4 points, but I don’t get it from where to get the coordinates for them.
ok that is a very very old patch done for a show, a looooong time ago, so please do not throw me tomatoes ;-)
hope this may help you.
if not, consider that you need to developp more your question and what you want to achieve. ;-)
/EDIT/ maybe your question is more basic: once you have drawn a satisfying polygon, create an io box, link it to your array. this will feed your iobox with the poligon matrix. Then disconnect the io box from it. you have your data there, saved.
I’ll try be explain again. I’m using pointeditor2d that you provided, and it works uber fine for what I need; but I was interested in saving the dots coordinates in a text file, but I don’t know where from and how to extract them from the pointeditor2d patch.
open the help pach and just connect a vector(3dsplit) to the output of the point editor.
its is in 3dimension so you have 40 vector3d ( the provided example is showing in output a spread of 120 data ). See ?
Yep, thank you. That did the job :)
If you don’t mind, can you also help with the second question that started this post? How can I create a line / a dot that follows the shape a just generated with the pointeditor2d?
I’ve attached my working directory to get a better picture of what I am working on.
As you can see in patch 2_bm1 - main1 is the main output of the project: a video with a mask, so I can project only on the areas that I want. The mask is made with photoshop, but I want to generate it by using lines.
For the drawing the lines a use 1_Draw.v4p. Is there a way to paint the inside of the shapes created by those points or add a texture, so I can actually use them as a mask?