-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
glTF仕様(https://registry.khronos.org/glTF/specs/2.0/glTF-2.0.html#properties-reference )に従って、モデルを`nusamai-gltf/src/models`に定義しました。 `nusamai-gltf/examples/geometry_to_gltf.rs`にモデルの利用方法を含めた、glTF(glb)への変換方法を書いています。 以下のコマンドを実行 ```bash cargo run --example geometry_to_gltf --release -- ~/path/to/22203_numazu-shi_2021_citygml_4_op/udx/bldg/52385628_*_6697_op.gml ```
- Loading branch information
1 parent
82766aa
commit 28368e9
Showing
117 changed files
with
252,958 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
[package] | ||
name = "nusamai-gltf" | ||
version = "0.1.0" | ||
edition = "2021" | ||
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[dependencies] | ||
encoding_rs = "0.8.33" | ||
serde = { version = "1.0.192", features = ["derive"] } | ||
serde_json = { version = "1.0.108", features = ["float_roundtrip"] } | ||
serde_repr = "0.1.17" | ||
|
||
[dev-dependencies] | ||
glob = "0.3.1" | ||
clap = { version = "4.4.6", features = ["derive"] } | ||
elementtree = "1.2.3" | ||
nusamai-geometry = { path = "../nusamai-geometry" } | ||
quick-xml = "0.31.0" | ||
thiserror = "1.0.50" | ||
earcut-rs = { git = "https://github.com/MIERUNE/earcut-rs.git" } | ||
indexmap = "2.1.0" | ||
byteorder = "1.5.0" |
Oops, something went wrong.