Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Indexed triangle list sample? #91

Open
AdamSzofran opened this issue Jul 14, 2020 · 2 comments
Open

Indexed triangle list sample? #91

AdamSzofran opened this issue Jul 14, 2020 · 2 comments

Comments

@AdamSzofran
Copy link

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
Copy link
Author

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
Copy link

disednet commented Feb 8, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants