FAQ  •  Register  •  Login

Unable to populate FX windows

Moderator: MiRai

<<

Movie1011

Posts: 6

Joined: Thu Feb 20, 2020 9:31 am

Post Mon Apr 20, 2020 1:27 pm

Unable to populate FX windows

Hello

I am following video: https://www.youtube.com/watch?v=Hntr1IE ... e=youtu.be and seem to be missing something.

Pastebin: https://pastebin.com/uY54hDjE I am hoping I did this right.

I created the hot key to generate the Viewers on the bottom however the viewers do not generate when I hit the hotkey.

I have a feeling it is do to the X and Y settings but can't tell. My monitor is to the left of my main so it is a negative value.

Thanks
<<

bob

User avatar

League of Extraordinary Multiboxers

Posts: 4585

Joined: Sat Feb 15, 2014 11:14 am

Location: In the dining room, with the lead pipe.

Post Tue Apr 21, 2020 11:29 am

Re: Unable to populate FX windows

Well, can't see any mapped keys in there where you are creating VideoFX viewers, so that could be the problem.

Or it could be that you are specifying monitor co-ordinates, rather than window co-ordinates. i.e. the Viewers are positioned relative to top left of the Window that are in.
in other words, top left is 0,0 of the Window, and the viewer is positioned from 0,0. The co-ordinates for a position within a Window will never be negative.
<<

Movie1011

Posts: 6

Joined: Thu Feb 20, 2020 9:31 am

Post Tue Apr 21, 2020 4:04 pm

Re: Unable to populate FX windows

Here is my mapped keys: https://pastebin.com/8xgQV295 I thought I may have messed up the pastebin thing

I have 3 monitors and the monitor I want it on is the left and the main is considered the middle monitor. I thought if the monitor is to the left of the main, those would be negative values.
<<

bob

User avatar

League of Extraordinary Multiboxers

Posts: 4585

Joined: Sat Feb 15, 2014 11:14 am

Location: In the dining room, with the lead pipe.

Post Tue Apr 21, 2020 4:42 pm

Re: Unable to populate FX windows

To position the Window on a monitor, the Window position needs to have negative values, as the Monitor is relative to the 0,0 point for Monitors, of which 0,0 is the top left of the the Primary Monitor of Windows (the OS), and the Window get displayed according to position relative to 0,0, and thus in order to be on a monitor left of the primary, it gets negative positioning. This is for the Window itself, and not what is WITHIN the Window.

Everything displayed WITHIN a Window is laid out relative to the Window's top left, and top left of that Window is 0,0, regardless of what monitor it is on. Simply, the Window is a container, and stuff within the container doesn't care where the Container is, just whereabouts WITHIN the container it should be

So, Window is at -1920, 0 on a set of Monitors, so it is left of the Primary Monitor by 1920 pixels.
Then anything, like a button, within that Window is positioned from the top left of that Window, which for the internals of that Window, top left is 0,0.

Items displayed within a given Window give not one toss about where on the monitors they are, only within that Window. If they cared about the monitor positioning, then when you dragged your Window from one monitor to another, the buttons and text boxes would slide right off as they stayed on the monitor they were created on. Seems bad, so they only care about their positioning WITHIN the Window they are displayed in, and thus each Window has a top left of 0,0.

Go further, and create a button on that window. It also has a top left, and if you displayed some text on that button, it's positioning is relative to the top left of the Button, which again, for things WITHIN the button, top left is 0,0 of the Button. Not the Window the button is in, and not the Monitors.

So, when displaying things within a Window, they will never have a negative position unless they are not being displayed.


Think of it another way. Your seat on a plane has a seat number. That seat number is in the same position within the plane, regardless of which country, or bit of airspace that plane is in. Same with elements WITHIN a Window. They care where they are WITHIN the Window, and not on which monitor they are on. This is handled by each container restarts positioning for elements within the container from 0,0, which is the top left of the container.

Return to Video FX

Who is online

Users browsing this forum: No registered users and 6 guests

cron