vasturiano / three-globe

WebGL Globe Data Visualization as a ThreeJS reusable 3D object
https://vasturiano.github.io/three-globe/example/links/
MIT License
1.19k stars 145 forks source link

changing globe image #87

Open enroote opened 1 year ago

enroote commented 1 year ago

changing img does not work for me.

globejs(img=system.file("images/moon.jpg", package = "threejs"), bg="white") yields a black globe. So does any other .jpg I add.

specs:

RStudio Version 1.2.5033 platform x86_64-w64-mingw32
arch x86_64
os mingw32
system x86_64, mingw32
status
major 3
minor 6.3
year 2020
month 02
day 29

vasturiano commented 1 year ago

@enroote please see here how to load an image to wrap the globe: https://github.com/vasturiano/three-globe/blob/d8eba6ee5fd2344deb870a4db55285a0d743674e/example/basic/index.html#L26-L27