Wref Resolver/en — различия между версиями

Материал из Voronezh.Studio Wiki
Перейти к: навигация, поиск
(Новая страница: «Later, the plug-in translates this into the physical path. <pre> D:/wizart_work/projects/hg/assets/char/crow/def/v004/crow.payload.usd </pre>»)
 
(не показано 11 промежуточных версий этого же участника)
Строка 1: Строка 1:
 
<languages/>
 
<languages/>
'''Wizart Reference Resolver''' - these are special plugins used in '''Wizart Animation''', allowing application to find scene files, using a special protocol <abbr title="wizart reference"><code>wref://</code></abbr>.<br>
+
'''Wizart Reference Resolver''' - these are special plugins used in '''Wizart Animation''', allowing application to find files, using a special protocol <abbr title="wizart reference"><code>wref://</code></abbr>.<br>
Например:<br>
+
== For example: ==
'''Wref''' ''логический'' путь:
+
'''Wref''' ''logical'' path.
 
<pre>
 
<pre>
 
wref://projects/hg/assets/char/crow/model/pub/?path=crow.model.usd&tag=latest
 
wref://projects/hg/assets/char/crow/model/pub/?path=crow.model.usd&tag=latest
 
</pre>
 
</pre>
  
Later, the plug-in translates this into the physical path.
+
Later, the plugin translates this into the ''physical'' path.
 
<pre>
 
<pre>
 
D:/wizart_work/projects/hg/assets/char/crow/def/v004/crow.payload.usd
 
D:/wizart_work/projects/hg/assets/char/crow/def/v004/crow.payload.usd
 
</pre>
 
</pre>
  
== Причины применения ==
+
== Reasons for use ==
# Wref всегда начинается с корневой папки. У фрилансера это может быть его локальная папка, а на у нас ссылаться на физический сервер. Таким образом пути всегда будут работать.
+
# '''Wref''' always begin from the root folder. This can be a local folder on the freelancer's computer, and  '''Wref''' refers to a file server in the studio. Аs a result, this path will always work correctly.
# Мы можем делать ссылку на файл без указания конкретной версии, с помощью тега (latest, stable, approved), и выбирать реальную версию не меняя пути.
+
# We can create refers to files without specifying a version. Using the '''tag''' (''latest'', ''stable'', ''approved''), we can select the version without changing the path.
# Аниматор может лочить на определенную версию все необходимые ассеты. В тоже время тот кто открывает сцену, может  открыть ее загружая самые последние ассеты игнорируя контекст аниматора, не меняя пути.
+
# The animator can lock all the necessary assets to a specific version. At the same time, we can open the scene by loading the latest assets, ignoring the animator context, without changing the path.

Текущая версия на 13:05, 21 января 2020

Другие языки:
English • ‎русский

Wizart Reference Resolver - these are special plugins used in Wizart Animation, allowing application to find files, using a special protocol wref://.

For example:

Wref logical path.

wref://projects/hg/assets/char/crow/model/pub/?path=crow.model.usd&tag=latest

Later, the plugin translates this into the physical path.

D:/wizart_work/projects/hg/assets/char/crow/def/v004/crow.payload.usd

Reasons for use

  1. Wref always begin from the root folder. This can be a local folder on the freelancer's computer, and Wref refers to a file server in the studio. Аs a result, this path will always work correctly.
  2. We can create refers to files without specifying a version. Using the tag (latest, stable, approved), we can select the version without changing the path.
  3. The animator can lock all the necessary assets to a specific version. At the same time, we can open the scene by loading the latest assets, ignoring the animator context, without changing the path.