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

How to set the rendering distance

Open RomanIvn opened this issue 1 year ago • 2 comments

Hi, thanks for the awsom library. Quick question here: how to set the distance at which the rendereing switches to a lower depth?

I would everything to be rendered atleast at dept 2/3 for example. High quility is needed.

Image

RomanIvn avatar Mar 07 '25 11:03 RomanIvn

You can adjust the errorTarget on the TilesRenderer: https://github.com/NASA-AMMOS/3DTilesRendererJS?tab=readme-ov-file#errortarget

hallvar avatar Mar 07 '25 11:03 hallvar

Modifying the errorTarget to a lower value, as hallvar suggested, is the right way to improve the quality of the loaded tiles. Though keep in mind that this will mean loading more tile data and can lead to performance issues.

gkjohnson avatar Mar 07 '25 12:03 gkjohnson