Re: Gemwindow+ questions
João Pais via Pd-list <[email protected]> Tue, 21 Jul 2026 23:00:33 +0200
| Newsgroups | gmane.comp.multimedia.puredata.general |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format.
--===============5295950659885484478==
Content-Type: multipart/alternative;
boundary="------------qlozOe4w56Bmhn3TjIiXwyFW"
This is a multi-part message in MIME format.
--------------qlozOe4w56Bmhn3TjIiXwyFW
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Both mails were very helpful:
>>> I tried these features on windows 11 and couldn't find a solution
>>> for them in Gem. So I wanted to check if there is something I
>>> missed, or they can be done using other methods. Is it possible to
>>> do any of the following things on a gemwindow?
>>>
>>> - remove the window borders/menu or make them black
>> you can create a Gem window with or without the border, sending a
>> [border 0/1< message to gemwin before the creation.
>
> the trick here is to send the message *before* creating the Gem window.
>
> (to make things a bit more confusing, there *are* some Gem window
> backends that allow to enable/disable the border after the window has
> been created; but most do not, and most importantly the default
> backend (glfw3) does *not* support it, so it's better to assume that
> you have to send the message before creation)
strangely I was sure that I had done it like that, including when
playing with the help patch. but it works now.
>
>>> - move the window using the patch, not the mouse
>> Without border, you can create the window wherever you want (but not
>> move it), with the offset message.
>
> hmm, well.
> with the default windowing backend (glfw3), you *can* send an "offset"
> message after creating the Gem window and move the window around
> (regardless of whether the window was created with or without borders).
> other backends may differ.
It does work here. I think I didn't notice this being documented.
>
>>> - make a window fullscreen on screen 2 - it seems to work on screen
>>> 1, but not on 2
>> on some OS, fullscreen 2 works.
>
> again, this is a matter of windowing backend more than of OS.
> but indeed, it might work on your system - or not. and [gemwin] might
> agree about what the 2nd screen actually is - or not.
This doesn't seem to work, but when the borders are off and the
background is black, it looks like a fullscreen anyway.
>
>> If not, you can adapt and use this message to gemwin :
>> [reset, offset 1920 0, dimen 1920 1080, border 0, create, 1<
>
> this should always work (but apparently you need to know layout of
> your screens beforehand)
Yes, my message was already similar to that. Very good, things seem to
be working.
The purpose is to project an image over a poster, and the shapes
(rectangles) must match the music systems in the poster as well. I
already noticed that it's quite impossible to do this only by moving the
projector, so I added commands in the patch to move the gem window and
it's contents on all 3 axes, makes it much easier to set. I was thinking
also of adding the possibility of making a trapeze function for each
corner: any suggestion on which object to use? Any other real-life
suggestion on how to make the projection easier?
Best,
Joao
--------------qlozOe4w56Bmhn3TjIiXwyFW
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit
<!DOCTYPE html>
<html data-lt-installed="true">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body style="padding-bottom: 1px;">
Both mails were very helpful:
<blockquote type="cite"
cite="mid:[email protected]">
<blockquote type="cite">
<blockquote type="cite">I tried these features on windows 11 and
couldn't find a solution for them in Gem. So I wanted to check
if there is something I missed, or they can be done using
other methods. Is it possible to do any of the following
things on a gemwindow?
<br>
<br>
- remove the window borders/menu or make them black
<br>
</blockquote>
you can create a Gem window with or without the border, sending
a [border 0/1< message to gemwin before the creation.
<br>
</blockquote>
<br>
the trick here is to send the message *before* creating the Gem
window.
<br>
<br>
(to make things a bit more confusing, there *are* some Gem window
backends that allow to enable/disable the border after the window
has been created; but most do not, and most importantly the
default backend (glfw3) does *not* support it, so it's better to
assume that you have to send the message before creation) <br>
</blockquote>
strangely I was sure that I had done it like that, including when
playing with the help patch. but it works now.
<blockquote type="cite"
cite="mid:[email protected]"><br>
<blockquote type="cite">
<blockquote type="cite">- move the window using the patch, not
the mouse
<br>
</blockquote>
Without border, you can create the window wherever you want (but
not move it), with the offset message.
<br>
</blockquote>
<br>
hmm, well.
<br>
with the default windowing backend (glfw3), you *can* send an
"offset" message after creating the Gem window and move the window
around (regardless of whether the window was created with or
without borders).
<br>
other backends may differ. <br>
</blockquote>
It does work here. I think I didn't notice this being documented.
<blockquote type="cite"
cite="mid:[email protected]"><br>
<blockquote type="cite">
<blockquote type="cite">- make a window fullscreen on screen 2 -
it seems to work on screen 1, but not on 2
<br>
</blockquote>
on some OS, fullscreen 2 works.
<br>
</blockquote>
<br>
again, this is a matter of windowing backend more than of OS.
<br>
but indeed, it might work on your system - or not. and [gemwin]
might agree about what the 2nd screen actually is - or not. <br>
</blockquote>
This doesn't seem to work, but when the borders are off and the
background is black, it looks like a fullscreen anyway.
<blockquote type="cite"
cite="mid:[email protected]"><br>
<blockquote type="cite">If not, you can adapt and use this message
to gemwin :
<br>
[reset, offset 1920 0, dimen 1920 1080, border 0, create, 1<
<br>
</blockquote>
<br>
this should always work (but apparently you need to know layout of
your screens beforehand) <br>
</blockquote>
<p>Yes, my message was already similar to that. Very good, things
seem to be working.</p>
<p>The purpose is to project an image over a poster, and the shapes
(rectangles) must match the music systems in the poster as well. I
already noticed that it's quite impossible to do this only by
moving the projector, so I added commands in the patch to move the
gem window and it's contents on all 3 axes, makes it much easier
to set. I was thinking also of adding the possibility of making a
trapeze function for each corner: any suggestion on which object
to use? Any other real-life suggestion on how to make the
projection easier?</p>
<p>Best,</p>
<p>Joao</p>
</body>
<lt-container></lt-container>
</html>
--------------qlozOe4w56Bmhn3TjIiXwyFW--
--===============5295950659885484478==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
---
[email protected] - the Pure Data mailinglist
https://lists.iem.at/hyperkitty/list/[email protected]/message/XTELBXKYOYDN3Q5UDQ36WTAR4CM6D2TM/
To unsubscribe send an email to [email protected] mailing list
UNSUBSCRIBE and account-management -> https://lists.iem.at/
--===============5295950659885484478==--