Page 1 of 1

<verts> Tag in preset file (.xml)

Posted: Mon Jan 12, 2015 17:29
by onjackstalbeck
Hi guys, I'm trying to make a tool to export my resolume presets to another software and vise versa. But I'm confused with the <verts> tag in XML. How it works?

Re: <verts> Tag in preset file (.xml)

Posted: Mon Jan 12, 2015 18:19
by Joris
It's the x and y coordinates for each vertex point and bezier point, arranged left to right, top to bottom, x first, y second, normalized to the current output window resolution.

The thing that probably throws you off is the extra sets of bezier points. These are stored in the XML, even if you don't use bezier mode in the GUI. So if you have a single rect with four warp points, you'll have 24 values: 12 sets of x y coordinates: 4 for the corner points, and 8 for the bezier points ( 2 bezier points for each corner point ).

Re: <verts> Tag in preset file (.xml)

Posted: Mon Jan 12, 2015 19:54
by onjackstalbeck
Thank you!!!!! :D