Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Retina display support
06-13-2016, 12:53 PM (This post was last modified: 06-13-2016 12:55 PM by alelepd.)
Post: #1
Retina display support
Hello there,

It is possible to give retina display support to Wings 3d? I have been digging around the code without any success.

In theory, we should be able to get the window size within a pixelRatio of the native screen or somehow duplicate the current pixel ratio.

This is probably related to wxGLCanvas or wxWindow. Does anyone have a clue on how and where to implement this feature (maybe wings_wm.erl)?
06-13-2016, 09:11 PM
Post: #2
RE: Retina display support
I don't have a retina display so I have not looked at that.

There have been a lot of talk about it in the wxWidgets mailinglist, so try and google it and see how to do it in C++ first?
06-14-2016, 11:09 AM (This post was last modified: 06-14-2016 11:13 AM by alelepd.)
Post: #3
RE: Retina display support
Yeah, I learned that there is a wxWidget class to get the pixel ratio of the screen, it is called scaleFactor in wxWidget terminology. Retina screens (hpdi) have a scale factor of 2.

Of course, the real problem is how to render everything in 2x for these screens.

Some parts of the app works fine in retina screen (eg the preferences windows). But everything inside the 3d editor looks blurred so I guess that I should find a way to render that in twice the resolution.

If you where to render the 3d editor in twice the resolution it has, how would be your approach?

Forum Jump:

User(s) browsing this thread: 1 Guest(s)