<verts> Tag in preset file (.xml)
-
- Posts: 3
- Joined: Mon Aug 26, 2013 13:52
<verts> Tag in preset file (.xml)
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)
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 ).
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 ).
-
- Posts: 3
- Joined: Mon Aug 26, 2013 13:52
Re: <verts> Tag in preset file (.xml)
Thank you!!!!! 
