• Website
  • Search
  • Member List
  • Help
  • Old Forum
  • Social Media
    •   @Wings3dOfficial
    •   @Wings3dOfficial
    •   Wings3dOfficial
    •   Wings3dOfficial
  • Register
  • Login
  • Website
  • Search
  • Member List
  • Help
  • Old Forum
  • Register
  • Login
Wings 3D Development Forum Wings 3D Programming v
« Previous 1 2 3 4 Next »
Retina display support

 
  • 0 Vote(s) - 0 Average
Retina display support

alelepd
Offline

Junior Member

Posts: 5
Threads: 2
Joined: Jun 2016
#1
06-13-2016, 02:53 AM (This post was last modified: 06-13-2016, 02:55 AM by alelepd.)
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)?
dgud
Offline

Grumpy Dev
Posts: 692
Threads: 37
Joined: Nov 2012
#2
06-13-2016, 11:11 AM
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?
alelepd
Offline

Junior Member

Posts: 5
Threads: 2
Joined: Jun 2016
#3
06-14-2016, 01:09 AM (This post was last modified: 06-14-2016, 01:13 AM by alelepd.)
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?
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D - Powered by MyBB

Linear Mode
Threaded Mode