Esri / i3s-spec

This repository hosts the specification for Scene Layers which are containers for arbitrarily large amounts of geographic data. The delivery and persistence model for Scene Layers, referred to as Indexed 3d Scene Layer (I3S) and Scene Layer Package (SLPK) respectively, are specified.
Other
319 stars 85 forks source link

Image size #33

Closed Shtirlic81 closed 5 years ago

Shtirlic81 commented 5 years ago

Hello,

I'v got some sample of the I3S format, and there the actual image size is 512x1024. x size is 512.

So in order to know the y size I need to decode the image.

I need this information in case the texture is bigger than I need and in this case I won't use it.

Is it possible to add y size field to the format?

Thanks.

jfoster126 commented 5 years ago

Hi @Shtirlic81 ,

If you are using 1.6, the height of the image is not available. Only the width and the compressed length are available.

1.7 spec version uses texelCountHint in the meshMaterial instead of image, which is width x height, which may be enough to determine if the image is too large for your use case.

Please let us know if you have use case where the height is important instead of the product.

Shtirlic81 commented 5 years ago

OK, thanks