Closed elPistolero closed 6 years ago
Thanks for the report. I'm looking into it, but got side tracked by something else. Which version of jupyterlab and which version of pythreejs are you using?
I'm using jupyterlab version 0.31.8 and pythreejs version 1.0.0b6.
I also tried using absolute paths for the png files but that didn't fix the issue.
Good find! I need to make it a routine to also check all the examples in lab. This best solution to this follows https://github.com/jupyter-widgets/ipywidgets/pull/1993.
Interesting. Do you know why absolute paths don't work? Or are relative paths always assumed?
Do you know why absolute paths don't work?
The texture is supposed to be a URL, so you might have success with an absolute URL.
The problem with not displaying absolute URLs seems to be a browser security related issue.
This is now fixed in master, and will be available with the next release (requires latest version of ipywidgets lab extension).
The two ImageTexture objects
checker_tex
andearth_tex
cannot be rendered with jupyterlab.data_tex
can be rendered correctly.With a jupyter notebook everything works as expected.
The console gives the following output: