{"id":40882501,"url":"https://github.com/bertt/b3dm-tile-cs","last_synced_at":"2026-01-22T01:16:49.853Z","repository":{"id":38011628,"uuid":"161315887","full_name":"bertt/b3dm-tile-cs","owner":"bertt","description":" .NET 8.0 Library for reading/writing 3D Tiles B3dm files to/from glTF 2.0","archived":false,"fork":false,"pushed_at":"2024-10-09T07:36:15.000Z","size":7499,"stargazers_count":65,"open_issues_count":0,"forks_count":22,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-09-09T13:05:30.656Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bertt.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-12-11T10:19:16.000Z","updated_at":"2025-08-21T05:00:43.000Z","dependencies_parsed_at":"2024-06-19T01:44:59.907Z","dependency_job_id":"67205000-f654-4355-bc3f-88d5dcee736e","html_url":"https://github.com/bertt/b3dm-tile-cs","commit_stats":{"total_commits":210,"total_committers":2,"mean_commits":105.0,"dds":"0.033333333333333326","last_synced_commit":"94e4ac9817ba9506febb575514dbd4e39973317e"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bertt/b3dm-tile-cs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bertt%2Fb3dm-tile-cs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bertt%2Fb3dm-tile-cs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bertt%2Fb3dm-tile-cs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bertt%2Fb3dm-tile-cs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bertt","download_url":"https://codeload.github.com/bertt/b3dm-tile-cs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bertt%2Fb3dm-tile-cs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28648639,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-21T21:29:11.980Z","status":"ssl_error","status_checked_at":"2026-01-21T21:24:31.872Z","response_time":86,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-01-22T01:16:49.295Z","updated_at":"2026-01-22T01:16:49.848Z","avatar_url":"https://github.com/bertt.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# b3dm-tile-cs\n\n.NET 8.0 Library for reading/writing 3D Tiles B3dm files to/from glTF 2.0\n\nBatched 3D specification: https://github.com/AnalyticalGraphicsInc/3d-tiles/blob/master/specification/TileFormats/Batched3DModel/README.md\n\n[![NuGet Status](http://img.shields.io/nuget/v/b3dm-tile.svg?style=flat)](https://www.nuget.org/packages/b3dm-tile/)\n\n## Sample code for conversion b3dm -\u003e glb:\n\nIn this sample the payload of a B3DM tile is converted to GLB file. \n\nSample code:\n\n```\nvar inputfile = @\"testfixtures/662.b3dm\";\nvar outputfile = Path.GetFileNameWithoutExtension(inputfile) + \".glb\";\nvar f = File.OpenRead(inputfile);\nvar b3dm = B3dmReader.ReadB3dm(f);\nvar stream = new MemoryStream(b3dm.GlbData);\nFile.WriteAllBytes(outputfile, stream.ToArray());\n```\n\n## Sample code for conversion glb -\u003e b3dm:\n\n```\nvar inputfile = @\"testfixtures/building.glb\";\nvar buildingGlb = File.ReadAllBytes(inputfile);\nvar b3dm = new B3dm.Tile.B3dm(buildingGlb);\nvar bytes = b3dm.ToBytes();\nFile.WriteAllBytes(\"test.b3dm\", bytes);\n```\n\n## Dependencies\n\n- .NET 6\n\n## Benchmarks\n\n```\nBenchmarkDotNet=v0.12.1, OS=Windows 10.0.19041.329 (2004/?/20H1)\nIntel Core i7-9750H CPU 2.60GHz, 1 CPU, 12 logical and 6 physical cores\n.NET Core SDK=3.1.301\n  [Host]     : .NET Core 3.1.5 (CoreCLR 4.700.20.26901, CoreFX 4.700.20.27001), X64 RyuJIT\n  DefaultJob : .NET Core 3.1.5 (CoreCLR 4.700.20.26901, CoreFX 4.700.20.27001), X64 RyuJIT\n\n|    Method |      Mean |    Error |    StdDev |    Median |   Gen 0 |   Gen 1 |   Gen 2 | Allocated |\n|---------- |----------:|---------:|----------:|----------:|--------:|--------:|--------:|----------:|\n|  ReadB3dm |  40.81 us | 0.930 us |  2.742 us |  39.88 us | 13.6719 |  0.2441 |       - |   85.1 KB |\n```\n\n## History\n\n2024-10-09: Version 1.2.0, to .NET 8.0\n\n2024-01-25: Version 1.1.2, fix glb length\n\n2023-02-16: Version 1.1.1, remove trailing byte padding when reading Glb\n\n2023-01-18: Version 1.1, namespace changes from B3dm.Tile to B3dmCore\n\n2023-01-11: Version 1.0.2, fix glb length\n\n2023-01-11: Version 1.0.1, adding padding for GLB\n\n2022-12-08: Version 1.0, to .NET 6\n\n2021-10-27: Version 0.14, adding non latin batchtable support\n\n2020-11-02: Version 0.13, supporting cmpt tiles\n\n2020-08-03: Version 0.10 + 0.11 + 0.12 breaking change: B3dmWriter for writing to file removed, use b3dm.ToBytes() instead\n\n2020-07-01: Version 0.9 adding 8 byte padding rules\n\n2019-07-10: Version 0.8\n\n- adding featuretable / batchtable support (json and binary formats) for reading and writing b3dm tiles\n\n2019-07-05: Version 0.7\n\n2019-05-16: Version 0.6\n\n2019-05-09: version 0.5\n\n- Added pack glb file to b3dm\n\n2019-01-09: version 0.4.1\n\n- Added parsing FeatureTableJson, FeatureTableBinary, BatchTableJson, batchTableBinary\n\n2019-01-09: version 0.4\n\n  - Removed parsing Glb code\n\n  - Added helper methode GltfVersionChecker.GetGlbVersion(b3dm.GlbData) for checking version of glTF data\n\n  - Added b3dm headers FeatureTableJsonByteLength, FeatureTableBinaryByteLength, BatchTableJsonByteLength, batchTableBinaryByteLength. \n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbertt%2Fb3dm-tile-cs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbertt%2Fb3dm-tile-cs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbertt%2Fb3dm-tile-cs/lists"}