i used potree desktop to get all my pointclouds in one jason5 file. How can view this file on my local webrowser? i am a javascript/html beginner. I can reopen the jason5 file in potree desktop and see all my pointclouds. How can i view and imbed this jason5 file in my html file?
I tried to use the potree.exe generate page of one of my pointclouds and view it. i get a Uncaught ReferenceError: Potree is not defined.
i changed the path to new pointcloud and changed the package.json and packelock.json to type:module.
i changed <link rel="stylesheet" type="text/css" href="./libs/potree/potree.css"
to <link rel="stylesheet" type="text/css" href="/src/viewer/potree.css
otherwise i got an error: Refused to apply style from 'http://127.0.0.1:5500/libs/potree/potree.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
i tried to use the potree liveserver it didnt work either.
i used liveservers from visualstudiocode and opend the liveserver in microsoft edge.