3d graphics not displayed
I am new to Sage. I use SageMath 8.6 on Windows 10. 2D plotting works, but not 3d.
For example this produced no graphics but just the:
πΆππππππππΉππΎπππππ
sage: x, y = var('x,y')
sage: g = plot3d(x^2 + y^2, (x,-2,2), (y,-2,2))
sage: show(g)
πΆππππππππΉππΎπππππ
I use Chrome.
With the suggested option:
sage: show(g,figsize=8, viewer="threejs", frame=False,axes=True)
it works now!
It works also with:
sage: show(g,figsize=8, viewer="threejs", axes=True)
And with:
sage: show(g,figsize=8, viewer="threejs")
It looks like viewer option should be there for 3D to work on windows 10 with Chrome.
SageMath is great! With Python it is much more friendlier than Mathematica.
Could you precise which WEB browser do you use ? because for me the code does not work in Edge but works in Chrome. Strangely, there was a time or in Edge it worked when I specified the viewer . like that:
But not anymore !.
I Just ask a question on MS forum: question
it is working now for me with the Edge browser, but I made 2 changes, and I do not know if either 1 is enough or if both are needed! modification 1: allow in the firewall "3D display" change 2: download as Windows Insider the latest version of Edge: Version 74.1.96.24 it is ok using JMOLL default or ThreeJs. look the 2 images on MS forum (click on question in above comment.
What version of Java did you install ? On Linux, our version of jmol works with
openjdk
8, but win't work withopenjdk
9, 10 or 11... An excruciating pain in th a$$, only partially relieved bythreejs
, which has its share of problems (shading and transparency, among others).@Emmanuel Charpentier, I see that I have Oracle Java version 8
same version as mine : Java 8 upgrade 191 (build 1.8.0_191-b12)