Mask exporter tool

FFGL, OSC, GLSL. If you like abbreviations, this is the forum for you
elgarf
Posts: 287
Joined: Sun Sep 13, 2015 05:52

Mask exporter tool

Post by elgarf »

Wrote small tool, inspired by viewtopic.php?f=6&t=12650 topic. It exports all output masks for each screen in svg. Only win.

Binaries https://dl.dropbox.com/s/6x3s5j3rxhluyg ... ort_bin.7z
Source https://dl.dropbox.com/s/iccxd46on2pys4 ... ort_src.7z

User avatar
francoe
Posts: 383
Joined: Thu Nov 27, 2008 23:30

Re: Mask exporter tool

Post by francoe »

No readme? I can't see any xml setup in the dropdown. Copied xmls in the software folder, the software itself on screensetup folder... no luck.

dirtyjohn_lv
Posts: 388
Joined: Sat Oct 29, 2011 22:24
Location: Las Vegas, NV

Re: Mask exporter tool

Post by dirtyjohn_lv »

It reads the screen setups for me, but outputs a blank svg for a screen with 7 slices

Also, after trying 9-10 times it stops exporting "error while exporting masks"

elgarf
Posts: 287
Joined: Sun Sep 13, 2015 05:52

Re: Mask exporter tool

Post by elgarf »

Can you share your screen setup?

dirtyjohn_lv
Posts: 388
Joined: Sat Oct 29, 2011 22:24
Location: Las Vegas, NV

Re: Mask exporter tool

Post by dirtyjohn_lv »

here you go.
Attachments
test.zip
(2.27 KiB) Downloaded 758 times

elgarf
Posts: 287
Joined: Sun Sep 13, 2015 05:52

Re: Mask exporter tool

Post by elgarf »

Aww. It exports only masks at this time, I'll try to make slice export, based on your example. Slice export is harder because of wrapping.

elgarf
Posts: 287
Joined: Sun Sep 13, 2015 05:52

Re: Mask exporter tool

Post by elgarf »

Just updated tool, links are the same. Now it exports slices, polygons (if you want) and masks for each output.
francoe wrote:No readme? I can't see any xml setup in the dropdown. Copied xmls in the software folder, the software itself on screensetup folder... no luck.
By default it looks into Documents/Resolume Arena 5/presets/screensetup, but I added ability to load your xml from any place, hope it helps.

Also it doesn't work with R4.
dirtyjohn_lv wrote:It reads the screen setups for me, but outputs a blank svg for a screen with 7 slices

Also, after trying 9-10 times it stops exporting "error while exporting masks"
Now it exports all your slices, but you see all green field. Check it into Inkscape or other vector editor.

Binaries https://dl.dropbox.com/s/6x3s5j3rxhluyg ... ort_bin.7z
Source https://dl.dropbox.com/s/iccxd46on2pys4 ... ort_src.7z

Joris
Posts: 5186
Joined: Fri May 22, 2009 11:38

Re: Mask exporter tool

Post by Joris »

I'm a bit curious as to why you choose to export the output transformation coordinates as opposed to the input selection coordinates.

I'm assuming you'd use this export to create new content to fit your mapping right? Wouldn't that content then be warped again by the output transformation?

elgarf
Posts: 287
Joined: Sun Sep 13, 2015 05:52

Re: Mask exporter tool

Post by elgarf »

Quote from inspiration theme: "I'd like to request a feature that allows users to export output masks and slices to .eps or layered .ai files."

I don't use input transformation, because screen preset doesn't contain information about composition. Of course, I can add ability to export input transformation too.

In inspiration theme, topic starter just wanted to export masks, as for me, all content made before show, and it's no needing at exporting something at all.

Joris
Posts: 5186
Joined: Fri May 22, 2009 11:38

Re: Mask exporter tool

Post by Joris »

screen preset doesn't contain information about composition
Check the xml tag <InputSize>, the tag with attribute name "0:1" is the most recently used comp size for that screensetup.

Post Reply