This repository was archived by the owner on Feb 9, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
docs(spec/package): about sutera world yaml format #54
Draft
HMasataka
wants to merge
11
commits into
main
Choose a base branch
from
feature/world_spec
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from 5 commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
7a684e2
Add world spec yaml
HMasataka 62c8802
Feat add rotation
HMasataka cdde917
Disable example yaml on markdown
HMasataka d47505e
Refactor yaml format
HMasataka baa9138
Feat yaml spec description
HMasataka bac1279
Update package/01-sutera-world-spec.md
HMasataka 0fe947c
Feat sample value
HMasataka 91086e5
Merge branch 'main' of github.com:SuteraVR/Specifications into featur…
HMasataka 362355c
Merge branch 'feature/world_spec' of github.com:SuteraVR/Specificatio…
HMasataka bc10743
Feat split yaml file
HMasataka bb733d4
Refactor scene name
HMasataka File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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,80 @@ | ||
| # ワールド | ||
|
|
||
| sutera VR にアップロードするワールドの情報を記述します。 | ||
HMasataka marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| 現在ワールドは静的なオブジェクトに限定されています。 | ||
|
|
||
| ## 情報 | ||
|
|
||
| ### medatdata.type | ||
|
|
||
| yaml の種類を記述します。 | ||
|
|
||
| ### medatdata.name | ||
|
|
||
| ワールドの名前を記述します。 | ||
|
|
||
| ### medatdata.version | ||
|
|
||
| ワールドのバージョンを記述します。 | ||
|
|
||
| ## スペック | ||
|
|
||
| ### specs.spawn_point | ||
|
|
||
| ユーザーがワールドに入場した際のスポーンポイントを記述します。 | ||
|
|
||
| ### specs.border | ||
|
|
||
| ワールドの境界を記述します。ここで設定された値を越えた際、ユーザーはリスポーンします。 | ||
|
|
||
| ### specs.objects | ||
|
|
||
| ワールドを構成するオブジェクトの情報を記述します。 | ||
|
|
||
| #### specs.objects.name | ||
|
|
||
| オブジェクトの名前を記述します。 | ||
|
|
||
| ##### specs.objects.model.type | ||
|
|
||
| オブジェクトの形式を記述します。 | ||
|
|
||
| ##### specs.objects.model.path | ||
|
|
||
| オブジェクトが保存されているパスを記述します。 | ||
|
|
||
| #### specs.objects.material | ||
|
|
||
| オブジェクトが利用するマテリアルの情報を記述します。 | ||
|
|
||
| ##### specs.objects.material.type | ||
|
|
||
| マテリアルの形式を記述します。 | ||
|
|
||
| ##### specs.objects.material.path | ||
|
|
||
| マテリアルが保存されているパスを記述します。 | ||
|
|
||
| #### specs.objects.location | ||
|
|
||
| オブジェクトを配置する場所を記述します。 | ||
|
|
||
| #### specs.objects.rotation | ||
|
|
||
| オブジェクトを配置する際の回転情報を記述します。 | ||
|
|
||
| #### specs.objects.scale | ||
|
|
||
| オブジェクトを配置する際のスケーリング情報を記述します。 | ||
|
|
||
| #### specs.objects.physics | ||
|
|
||
| オブジェクトの物理情報を記述します。 | ||
|
|
||
| ##### specs.objects.colliders | ||
|
|
||
| オブジェクトのコライダー情報を記述します。 | ||
|
|
||
| ##### specs.objects.gravity | ||
|
|
||
| オブジェクトの重力情報を記述します。 | ||
This file contains hidden or 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,48 @@ | ||
| metadata: | ||
| type: sutera-scene@0.1.0 | ||
| name: sutera world | ||
| version: 0.1.0 | ||
| specs: | ||
| spawn_point: | ||
| x: | ||
| y: | ||
| z: | ||
| border: # 越えたらリスポーン | ||
| x_min: | ||
| x_max: | ||
| y_min: | ||
| y_max: | ||
| z_min: | ||
| z_max: | ||
| objects: # 配列 | ||
| - name: sofa | ||
| model: | ||
| type: gltf | ||
| path: models/sofa.gltf | ||
| material: | ||
| type: sbsar | ||
| path: materials/sofa.sbsar | ||
| location: | ||
| x: | ||
| y: | ||
| z: | ||
| rotation: | ||
| x: | ||
| y: | ||
| z: | ||
| w: | ||
| scale: | ||
| x: | ||
| y: | ||
| z: | ||
| physics: | ||
| colliders: | ||
| - type: box | ||
| gravity: | ||
| mass: 5000 | ||
| - name: ball # 最小構成 | ||
| model: | ||
| type: sphere # 基本図形はgltfなしで可能 | ||
| material: | ||
| type: diffuse_bsdf # 単色もファイルなしで可能 | ||
| color: 0x6833cf |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.