Polygon mapping not good

Post your questions here and we'll all try to help.
Post Reply
Julien-Robert
Met Resolume in a bar the other day
Posts: 5
Joined: Sat Sep 21, 2019 03:28

Polygon mapping not good

Post by Julien-Robert » Sat Sep 21, 2019 03:37

I'm using polygons to select parts of my video and map it to the output in advanced output.
The way Arena transform polygons is not good for me, it king of divide the form in triangles and then the transformation is not straight (see image). It doesn't act like that with slices. The problem is that my input doesn't have straight rectangles to select.
Do you have a trick or a workaround to avoid that?
Attachments
capture.png

elgarf
Hasn't felt like this about software in a long time
Posts: 212
Joined: Sun Sep 13, 2015 05:52

Re: Polygon mapping not good

Post by elgarf » Sun Sep 22, 2019 20:11

Julien-Robert wrote:
Sat Sep 21, 2019 03:37
It doesn't act like that with slices. The problem is that my input doesn't have straight rectangles to select.
Do you have a trick or a workaround to avoid that?
What about using regular slices with Input Mask?

Julien-Robert
Met Resolume in a bar the other day
Posts: 5
Joined: Sat Sep 21, 2019 03:28

Re: Polygon mapping not good

Post by Julien-Robert » Mon Sep 23, 2019 22:25

Yes with regular slices and input mask I managed to do something, it’s just very longer to do the mapping. And sometime it’s not perfectly right since part of slices (because I put doesn’t match so it’s taking part of the polygon next to it) come in front of others.

Zoltán
Team Resolume
Posts: 3883
Joined: Thu Jan 09, 2014 13:08
Location: Székesfehérvár, Hungary

Re: Polygon mapping not good

Post by Zoltán » Tue Sep 24, 2019 11:14

I guess you're trying to projection map onto irregular shapes.
Try working a bit backwards,
create a polygon that has about the required number of edge points, (don't worry, you can add or remove points later ay time by a double click)
then align it in Edit points mode in the Output transformation to your object.
Now go back to the Input selection, right click on the slice and select Match output shape.
This should get your output distortions flat again, and you can move the Input slice to the position you'd like.

Have a look at this link for a quick explanation why polygons are triangles: https://www.quora.com/Why-do-we-use-tri ... of-squares
Theatre sound engineer, photographer, programmer, aka ravensc.
Control Your show with ”Enter” - multiple Resolume servers at once - SMPTE/MTC column launch
try for free: http://programs.palffyzoltan.hu
VJ footage: https://goo.gl/58oHy7

VentMedia
Met Resolume in a bar the other day
Posts: 1
Joined: Tue May 08, 2018 15:13

Re: Polygon mapping not good

Post by VentMedia » Mon Dec 02, 2019 15:36

This seems a bit of a poor workaround. Impossible to prepare the mapping prior to being on site.
Polygon mapping needs to have the facility to have a more complex mesh otherwise they're unusable on irregular shapes

Zoltán
Team Resolume
Posts: 3883
Joined: Thu Jan 09, 2014 13:08
Location: Székesfehérvár, Hungary

Re: Polygon mapping not good

Post by Zoltán » Mon Dec 02, 2019 16:24

Polygons are triangles, because that's the simplest what GPUs understand, and are the fastest to work with processing vise:
https://www.quora.com/Why-does-graphics ... -triangles

If you want to map on irregular shapes, try using rectangle slices with Input masks.

Here you can also find a more detailed explanation about why Resolume uses triangles for polygons https://resolume.com/support/en/input-s ... gon-slices TL;DR because of math.
Theatre sound engineer, photographer, programmer, aka ravensc.
Control Your show with ”Enter” - multiple Resolume servers at once - SMPTE/MTC column launch
try for free: http://programs.palffyzoltan.hu
VJ footage: https://goo.gl/58oHy7

User avatar
francoe
Is seriously in love with Resolume. Met the parents and everything
Posts: 321
Joined: Thu Nov 27, 2008 23:30

Re: Polygon mapping not good

Post by francoe » Wed Dec 04, 2019 18:22

VentMedia wrote:
Mon Dec 02, 2019 15:36
This seems a bit of a poor workaround. Impossible to prepare the mapping prior to being on site.
Polygon mapping needs to have the facility to have a more complex mesh otherwise they're unusable on irregular shapes
True.
I'm an R fan, but ended using another tool when polygons are mandatory.

Post Reply