Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

size problem with [gemglfw3window] #285

Closed
H-MLim opened this issue Dec 10, 2021 · 5 comments
Closed

size problem with [gemglfw3window] #285

H-MLim opened this issue Dec 10, 2021 · 5 comments

Comments

@H-MLim
Copy link

H-MLim commented Dec 10, 2021

스크린샷 2021-12-11 02 55 50

test.pd.zip

after I got a problem and still not solved with [gemglutwindow], I tried to change default window with [gemglfw3window] but I'm afraid there are another issue with it. when I make a shape or texture, like [square], the shape size won't be matched with an actual window size. even when I tried to enlarge the arguments of [square] or via [dimen(. (as far as I know, like [square 4 4] is a maximum argument right?) what should I do for fix this? as same as before, I'm using MacOS Monterey ver. 12.0.1, Pd ver 0.51.4, Gem ver 0.94

@umlaeute
Copy link
Owner

hmm, weird.
i have no immediate answer for you, but it seems like Gem thinks the window is bigger than it already is.

can you change the window size (dragging a corner of the window)? (this is possible on Linux; i cannot test on macOS right now). if so does that help (or change something)?

sidenote: what is the second argument of [square 4 4] supposed to do? :-)

@H-MLim
Copy link
Author

H-MLim commented Dec 11, 2021

thank you. but still not solved while dragging windows. maybe problem of resolution? don't know yet.

btw, oh don't mind about the second argument. just forced habit. but anyway still same things are happened in [rectangle] or other shapes.

@60-hz
Copy link
Contributor

60-hz commented Dec 13, 2021

I had this problem also a few weeks ago. I had to multiply the [GEMglViewport] dimension by 2 or so, the culprit might be a wrong Windows dimension returned by [gemglfw3window] under some OSX systems.

@umlaeute
Copy link
Owner

umlaeute commented Mar 1, 2022

this seems to be a duplicate of #243, so I'm closing this in favour of the older report.

@skatzbizarro
Copy link

I had this problem also a few weeks ago. I had to multiply the [GEMglViewport] dimension by 2 or so, the culprit might be a wrong Windows dimension returned by [gemglfw3window] under some OSX systems.

how did you do that? i have the same issue and im trying this work around, trying to change the parameters send to the gemglviewport in the gemwin.pd, and reading the c++ class to see how it works. Any help i really appreciate it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants