How to make OF use half coordinates?


Using OF on macOS with High Resolution Capable enabled makes OF window appear in half sized window. This makes the window look too small on macOS compared to running the app on other OS.

So I wonder if there’s an easy solution to make OF use half coordinate system on macOS. (So the window can be 2 times bigger)

I tried using ofScale(0.5, 0.5, 0.5), but it didn’t have any effect on ofNode based classes such as ofLight, ofCamera.

Is there a simple and safe way that can make OF use half coordinate systems on every OF classes and methods?

1 Like

I don’t think there is. As well I would, personally, not bother with trying so, as there can be so many parts where you can get it done the wrong way. At least for ofxGui there is a method that would make it twice its size so you can have a decently size gui.
Just call ofxGuiEnableHiResDisplay(); in setup.

1 Like