Site Tools


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

rhino:mac:retina [2015/09/14]
127.0.0.1 external edit
rhino:mac:retina [2016/11/19] (current)
dan
Line 7: Line 7:
 The new Retina displays had 220 PPI, so the old conventions no longer worked. The new Retina displays had 220 PPI, so the old conventions no longer worked.
  
-Apple itself did a lot of work to make the transition seamless. ​ Inside ​OS X, Apple started using the concept of points, rather than pixels, as its way of measuring screen dimensions. ​ For older non-Retina displays, Apple decided that pixels and points would be the same size. So all the previous conventions about screen layout still worked. ​ On the new Retina displays, however, Apple said that 1 point equalled 2 pixels, so there are twice as many pixels as points in each direction. ​ So when a developer creates a dialog button as 18 x 90 (points), it is still 18 x 90 pixels on a non-Retina display, but 36 x 180 pixels on a Retina display. ​ Because the Retina display has double the pixel density, the button on both the non-Retina display and the Retina display have the same apparent physical size, slightly less than 1 inch wide.+Apple itself did a lot of work to make the transition seamless. ​ Inside ​macOS, Apple started using the concept of points, rather than pixels, as its way of measuring screen dimensions. ​ For older non-Retina displays, Apple decided that pixels and points would be the same size. So all the previous conventions about screen layout still worked. ​ On the new Retina displays, however, Apple said that 1 point equalled 2 pixels, so there are twice as many pixels as points in each direction. ​ So when a developer creates a dialog button as 18 x 90 (points), it is still 18 x 90 pixels on a non-Retina display, but 36 x 180 pixels on a Retina display. ​ Because the Retina display has double the pixel density, the button on both the non-Retina display and the Retina display have the same apparent physical size, slightly less than 1 inch wide.
  
 Apple updated all the controls and text drawing so that buttons and text drawn on a Retina display draw using twice as many pixels and all applications continue to work as before without change. ​ But graphics programs like Rhino need updated to take advantage of the new Retina displays. Apple updated all the controls and text drawing so that buttons and text drawn on a Retina display draw using twice as many pixels and all applications continue to work as before without change. ​ But graphics programs like Rhino need updated to take advantage of the new Retina displays.
  
-As we mentioned, ​OS X now generally works by using points for its drawing. ​ But when Rhino is drawing your model in a view, it needs to know the size of a view in pixels, not in points. ​ So Rhino queries ​OS X to determine this, and uses the appropriate pixel values when drawing. ​ If you visually compare your model on a non-Retina display (like a 2012 MacBook Air) with the same Rhino model on a Retina display, you will see that the Retina version is much crisper and clearer. ​ Rhino is drawing four times as many pixels when drawing to a Retina display.+As we mentioned, ​macOS now generally works by using points for its drawing. ​ But when Rhino is drawing your model in a view, it needs to know the size of a view in pixels, not in points. ​ So Rhino queries ​macOS to determine this, and uses the appropriate pixel values when drawing. ​ If you visually compare your model on a non-Retina display (like a 2012 MacBook Air) with the same Rhino model on a Retina display, you will see that the Retina version is much crisper and clearer. ​ Rhino is drawing four times as many pixels when drawing to a Retina display.
  
 === Screen resolution should be set to Best (Retina) === === Screen resolution should be set to Best (Retina) ===
Line 29: Line 29:
 |More Space  |  1920 x 1200  |  1918 x 1101  |  3836 x 2202  |  8,​446,​872 ​ | |More Space  |  1920 x 1200  |  1918 x 1101  |  3836 x 2202  |  8,​446,​872 ​ |
  
-Remember, the number of physical pixels in the Retina display cannot change. ​ For the Best (Retina) setting, the number of pixels in the viewport corresponds exactly to the number of physical pixels in the display, so the viewport contents are drawn directly to the display. ​ In the two other cases, ​OS X creates an off-screen bitmap in the GPU's memory that is larger than the physical display, and Rhino draws into that bitmap.  ​OS X then scales the contents of that bitmap down to the size of the physical display and draws the scaled down version to the physical display. ​ In the More Space (1920 x 1200) option, Rhino has to draw twice as many pixels as in the Best (Retina) option. Then all that extra work is essentially thrown away when OS X takes an extra step to scale down the Rhino output so it can fit on the physical screen.+Remember, the number of physical pixels in the Retina display cannot change. ​ For the Best (Retina) setting, the number of pixels in the viewport corresponds exactly to the number of physical pixels in the display, so the viewport contents are drawn directly to the display. ​ In the two other cases, ​macOS creates an off-screen bitmap in the GPU's memory that is larger than the physical display, and Rhino draws into that bitmap.  ​macOS then scales the contents of that bitmap down to the size of the physical display and draws the scaled down version to the physical display. ​ In the More Space (1920 x 1200) option, Rhino has to draw twice as many pixels as in the Best (Retina) option. Then all that extra work is essentially thrown away when macOS takes an extra step to scale down the Rhino output so it can fit on the physical screen.
  
 Since Rhino already pays attention to the physical size of your display, it always makes sense to keep your display resolution set to **Best for display** or, if the **Scaled** selection is picked, **Best (Retina)**. Since Rhino already pays attention to the physical size of your display, it always makes sense to keep your display resolution set to **Best for display** or, if the **Scaled** selection is picked, **Best (Retina)**.
rhino/mac/retina.txt ยท Last modified: 2016/11/19 by dan