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: 10
Joined: Sat Sep 21, 2019 03:28

Polygon mapping not good

Post by Julien-Robert »

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
Is seriously in love with Resolume. Met the parents and everything
Posts: 286
Joined: Sun Sep 13, 2015 05:52

Re: Polygon mapping not good

Post by elgarf »

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: 10
Joined: Sat Sep 21, 2019 03:28

Re: Polygon mapping not good

Post by Julien-Robert »

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: 7106
Joined: Thu Jan 09, 2014 13:08
Location: Székesfehérvár, Hungary

Re: Polygon mapping not good

Post by Zoltán »

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
Software developer, Sound Engineer,
Control Your show with ”Enter” - multiple Resolume servers at once - SMPTE/MTC column launch
try for free: http://programs.palffyzoltan.hu

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 »

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: 7106
Joined: Thu Jan 09, 2014 13:08
Location: Székesfehérvár, Hungary

Re: Polygon mapping not good

Post by Zoltán »

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.
Software developer, Sound Engineer,
Control Your show with ”Enter” - multiple Resolume servers at once - SMPTE/MTC column launch
try for free: http://programs.palffyzoltan.hu

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

Re: Polygon mapping not good

Post by francoe »

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