-
Notifications
You must be signed in to change notification settings - Fork 38
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
Fullscreen doesn't fit screen appropriately (Macbook Pro Retina) #20
Comments
My appropriate resolution should be 1440x960 but I think it's trying to do the full retina display resolution. |
Looking at this a bit closer, I see this when reviewing my display-modes:
In my scenario, it should be the 9th and not the first one in this list. |
Making progress :) I also found @samaaron Any reason why you chose to make a function that gets all display modes instead of the one currently being used? |
Note: You have to restart nrepl to have it recognize you've switched resolutions with |
Hi John, Thanks for digging in and resolving this. It looks like your pull request solves this elegantly. I'll check this out myself and likely accept it soon. @samaaron and I were both assuming that the highest-res Display I'm curious, is it possible for you to select a 1:1 pixel mode for display on your desktop? #<DisplayMode 2880 x 1800 x 32 @0Hz>? Some might shadertone users may actually want to run at full-res. [LOL: 0Hz? that's a pretty low frame rate. I bet that makes some LWJGL apps blow up with a divide-by-zero!] |
@rogerallen Where did you see I had 0HZ? Regarding 1:1 pixel-modes, MBPs don't give you access to that unless you use a third party tool like SetResX. |
@johnjelinek re @0Hz. See the output from (display-modes) above.
|
oh lol! I guess my head filtered out the stuff surrounding |
I'll circle back if I find anything. For the moment, see http://www.reddit.com/r/twotriangles/ esp. sidebar for some info. I would just caution you that, yes, this can be really complicated if you want to make pseudo-realistic imagery. You're basically writing a ray tracer in GLSL. But, try to start small with simple geometric patterns and give yourself some time to learn the more involved rendering over time. |
Example from example 01:
The text was updated successfully, but these errors were encountered: