Wref Context Manager

Материал из Voronezh.Studio Wiki
Версия от 15:08, 29 апреля 2021; LenaShelest (обсуждение | вклад) (Новая страница: «=== Update to the latest version / Unpin === To update the version to the latest, unpin the current '''version''': * select one or more lines, * right-click to op…»)
Перейти к: навигация, поиск
Другие языки:
English • ‎русский

Working with Wref Context Manager

All paths in the scene, including USD Layers, Maya references, texture paths have a wref format.
Such paths usually doesn't include reference to a specific version of the asset and normally you do not need to change this in the process. However, animator's work may require to define version explicitly:

  • For example, when you start working on a scene, you want to pin the rig versions for a current scene, so that you can take a newer version while working on another scene.
  • You have found some technical issue in the rig, and want to update version of the rig to a newer one in the scene explicitly and locally not breaking anything else.

For this purpose we store a special wref context in the Maya scene applied both in Maya and in USD. This wref context update the wref path to a physical path on disk.

To change versions and pin them easily there is a special UI, Wizart Animation => USD => Wref Context Manager.

In the appearing window you can pin on certain wref paths to pin the current versions. Also there you can switch to the desired version and pin it, remove pin, or update to the latest.


Wref context manager menu.png

Pin

  • The Version column displays the current version of the file used in the scene.
  • If this version is pinned, the icon in the Pin column is set to: Wref cm pin.png
  • If the path has no pinned version, the icon in the Pin column is set to: Wref cm unpin.png

Wref context manager window.PNG

Warning Warning If a specific version is specified in the wref path and a pin is assigned, the pin value will take precedence.


  • You can pin the version by entering the desired value in the Version column.
  • The second way to replace the version is to select one or more rows, click the right mouse button to cause the context menu and select Pin.

Wref cm context menu pin.png

Update to the latest version / Unpin

To update the version to the latest, unpin the current version:

  • select one or more lines,
  • right-click to open the context menu and select Unpin.
Wref cm context menu unpin.png
Warning Важно Если в wref пути не указано версии и не назначен pin, то версия файла будет обновляться автоматически до последней.

Обновление до последней версии с закреплением

С помощью пункта контекстного меню Update to latest можно обновить версию пути до последней на данный момент и закрепить её (pin устанавливается автоматически).
Wref cm context menu update.png

Настройка вывода данных

Фильтр по типам файлов

В меню Show можно отфильтровать пути по расширению:

  • USD файлы (.usd, .usda, .usdc),
  • Maya файлы (.mb, .ma)
  • Другие Файлы.

Wref cm menu show.png

Обновление содержимого

Кнопкой Refresh Wref cm refresh.png можно обновить окно Wref Context Manager после перезагрузки сцены.

Отображение физического пути

Физический путь на файл с текущими настройками контекста можно посмотреть в столбце Resolved.
По-умолчанию столбец скрыт, показать его можно следующим образом: контекстное меню по заголовку таблицы => Show/Hide Resolved.


Wref cm header context menu.png

Как добавить персонажа или айтем в сцену?

Если вы обнаружили, что в вашей сцене не хватает какого-либо персонажа или айтема, напишите в поддержку.
В anim_prep этой сцены будет добавлен необходимый ассет и выгружен вам.
Вам нужно только скачать ресурсы и переоткрыть сцену, в которой вы работали, необходимый ассет сам появится там!

Warning Важно Не добавляйте ассеты в сцену вручную, даже если у вас есть нужный файл на компьютере! Это приведёт к поломке путей и данный файл не запустится корректно на студии.



🔙 назад