set input video dims to match with mesh vtx dims?

Morgan's icon

I had a few questions regarding the same patch, for the patch and other files, see this post:

(2 of 4) This .obj has a 1d vertex matrix, I want to match each of the input pixels to the corresponding vertex (roughly speaking). I suspect that a more flexable patch would be needed to convert the vtx dims and set the the video dims, and to map them correctly. I'm probably not even doing a fraction of that here. . The ideal case would be to export the .obj so that the mesh vertices are in a scan-line type order, correct? Any guidance with mapping the optical flow to correct verts would be greatly appreciated!