3DTilesRendererJS icon indicating copy to clipboard operation
3DTilesRendererJS copied to clipboard

tile flattening plugin not in index

Open kfarr opened this issue 1 year ago • 3 comments

Question

I'm interested to try the tile flattening plugin but get error export 'TileFlatteningPlugin' (imported as 'TileFlatteningPlugin') was not found in '3d-tiles-renderer/plugins' (possible exports: BatchedTilesPlugin, CesiumIonAuthPlugin, ...

It appears the flattening plugin is not imported here in npm package 0.4.8 https://github.com/NASA-AMMOS/3DTilesRendererJS/blob/master/src/plugins/index.js

is that on purpose as the plugin is not ready for use?

Supplemental Data

No response

Library Version

0.4.8

Three.js Version

173

kfarr avatar Apr 22 '25 06:04 kfarr

The TileFlatteningPlugin is part of the upcoming 0.4.9 release: https://github.com/NASA-AMMOS/3DTilesRendererJS/blob/master/CHANGELOG.md#049---unreleased

hallvar avatar Apr 22 '25 09:04 hallvar

@hallvar ah ok, thanks for the heads up. Eagerly awaiting release 😄

kfarr avatar Apr 22 '25 15:04 kfarr

I actually did intend to export this in v0.4.8 but as you point out I forgot to add it to the index.js file 😅 I'll add it in the next release. Thanks!

gkjohnson avatar Apr 24 '25 06:04 gkjohnson