シーンフォームのアニメーションの作成
シーンフォームにアニメーションを実装するには、アニメーション データを含むモデルが必要です。これらのモデルは、3D モデリングとアニメーション ソフトウェアを使用してアーティストが事前に作成します。これらのアニメーションは、*.fbx
ファイルとしてエクスポートしてから、*.sfb
ファイルにインポートしてシーンで使用する必要があります。
ARCore との互換性を確保するために、サポートされている設定を使用して *.fbx
ファイルを保存する必要があります。これらのファイルを *.sfb
ファイルにプロジェクトとしてインポートできます。
モデリング ソフトウェアとアニメーション ソフトウェアからエクスポートされた *.fbx
ファイルに対して、次の設定をおすすめします。
ファイル形式: FBX 2016/2017 以降
軸変換: 上軸は Y です。
スケーリング ファクタ: センチメートル
必要なジオメトリ設定:
- スムージング グループ
- スムーズ メッシュ
- 参照されるアセットのコンテンツ
推奨ジオメトリ設定:
アニメーション: 有効
変形されたモデルの設定
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2022-09-26 UTC。
[null,null,["最終更新日 2022-09-26 UTC。"],[[["Sceneform utilizes pre-made 3D models with animation data, created by artists and exported as *.fbx files."],["These *.fbx files must be converted to *.sfb files for use in Sceneform and should adhere to specific settings for ARCore compatibility, such as FBX 2016/2017 or later format, Y-up axis, and centimeter scaling."],["Models should include geometry settings like smoothing groups, smooth mesh, and referenced asset content for optimal performance, with tangents, binormals, triangulation, and NURBS recommended for enhanced visuals."],["Animation should be enabled during export, and deformed models settings, including skins, should be included for models with complex movements or deformations."]]],["3D models with animation data, created externally, are required for Sceneform animation. These must be exported as `*.fbx` files, adhering to specific settings like FBX 2016/2017 or later format, Y-axis up, and centimeter scaling. Essential geometry settings include smoothing groups and smooth mesh; animation and deformed models must be enabled. The validated `*.fbx` files are then imported into `*.sfb` files for use in Sceneform.\n"]]