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.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Indexed triangle list sample?

AdamSzofran opened this issue · comments

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.

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
}

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.