Home › Forum › SOFA › Getting Started › Quarter-window display on macOS
Tagged: 64_bits, MacOS, Plugin_SoftRobots, SOFA_1906
- This topic has 4 replies, 2 voices, and was last updated 5 years, 6 months ago by
Hugo.
-
AuthorPosts
-
29 March 2020 at 17:12 #15575
rob
BlockedWhen I run my own scene file only the bottom-left quarter of the display is used for the scene.
When I run “runSofa” with no arguments the demo snake model fills the entire window.
I am running on macOS Catalina on a 16″ MacBook with Retina screen. This is both with a pre-built version of SOFA and also one I’ve compiled from source on the same machine.
Given the demo works ok is there something I am potentially doing wrong in my scene?
31 March 2020 at 11:43 #15597Hugo
KeymasterHi @robclark
Welcome on the SOFA forum!
I am really sorry for this issue, that we are aware of.The QtViewer of SOFA does not support Retina screens. Could you try the other viewer of SOFA: QGLViewer (see in the GUI, the View widget) or run:
runSofa -g qglviewerPlease let us know if it helps.
I am sorry for this first disappointing experience!
Best wishes,Hugo
7 April 2020 at 17:47 #15668rob
BlockedHi, many thanks for the quick response.
With “runSofa -g qglviewer XYZ.pyscn” I get the same quarter-display. The only possibly relevant information in the stdout is:
The constructor with a QGLFormat is deprecated, use the regular contructor instead.
Within the GUI if I use the View menu to switch to OpenGL then the whole simulation window becomes black. This seems to be because the zoom is increased massively, my object can be “recovered” by zooming out. In this case the following is printed out in the terminal:
QtViewer: OpenGL 2.1 ATI-3.2.29 context created.
Many thanks
7 April 2020 at 18:25 #15670rob
BlockedAs my actual objective is to build simulations of inflatable objects I tried out a scene linked to from a recently active thread on that subject (sources here: https://github.com/ALFsarah/SOFA-cube-pneumatic-actuator).
The “Visual” part of the view filled the entire SOFA display window, but the “Behaviour” cube is shown down in the bottom-left quarter of the display. My own demo script has no “Visual” nodes yet so I hadn’t realised this difference yet.
Does this suggest what might be happening?
Many thanks.
15 April 2020 at 16:44 #15769 -
AuthorPosts
- You must be logged in to reply to this topic.
