First you should add kokomi.Viewer, which automatically adds proper camera and orbitControls to your scene.
Then load your image asset with kokomi.AssetManager. After this, you can use kokomi.ImagePanorama to get the panorama scene and add it to the viewer.
First you should add
kokomi.Viewer
, which automatically adds proper camera and orbitControls to your scene. Then load your image asset withkokomi.AssetManager
. After this, you can usekokomi.ImagePanorama
to get the panorama scene and add it to the viewer.