We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpOther Libraries › Fullscreen API custom resolution
Page Index Toggle Pages: 1
Fullscreen API custom resolution (Read 1297 times)
Fullscreen API custom resolution
Apr 19th, 2010, 1:24pm
 
I'm using the fullscreen library (http://www.superduper.org/processing/fullscreen_api/) to show my low-res sketch stretched to fill a high-res monitor.  My monitor is 16:10, so my sketch is running at 768x480. When I call fullscreen.enter(), the sketch does not go fullscreen, it just shows in the center with a large black frame, similar to "present mode."  I get this output as well: "Fullscreen API: Display mode not supported: 768x480."

Any suggestions?
Re: Fullscreen API custom resolution
Reply #1 - Apr 20th, 2010, 7:15am
 
Perhaps using the softfullscreen mode...  Hansi is pretty responsive if you send him a message.
Re: Fullscreen API custom resolution
Reply #2 - Apr 20th, 2010, 2:10pm
 
I left a message on the site but I'm trying to get an answer relatively quickly... I've got 2 weeks to sort out the problem.

I did try SoftFullscreen but it threw an error. I didn't try very hard after that so I might give it another go.
Re: Fullscreen API custom resolution
Reply #3 - Apr 20th, 2010, 4:54pm
 
Well, I've decided to use another monitor, which is 16:9. It seems that the fullscreen API only supports resolutions that you can find in the display settings, so I'm using 1280x720. That pus it stretched to fullscreen, but there is a black bar at the top that the mouse cursor keeps showing up on (which is a huge issue for my sketch).

EDIT:

In order to get rid of the black bar (on a Mac) you have to export an application, navigate inside it (show package contents) to Contents>Info.plist

Find a line that says:
<key>LSUIPresentationMode</key>

And make sure the line below says:
<integer>4</integer>

If that isn't present, add those two lines to the list according to alphabetical order.
Page Index Toggle Pages: 1