0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

USDのチュートリアル

Last updated at Posted at 2025-05-04

以下のチュートリアルをしてみる
https://openusd.org/release/tut_usd_tutorials.html

Hello World - Creating Your First USD Stage

  • 作成したUSDはテキストファイルとして見ることができる
    • def {}という感じで定義されている
  • stageがroot

Hello World Redux - Using Generic Prims

  1. xformPrim = UsdGeom.Xform.Define(stage, '/hello')
  2. xform = stage.DefinePrim('/hello', 'Xform')
    上のように2つの書き方ができる

Inspecting and Authoring Properties

  • アトリビュート取得して値を設定可能
    GetAttribute('attributeName').Set(2)

Referencing Layers

  • 参照の設定
    GetReferences().AddReference('./HelloWorld.usda')

Converting Between Layer Formats

  • バイナリとテキスト形式の変換可能
    • usdcatで変換する
  • テキスト:usda
  • バイナリ:usdc,usd
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?