209 lines
13 KiB
HTML
209 lines
13 KiB
HTML
<!DOCTYPE html>
|
|
<html class="writer-html5" lang="en" >
|
|
<head>
|
|
<meta charset="utf-8" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<title>Frequently Asked Questions (FAQ) — DNA Calibration documentation</title>
|
|
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
|
|
<link rel="stylesheet" href="_static/css/theme.css" type="text/css" />
|
|
<link rel="stylesheet" href="_static/graphviz.css" type="text/css" />
|
|
<!--[if lt IE 9]>
|
|
<script src="_static/js/html5shiv.min.js"></script>
|
|
<![endif]-->
|
|
|
|
<script data-url_root="./" id="documentation_options" src="_static/documentation_options.js"></script>
|
|
<script src="_static/jquery.js"></script>
|
|
<script src="_static/underscore.js"></script>
|
|
<script src="_static/doctools.js"></script>
|
|
<script src="_static/js/theme.js"></script>
|
|
<link rel="index" title="Index" href="genindex.html" />
|
|
<link rel="search" title="Search" href="search.html" />
|
|
<link rel="prev" title="dna_viewer.util package" href="dna_viewer.util.html" />
|
|
</head>
|
|
|
|
<body class="wy-body-for-nav">
|
|
<div class="wy-grid-for-nav">
|
|
<nav data-toggle="wy-nav-shift" class="wy-nav-side">
|
|
<div class="wy-side-scroll">
|
|
<div class="wy-side-nav-search" >
|
|
<a href="index.html" class="icon icon-home"> DNA Calibration
|
|
</a>
|
|
<div role="search">
|
|
<form id="rtd-search-form" class="wy-form" action="search.html" method="get">
|
|
<input type="text" name="q" placeholder="Search docs" />
|
|
<input type="hidden" name="check_keywords" value="yes" />
|
|
<input type="hidden" name="area" value="default" />
|
|
</form>
|
|
</div>
|
|
</div><div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu">
|
|
<p class="caption" role="heading"><span class="caption-text">Contents</span></p>
|
|
<ul>
|
|
<li class="toctree-l1"><a class="reference internal" href="index_.html">MetaHuman DNA Calibration</a></li>
|
|
<li class="toctree-l1"><a class="reference internal" href="index_.html#overview">Overview</a></li>
|
|
<li class="toctree-l1"><a class="reference internal" href="index_.html#examples">Examples</a></li>
|
|
<li class="toctree-l1"><a class="reference internal" href="index_.html#notes">Notes</a></li>
|
|
<li class="toctree-l1"><a class="reference internal" href="index_.html#license">License</a></li>
|
|
<li class="toctree-l1"><a class="reference internal" href="index_.html#indices-and-tables">Indices and tables</a></li>
|
|
</ul>
|
|
<p class="caption" role="heading"><span class="caption-text">Repository Organization</span></p>
|
|
<ul>
|
|
<li class="toctree-l1"><a class="reference internal" href="repository_organization_md.html">Repository Organization</a></li>
|
|
<li class="toctree-l1"><a class="reference internal" href="repository_organization_md.html#folder-structure">Folder structure</a></li>
|
|
</ul>
|
|
<p class="caption" role="heading"><span class="caption-text">DNACalib</span></p>
|
|
<ul>
|
|
<li class="toctree-l1"><a class="reference internal" href="dnacalib_md.html">DNACalib</a></li>
|
|
</ul>
|
|
<p class="caption" role="heading"><span class="caption-text">DNAViewer</span></p>
|
|
<ul>
|
|
<li class="toctree-l1"><a class="reference internal" href="dna_viewer_md.html">DNAViewer</a></li>
|
|
<li class="toctree-l1"><a class="reference internal" href="dna_viewer_maya_md.html">Usage in Maya</a></li>
|
|
</ul>
|
|
<p class="caption" role="heading"><span class="caption-text">DNAViewer API</span></p>
|
|
<ul>
|
|
<li class="toctree-l1"><a class="reference internal" href="dna_viewer_api_md.html">Environment Setup</a></li>
|
|
<li class="toctree-l1"><a class="reference internal" href="dna_viewer_api_md.html#dna">DNA</a></li>
|
|
</ul>
|
|
<p class="caption" role="heading"><span class="caption-text">Technical documentation</span></p>
|
|
<ul>
|
|
<li class="toctree-l1"><a class="reference internal" href="dnacalib.html">dnacalib</a></li>
|
|
<li class="toctree-l1"><a class="reference internal" href="modules.html">dna_viewer</a></li>
|
|
</ul>
|
|
<p class="caption" role="heading"><span class="caption-text">FAQ</span></p>
|
|
<ul class="current">
|
|
<li class="toctree-l1 current"><a class="current reference internal" href="#">Frequently Asked Questions (FAQ)</a><ul>
|
|
<li class="toctree-l2"><a class="reference internal" href="#fix-runtimeerror-error-loading-dna-dna-signature-mismatched-expected-dna-got-ver">Fix “RuntimeError: Error loading DNA: DNA signature mismatched, expected DNA, got ver?”</a></li>
|
|
<li class="toctree-l2"><a class="reference internal" href="#how-do-i-distribute-a-maya-scene">How do I distribute a Maya scene?</a><ul>
|
|
<li class="toctree-l3"><a class="reference internal" href="#how-do-i-share-the-generated-files">How do I share the generated files?</a></li>
|
|
<li class="toctree-l3"><a class="reference internal" href="#how-do-i-open-a-generated-scene">How do I open a generated scene?</a></li>
|
|
<li class="toctree-l3"><a class="reference internal" href="#how-do-i-change-the-dna-path-in-the-maya-scene">How do I change the DNA path in the Maya scene?</a></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
|
|
</div>
|
|
</div>
|
|
</nav>
|
|
|
|
<section data-toggle="wy-nav-shift" class="wy-nav-content-wrap"><nav class="wy-nav-top" aria-label="Mobile navigation menu" >
|
|
<i data-toggle="wy-nav-top" class="fa fa-bars"></i>
|
|
<a href="index.html">DNA Calibration</a>
|
|
</nav>
|
|
|
|
<div class="wy-nav-content">
|
|
<div class="rst-content">
|
|
<div role="navigation" aria-label="Page navigation">
|
|
<ul class="wy-breadcrumbs">
|
|
<li><a href="index.html" class="icon icon-home"></a> »</li>
|
|
<li>Frequently Asked Questions (FAQ)</li>
|
|
<li class="wy-breadcrumbs-aside">
|
|
<a href="_sources/faq_md.md.txt" rel="nofollow"> View page source</a>
|
|
</li>
|
|
</ul>
|
|
<hr/>
|
|
</div>
|
|
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
|
|
<div itemprop="articleBody">
|
|
|
|
<section id="frequently-asked-questions-faq">
|
|
<h1>Frequently Asked Questions (FAQ)<a class="headerlink" href="#frequently-asked-questions-faq" title="Permalink to this headline"></a></h1>
|
|
<section id="fix-runtimeerror-error-loading-dna-dna-signature-mismatched-expected-dna-got-ver">
|
|
<h2>Fix “RuntimeError: Error loading DNA: DNA signature mismatched, expected DNA, got ver?”<a class="headerlink" href="#fix-runtimeerror-error-loading-dna-dna-signature-mismatched-expected-dna-got-ver" title="Permalink to this headline"></a></h2>
|
|
<p>DNA files are stored as <a class="reference external" href="https://git-lfs.github.com/">LFS</a> files (Here is <a class="reference external" href="https://www.atlassian.com/git/tutorials/git-lfs">another explanaintion</a> what LFS is).
|
|
This problem occurs when repo is downloaded as zip, and github then does not download LFS files as whole file, but as some metadata file.<br />
|
|
Open that Ada.dna file in some editor file, from location were MetaHuman DNA Calibration is downloaded and then in
|
|
<code class="docutils literal notranslate"><span class="pre">data/dna/Ada.dna</span></code> (eg <code class="docutils literal notranslate"><span class="pre">c:/MetaHuman-DNA-Calibration/data/dna/Ada.dna</span></code> you will got this:</p>
|
|
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">version</span> <span class="n">https</span><span class="p">:</span><span class="o">//</span><span class="n">git</span><span class="o">-</span><span class="n">lfs</span><span class="o">.</span><span class="n">github</span><span class="o">.</span><span class="n">com</span><span class="o">/</span><span class="n">spec</span><span class="o">/</span><span class="n">v1</span>
|
|
<span class="n">oid</span> <span class="n">sha256</span><span class="p">:</span><span class="n">e764cfab938283231bcb3e5af1c7bcbec5154bab4804aafa1b5b7dc6e400ca5e</span>
|
|
<span class="n">size</span> <span class="mi">73730354</span>
|
|
</pre></div>
|
|
</div>
|
|
<p>Which is not valid DNA file.</p>
|
|
<p>There is two ways to fix this issue:</p>
|
|
<ul class="simple">
|
|
<li><p><code class="docutils literal notranslate"><span class="pre">git</span> <span class="pre">clone</span> <span class="pre">git</span> <span class="pre">clone</span> <span class="pre">https://github.com/EpicGames/MetaHuman-DNA-Calibration.git</span></code></p></li>
|
|
<li><p>manually download <span class="xref myst">Ada.dna</span> and/or <span class="xref myst">Taro.dna</span>, and put them in data directory
|
|
where you downloaded MetaHuman DNA Calibration. eg. <code class="docutils literal notranslate"><span class="pre">c:/MetaHuman-DNA-Calibration/data/dna</span></code></p></li>
|
|
</ul>
|
|
</section>
|
|
<section id="how-do-i-distribute-a-maya-scene">
|
|
<h2>How do I distribute a Maya scene?<a class="headerlink" href="#how-do-i-distribute-a-maya-scene" title="Permalink to this headline"></a></h2>
|
|
<p>Your scene should work out of the box if you include the following in the distribution:</p>
|
|
<ul class="simple">
|
|
<li><p>Scene file (<code class="docutils literal notranslate"><span class="pre">.mb</span></code> file)</p></li>
|
|
<li><p>DNA (<code class="docutils literal notranslate"><span class="pre">.dna</span></code> file)</p></li>
|
|
<li><p>Workspace (<code class="docutils literal notranslate"><span class="pre">workspace.mel</span></code> file)</p></li>
|
|
</ul>
|
|
<p>All of these files need to be distributed together. If those files are not bundled and you experience some issues with you rig in Maya,
|
|
try the following steps:</p>
|
|
<section id="how-do-i-share-the-generated-files">
|
|
<h3>How do I share the generated files?<a class="headerlink" href="#how-do-i-share-the-generated-files" title="Permalink to this headline"></a></h3>
|
|
<p>If you want to distribute a generated Maya scene to other users, you must distribute the <code class="docutils literal notranslate"><span class="pre">.dna</span></code> file and <code class="docutils literal notranslate"><span class="pre">workspace.mel</span></code> together with the scene.</p>
|
|
</section>
|
|
<section id="how-do-i-open-a-generated-scene">
|
|
<h3>How do I open a generated scene?<a class="headerlink" href="#how-do-i-open-a-generated-scene" title="Permalink to this headline"></a></h3>
|
|
<p>Before you load a generated scene, follow these steps:</p>
|
|
<ul class="simple">
|
|
<li><p>From the main menu, go to File > Set Project.</p></li>
|
|
<li><p>Select <code class="docutils literal notranslate"><span class="pre">workspace.mel</span></code></p></li>
|
|
<li><p>Set the containing folder (with generated maya scene, <code class="docutils literal notranslate"><span class="pre">.dna</span></code> file and <code class="docutils literal notranslate"><span class="pre">workspace.mel</span></code>).</p></li>
|
|
</ul>
|
|
</section>
|
|
<section id="how-do-i-change-the-dna-path-in-the-maya-scene">
|
|
<h3>How do I change the DNA path in the Maya scene?<a class="headerlink" href="#how-do-i-change-the-dna-path-in-the-maya-scene" title="Permalink to this headline"></a></h3>
|
|
<p>If you want to change the DNA path in the scene:</p>
|
|
<ul class="simple">
|
|
<li><p>In <code class="docutils literal notranslate"><span class="pre">outliner</span></code>, deselect <strong>DAG Objects Only</strong>:</p>
|
|
<ul>
|
|
<li><p><img alt="image" src="_images/change_path_outliner_settings.png" /></p></li>
|
|
</ul>
|
|
</li>
|
|
<li><p>Still in the Outliner, search for <code class="docutils literal notranslate"><span class="pre">rl4</span></code>. You will see a file whose name starts with <code class="docutils literal notranslate"><span class="pre">rl4Embedded_</span></code>. Click this file to select it.</p>
|
|
<ul>
|
|
<li><p><img alt="image" src="_images/change_path_outliner.png" /></p></li>
|
|
</ul>
|
|
</li>
|
|
<li><p>In <code class="docutils literal notranslate"><span class="pre">Attribute</span> <span class="pre">editor</span></code> you will be able to change the path with <code class="docutils literal notranslate"><span class="pre">Dna</span> <span class="pre">File</span> <span class="pre">Path</span></code>:</p>
|
|
<ul>
|
|
<li><p><img alt="image" src="_images/change_path_node_path.png" /></p></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</section>
|
|
</section>
|
|
</section>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
<footer><div class="rst-footer-buttons" role="navigation" aria-label="Footer">
|
|
<a href="dna_viewer.util.html" class="btn btn-neutral float-left" title="dna_viewer.util package" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a>
|
|
</div>
|
|
|
|
<hr/>
|
|
|
|
<div role="contentinfo">
|
|
<p>© Copyright 2022, Epic Games.</p>
|
|
</div>
|
|
|
|
Built with <a href="https://www.sphinx-doc.org/">Sphinx</a> using a
|
|
<a href="https://github.com/readthedocs/sphinx_rtd_theme">theme</a>
|
|
provided by <a href="https://readthedocs.org">Read the Docs</a>.
|
|
|
|
|
|
</footer>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
</div>
|
|
<script>
|
|
jQuery(function () {
|
|
SphinxRtdTheme.Navigation.enable(true);
|
|
});
|
|
</script>
|
|
|
|
</body>
|
|
</html> |