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
318 stars 85 forks source link

Indexed triangle list sample? #91

Open AdamSzofran opened 4 years ago

AdamSzofran commented 4 years ago

I'm struggling to interpret the specification for how indexed triangle lists should be written. Can anyone point me to a sample .slpk file that contains indexed triangle lists? The spec itself doesn't contain any examples. Thanks.

AdamSzofran commented 4 years ago

BTW, the i3s_converter tool doesn't seem to recognize indexed geometry. For example, when I use Indexed as the topology in the defaultGeometrySchema, i3s_converter gives me the following error:

{
  "version": "0.5.11192019",
  "log": [
    {
      "code": "7009",
      "level": "Error",
      "message": " JSON parsing error in \"/3dSceneLayer\":  JSON string \"store.defaultGeometrySchema.topology\" is not a known value for this enumeration (Indexed)"
    }
  ],
  "success": false
}
disednet commented 2 years ago

Hi @AdamSzofran , I implemented the writer for geometry in my project and I used the not Indexed Scheme when I got a vector of triangles and save every triangle point sequentially as triangles weren't connected by common edges and vertices.