vasturiano / 3d-force-graph

3D force-directed graph component using ThreeJS/WebGL
https://vasturiano.github.io/3d-force-graph/example/large-graph/
MIT License
4.67k stars 825 forks source link

Can a single image be used for the background of a 3D force graph? #633

Closed POKEZHANG closed 1 year ago

POKEZHANG commented 1 year ago

Can a single image be used for the background of a 3D force graph? Now only the background color can be changed.

vasturiano commented 1 year ago

@POKEZHANG not directly out of the box, but you can simply add a skysphere to the scene rendered with your own image as material texture. That should lead to the outcome you're asking.

POKEZHANG commented 1 year ago

@POKEZHANG not directly out of the box, but you can simply add a skysphere to the scene rendered with your own image as material texture. That should lead to the outcome you're asking.

thank you so much!wish you a happy life~