material-maker/doc/node_pattern_bricks.html
2020-03-15 09:55:36 +01:00

304 lines
11 KiB
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!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>Bricks node &mdash; 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="Weave node" href="node_pattern_weave.html" />
<link rel="prev" title="Pattern node" href="node_pattern_generic.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"><a class="reference internal" href="nodes.html">Nodes overview</a></li>
<li class="toctree-l1 current"><a class="reference internal" href="base_library.html">Nodes library</a><ul class="current">
<li class="toctree-l2"><a class="reference internal" href="nodes_simple.html">Simple nodes</a></li>
<li class="toctree-l2"><a class="reference internal" href="nodes_3d.html">3D nodes</a></li>
<li class="toctree-l2 current"><a class="reference internal" href="nodes_pattern.html">Pattern nodes</a><ul class="current">
<li class="toctree-l3"><a class="reference internal" href="node_pattern_generic.html">Pattern node</a></li>
<li class="toctree-l3 current"><a class="current reference internal" href="#">Bricks node</a><ul>
<li class="toctree-l4"><a class="reference internal" href="#inputs">Inputs</a></li>
<li class="toctree-l4"><a class="reference internal" href="#outputs">Outputs</a></li>
<li class="toctree-l4"><a class="reference internal" href="#parameters">Parameters</a></li>
<li class="toctree-l4"><a class="reference internal" href="#notes">Notes</a></li>
<li class="toctree-l4"><a class="reference internal" href="#example-images">Example images</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="node_pattern_weave.html">Weave node</a></li>
<li class="toctree-l3"><a class="reference internal" href="node_pattern_truchet.html">Truchet node</a></li>
<li class="toctree-l3"><a class="reference internal" href="node_pattern_fibers.html">Fibers node</a></li>
<li class="toctree-l3"><a class="reference internal" href="node_pattern_runes.html">Runes node</a></li>
<li class="toctree-l3"><a class="reference internal" href="node_pattern_scratches.html">Scratches node</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="nodes_noise.html">Noise nodes</a></li>
<li class="toctree-l2"><a class="reference internal" href="nodes_filter.html">Filter nodes</a></li>
<li class="toctree-l2"><a class="reference internal" href="nodes_transform.html">Transform nodes</a></li>
<li class="toctree-l2"><a class="reference internal" href="nodes_workflow.html">Workflow nodes</a></li>
<li class="toctree-l2"><a class="reference internal" href="nodes_miscellaneous.html">Miscellaneous nodes</a></li>
</ul>
</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> &raquo;</li>
<li><a href="base_library.html">Nodes library</a> &raquo;</li>
<li><a href="nodes_pattern.html">Pattern nodes</a> &raquo;</li>
<li>Bricks node</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="bricks-node">
<h1>Bricks node<a class="headerlink" href="#bricks-node" title="Permalink to this headline"></a></h1>
<p>The <strong>Bricks</strong> node outputs 4 related bricks pattern textures that can be used for walls
or pavement.</p>
<img alt="_images/node_pattern_bricks.png" class="align-center" src="_images/node_pattern_bricks.png" />
<div class="section" id="inputs">
<h2>Inputs<a class="headerlink" href="#inputs" title="Permalink to this headline"></a></h2>
<p>The <strong>Bricks</strong> node does not accept any input.</p>
</div>
<div class="section" id="outputs">
<h2>Outputs<a class="headerlink" href="#outputs" title="Permalink to this headline"></a></h2>
<p>The <strong>Bricks</strong> node provides the following textures:</p>
<ul class="simple">
<li><p>The first one is a greyscale image where bricks are shown in white and mortar in black.</p></li>
<li><p>The second one is a color image where all bricks are drawn using a random uniform color.</p></li>
<li><p>The 3rd and 4th textures are greyscale images of the X and Y position of the center of
each brick.</p></li>
<li><p>The 5th texture is an UV map texture for each brick (and can be used with the <strong>CustomUV</strong>
node to apply a texture on each brick)</p></li>
<li><p>the 6th texture is an UV map for each corner of each brick (and can be used with the
<strong>CustomUV</strong> node to apply a texture on each corner)</p></li>
</ul>
<p>Those images can be used together to create complex materials that show for example bricks
of different colors.</p>
</div>
<div class="section" id="parameters">
<h2>Parameters<a class="headerlink" href="#parameters" title="Permalink to this headline"></a></h2>
<p>The <strong>Bricks</strong> node accepts the following parameters:</p>
<ul class="simple">
<li><p>the <em>Pattern</em> parameter defines the bricks pattern that will be generated.</p></li>
<li><p>the <em>Repeat</em> parameter defines the number of patterns on the horizontal and vertical
axes of the texture.</p></li>
<li><p>the <em>Rows</em> parameter defines the number of brick rows in a single pattern of the texture.</p></li>
<li><p>the <em>Columns</em> parameter defines the number of brick rows in a single pattern of the texture.</p></li>
<li><p>the <em>Offset</em> parameter defines the offset of odd rows of the pattern. This parameter
only applies to the <em>Running bond</em> patterns.</p></li>
<li><p>the <em>Mortar</em> parameter defines the relative thickness of mortar in patterns.</p></li>
<li><p>the <em>Bevel</em> parameter defines the relative thickness of brick bevel in patterns.</p></li>
<li><p>the <em>Round</em> parameter defines the radius of each round corner.</p></li>
<li><p>the <em>Corner</em> parameter defines the size of each corner (for the 6th output texture).</p></li>
</ul>
</div>
<div class="section" id="notes">
<h2>Notes<a class="headerlink" href="#notes" title="Permalink to this headline"></a></h2>
<p>As with all random nodes, the seed is held by the nodes position, so moving the node in the graph
will modify the texture, and the outputs will remain the same if its position and parameters
are not changed.</p>
</div>
<div class="section" id="example-images">
<h2>Example images<a class="headerlink" href="#example-images" title="Permalink to this headline"></a></h2>
<img alt="_images/node_bricks_samples.png" class="align-center" src="_images/node_bricks_samples.png" />
</div>
</div>
</div>
</div>
<footer>
<div class="rst-footer-buttons" role="navigation" aria-label="footer navigation">
<a href="node_pattern_weave.html" class="btn btn-neutral float-right" title="Weave node" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right"></span></a>
<a href="node_pattern_generic.html" class="btn btn-neutral" title="Pattern node" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left"></span> Previous</a>
</div>
<hr/>
<div role="contentinfo">
<p>
&copy; 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>