Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

changing globe image #87

Open
enroote opened this issue Aug 18, 2023 · 1 comment
Open

changing globe image #87

enroote opened this issue Aug 18, 2023 · 1 comment

Comments

@enroote
Copy link

enroote commented Aug 18, 2023

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
Copy link
Owner

@enroote please see here how to load an image to wrap the globe:

const Globe = new ThreeGlobe()
.globeImageUrl('//unpkg.com/three-globe/example/img/earth-dark.jpg')

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants