- This topic has 4 replies, 2 voices, and was last updated 4 years, 7 months ago by .
Viewing 5 posts - 1 through 5 (of 5 total)
Viewing 5 posts - 1 through 5 (of 5 total)
- You must be logged in to reply to this topic.
Home › Forum › SOFA › Getting Started › Quarter-window display on macOS
Tagged: 64_bits, MacOS, Plugin_SoftRobots, SOFA_1906
When 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?
Hi @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 qglviewer
Please let us know if it helps.
I am sorry for this first disappointing experience!
Best wishes,
Hugo
Hi, 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
As 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.
WARNING
The forum has been moved to GitHub Discussions.
Old topics and replies are kept here as an archive.