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

glTFへシリアライズするためのモジュールを作成 #16

Merged
merged 65 commits into from
Dec 7, 2023

Conversation

nokonoko1203
Copy link
Collaborator

@nokonoko1203 nokonoko1203 commented Nov 17, 2023

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)への変換方法を書いています。

以下のコマンドを実行

cargo run --example geometry_to_gltf --release -- ~/path/to/22203_numazu-shi_2021_citygml_4_op/udx/bldg/52385628_*_6697_op.gml 

@nokonoko1203 nokonoko1203 marked this pull request as draft November 17, 2023 09:15
Copy link

codecov bot commented Nov 22, 2023

Copy link
Member

@ciscorn ciscorn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!
くまなく見ているわけではないのと、examplesまわりはまったく見てないですが、皆で直していく前提で一旦マージしましょうか。

@nokonoko1203
Copy link
Collaborator Author

ありがとうございます!
マージします!

@nokonoko1203 nokonoko1203 merged commit 0873217 into main Dec 7, 2023
3 checks passed
@nokonoko1203 nokonoko1203 deleted the feature/gltf branch December 7, 2023 02:42
ciscorn pushed a commit that referenced this pull request Dec 27, 2023
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 
```
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

Successfully merging this pull request may close these issues.

2 participants