mirror of
https://github.com/Relintai/material-maker.git
synced 2025-01-09 05:39:38 +01:00
258 lines
7.5 KiB
HTML
258 lines
7.5 KiB
HTML
|
|
|
|
<!DOCTYPE html>
|
|
<!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]-->
|
|
<!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
|
|
<head>
|
|
<meta charset="utf-8">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
<title>Subgraph nodes — Material Maker documentation</title>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<link rel="stylesheet" href="_static/css/theme.css" type="text/css" />
|
|
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
|
|
<link rel="index" title="Index" href="genindex.html" />
|
|
<link rel="search" title="Search" href="search.html" />
|
|
<link rel="next" title="Nodes library" href="base_library.html" />
|
|
<link rel="prev" title="Remote nodes" href="remote_nodes.html" />
|
|
|
|
|
|
<script src="_static/js/modernizr.min.js"></script>
|
|
|
|
</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"> Material Maker
|
|
|
|
|
|
|
|
</a>
|
|
|
|
|
|
|
|
|
|
<div class="version">
|
|
0.9
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<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="main navigation">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<ul class="current">
|
|
<li class="toctree-l1"><a class="reference internal" href="intro.html">Introduction</a></li>
|
|
<li class="toctree-l1"><a class="reference internal" href="user_interface.html">User interface</a></li>
|
|
<li class="toctree-l1 current"><a class="reference internal" href="nodes.html">Nodes overview</a><ul class="current">
|
|
<li class="toctree-l2"><a class="reference internal" href="nodes_common.html">Common properties of nodes</a></li>
|
|
<li class="toctree-l2"><a class="reference internal" href="shader_nodes.html">Shader nodes</a></li>
|
|
<li class="toctree-l2"><a class="reference internal" href="texture_nodes.html">Texture nodes</a></li>
|
|
<li class="toctree-l2"><a class="reference internal" href="remote_nodes.html">Remote nodes</a></li>
|
|
<li class="toctree-l2 current"><a class="current reference internal" href="#">Subgraph nodes</a></li>
|
|
</ul>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="base_library.html">Nodes library</a></li>
|
|
<li class="toctree-l1"><a class="reference internal" href="export.html">Exporting Materials</a></li>
|
|
<li class="toctree-l1"><a class="reference internal" href="command_line.html">Command line arguments</a></li>
|
|
</ul>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
</nav>
|
|
|
|
<section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">
|
|
|
|
|
|
<nav class="wy-nav-top" aria-label="top navigation">
|
|
|
|
<i data-toggle="wy-nav-top" class="fa fa-bars"></i>
|
|
<a href="index.html">Material Maker</a>
|
|
|
|
</nav>
|
|
|
|
|
|
<div class="wy-nav-content">
|
|
|
|
<div class="rst-content">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div role="navigation" aria-label="breadcrumbs navigation">
|
|
|
|
<ul class="wy-breadcrumbs">
|
|
|
|
<li><a href="index.html">Docs</a> »</li>
|
|
|
|
<li><a href="nodes.html">Nodes overview</a> »</li>
|
|
|
|
<li>Subgraph nodes</li>
|
|
|
|
|
|
<li class="wy-breadcrumbs-aside">
|
|
|
|
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
|
|
<hr/>
|
|
</div>
|
|
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
|
|
<div itemprop="articleBody">
|
|
|
|
<div class="section" id="subgraph-nodes">
|
|
<h1>Subgraph nodes<a class="headerlink" href="#subgraph-nodes" title="Permalink to this headline">¶</a></h1>
|
|
<p>Subgraphs are parts of a complex material graph that have been gathered into
|
|
their own level of hierarchy.</p>
|
|
<p>To create a subgraph, first select the nodes that must be grouped and use the
|
|
<strong>Tools -> Create group</strong> menu item or the <strong>Control+G</strong> keyboard shortcut.
|
|
This will replace all selected nodes with a single subgraph node, without
|
|
modifying the overall material description.</p>
|
|
<p>When the subgraph is created, it is shown in the graph editor, and can be
|
|
renamed using the top right text field.</p>
|
|
<p>The subgraph node is not editable by default, but using the <strong>Control+W</strong>
|
|
shortcut will make it possible to edit its contents using the pencil button.</p>
|
|
<img alt="_images/subgraph.png" class="align-center" src="_images/subgraph.png" />
|
|
<p>The newly created subgraph contains:</p>
|
|
<ul class="simple">
|
|
<li><p>all nodes that have been grouped</p></li>
|
|
<li><p>an <strong>Input</strong> and an <strong>Output</strong> node that represent the inputs and the outputs
|
|
of the subgraph. Selecting them and using the <strong>Control+W</strong> shortcut makes them
|
|
editable so the subgraph inputs and outputs can be added, removed, reordered,
|
|
renamed or have their types modified.
|
|
Please note that all those operations will (when possible) keep connectivity
|
|
inside and outside the subgraph.</p></li>
|
|
<li><p>A <strong>Parameters</strong> node that is a <strong>remote</strong> can be edited to expose selected
|
|
parameters to the parent graph. When grouping nodes with a <strong>remote</strong>, the
|
|
remote will automatically be used as <strong>Parameters</strong> node in the nealy created
|
|
subgraph.</p></li>
|
|
</ul>
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<footer>
|
|
|
|
<div class="rst-footer-buttons" role="navigation" aria-label="footer navigation">
|
|
|
|
<a href="base_library.html" class="btn btn-neutral float-right" title="Nodes library" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right"></span></a>
|
|
|
|
|
|
<a href="remote_nodes.html" class="btn btn-neutral" title="Remote nodes" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left"></span> Previous</a>
|
|
|
|
</div>
|
|
|
|
|
|
<hr/>
|
|
|
|
<div role="contentinfo">
|
|
<p>
|
|
© Copyright 2018-2020, Rodz Labs.
|
|
|
|
</p>
|
|
</div>
|
|
Built with <a href="http://sphinx-doc.org/">Sphinx</a> using a <a href="https://github.com/rtfd/sphinx_rtd_theme">theme</a> provided by <a href="https://readthedocs.org">Read the Docs</a>.
|
|
|
|
</footer>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</section>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<script type="text/javascript">
|
|
var DOCUMENTATION_OPTIONS = {
|
|
URL_ROOT:'./',
|
|
VERSION:'',
|
|
LANGUAGE:'None',
|
|
COLLAPSE_INDEX:false,
|
|
FILE_SUFFIX:'.html',
|
|
HAS_SOURCE: true,
|
|
SOURCELINK_SUFFIX: '.txt'
|
|
};
|
|
</script>
|
|
<script type="text/javascript" src="_static/jquery.js"></script>
|
|
<script type="text/javascript" src="_static/underscore.js"></script>
|
|
<script type="text/javascript" src="_static/doctools.js"></script>
|
|
<script type="text/javascript" src="_static/language_data.js"></script>
|
|
|
|
|
|
|
|
<script type="text/javascript" src="_static/js/theme.js"></script>
|
|
|
|
<script type="text/javascript">
|
|
jQuery(function () {
|
|
SphinxRtdTheme.Navigation.enable(true);
|
|
});
|
|
</script>
|
|
|
|
</body>
|
|
</html> |