Closed MPenaR closed 2 years ago
Hi @MPenaR thanks for the detailed report of the issue,
it's definitely not normal, and for some reason the x3d
format is not working in my browser.. so I cannot check.
You can at least disable the plane with 'zxGrid':False
About the text equations, x3d
does not support images in the 3D scene. You should be able to add them as Text3D
instead of Latex
:
plt += Text3D('dx/dt = x - xy', c='white', s=0.25).rotateZ(-90).pos(4,4,0)
plt += Text3D('dy/dt = \alpha(xy-y)', c='white', s=0.25).rotateZ(-90).pos(3,4,0)
Which browser are you using? In my case at the begining the HTML would not load the x3d because of a CORS error (being the file local)
In firefox you can solve it by going to about:config
and changing privacy.file_unique_origin
from True
to False
This is the new result with the text as Text3D
:
Although is not right yet, it seems to me that the bug may have something to do with using "pixel" directions in one of the plots and "xy" directions in the other (like y increasing from top to bottom)
Actually was a problem in the upstream VTK with orientations.... I made a fix on the master:
pip install -U git+https://github.com/marcomusy/vedo.git
It should now work!
Thank you very much, works as expected now
I was testing the web export feature with one of the examples. I used the Lotka-Volterra one. When I run it as a script I get the same result as the one shown in the gallery of examples:
However, when I try to get a html page by running the following code (it is the original plus the last line and without the
.close()
on theshow
):I get a representation that has the plan from the y axis with the reversed direction:
Is this behaviour expected? also there are some texts missing.
here is the output from
vedo --info
: