Metahuman_DNA_Calibration/docs/faq_md.html
2023-04-21 12:19:55 +02:00

200 lines
11 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) &mdash; 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="DNAViewer.ui package" href="dna_viewer.ui.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>
<li class="toctree-l1"><a class="reference internal" href="dnacalib_api_md.html">API overview</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>
<li class="toctree-l1"><a class="reference internal" href="dna_viewer_api_build_meshes_md.html">Mesh Utilities</a></li>
<li class="toctree-l1"><a class="reference internal" href="dna_viewer_api_build_rig_md.html">Build rig (<code class="docutils literal notranslate"><span class="pre">build_rig</span></code>)</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="dna.html">DNA</a></li>
<li class="toctree-l1"><a class="reference internal" href="dnacalib.html">DNACalib</a></li>
<li class="toctree-l1"><a class="reference internal" href="dna_viewer_modules.html">DNAViewer</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> &raquo;</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>In order to fix this issue, you should install <a class="reference external" href="https://git-lfs.github.com/">git-lfs</a>, and clone the repository again.
DNA files will be downloaded correctly then.
If you cannot install git-lfs, you can download DNA files manually.</p>
</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 &gt; 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.ui.html" class="btn btn-neutral float-left" title="DNAViewer.ui package" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a>
</div>
<hr/>
<div role="contentinfo">
<p>&#169; Copyright 2023, 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>