In all the examples using InterfaceGl the params view looks like this on my Mac. In order to access it with a mouse, the mouse pointer must be somewhere upside off the view. Has anybody solved this?
Retina strikes again. For a quick fix if you’re just playing around you can explicitly disable high DPI in your init
you pass to the app macro or alternatively there’s an entry in the plist you can add to disable it.
Otherwise you get to figure out whether it’s in the cinder source or the ant tweakbar source where someone is accidentally using pixels vs points (or vice-versa, I can never remember) when stating a window/viewport size or mouse coordinate. Fun!
I’d personally recommend just using imgui and calling it a day.
@lithium Thanks!
A quick
<key>NSHighResolutionCapable</key>
<string>False</string>
in info.plist fixes the Params issue, and the quality of the main image does not seem to suffer much.
Best.
Stumbled on this post because I had a similar issue on OSX 11.4 (Big Sur).
Was using imgui and it was cropped exactly the same as with your InterfaceGl.
I noticed when checking the contentscaling it gave me 1 instead of 2.
float SCALE = ci::app::getWindow()->getContentScale();
Except when I used
settings->setHighDensityDisplayEnabled();
In the prepare settings than I got the correct scaling and things where fixed.
Hope it helps someone else.