Closed Insopitus closed 3 months ago
I think I forgot the loaders used in CMPTLoader
. I'll update it tomorrow if you think the loaderMap
thing is acceptable.
Instead, a property called loaderMap is added to the TilesRenderer class to define which loader should be used for each format.
Thanks! But B3DM, I3DM, PNTS, and CMPT are all deprecated now and glTF is the only officially supported 3d tiles geometry format - so ultimately this is an addition that's only for your usecase. I'd prefer not to modify the public facing API for this change.
Okay, understood.
508
I didn't go the
LoadingManager.getHandler
solution, sinceB3DMLoader
and other tile format loaders aren't inherited from three.js'Loader
class. It would at least cause ts errors for the library users.Instead, a property called
loaderMap
is added to theTilesRenderer
class to define which loader should be used for each format.@gkjohnson how do you like it?