Page 1 of 1

Visualizations get opened with okular

Posted: 03 Sep 2017, 19:59
by winterwind
Any command that produces some visualization of a polytope (be it the ordinary VISUAL or SCHLEGEL or GALE or whatsoever) opens Okular (my default pdf viewer) instead of jReality.
However, Okular is clearly not the program of choice concerning visualization.

So I uninstalled and reinstalled polymake from source code, but the problem persists. I tried then the online threejs viewer which works fine. Yet I would like to use polymake a) offline and b) benefit from the export options of jReality.

Any idea what to do? Thanks for any help in advance.

I'm using kde neon. and have installed polymake version 3.1.

Greetings
Wolfgang

Re: Visualizations get opened with okular

Posted: 07 Sep 2017, 00:15
by gawrilow
Is okular popping up even if you call jreality explicitly, e.g.

Code: Select all

jreality($p->VISUAL);
?

If not, then it's just the matter of setting the preferences right:

Code: Select all

prefer "jreality";
or if you want to choose jReality only for 3-d visualisation but not for graphs and similar flat diagrams:

Code: Select all

prefer "jreality.geometry";