Open alouis-jpg opened 3 months ago
I bumped into this too. But i was trying to load the google api 3D tiles the same way. Is it possible just inserting something like this?
<Loader3DTilesR3FAsset
dracoDecoderPath={'https://cdn.jsdelivr.net/npm/three@0.160.0/examples/jsm/libs/draco'}
basisTranscoderPath={'https://cdn.jsdelivr.net/npm/three@0.160.0/examples/jsm/libs/basis'}
rotation={new Euler(-Math.PI / 2, 0, 0)}
url="https://tile.googleapis.com/v1/3dtiles/root.json"
maximumScreenSpaceError={48}
googleApiKey="AIzaS....."
Hello! Thanks for this great 3d tiles viewer. I could make it work in my r3f app after two small changes: