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

Материал из Voronezh.Studio Wiki
Перейти к: навигация, поиск
 
(не показано 7 промежуточных версий этого же участника)
Строка 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>
For example:<br>
+
== For example: ==
'''Wref''' ''logical''  path:
+
'''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
Строка 13: Строка 13:
  
 
== Reasons for use ==
 
== Reasons for use ==
# Wref always begin from the root folder. This can be a local folder on the freelancer's computer, and at the same time it will refer to a physical server. Аs a result, this path will always work correctly.
+
# '''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.
 +
# 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.