<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.povray.org/content?action=history&amp;feed=atom&amp;title=Reference%3ASquare_Pattern</id>
	<title>Reference:Square Pattern - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.povray.org/content?action=history&amp;feed=atom&amp;title=Reference%3ASquare_Pattern"/>
	<link rel="alternate" type="text/html" href="https://wiki.povray.org/content?title=Reference:Square_Pattern&amp;action=history"/>
	<updated>2026-04-06T14:43:35Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.1</generator>
	<entry>
		<id>https://wiki.povray.org/content?title=Reference:Square_Pattern&amp;diff=7052&amp;oldid=prev</id>
		<title>Jholsenback: 1 revision: Reference Migration Initial Load</title>
		<link rel="alternate" type="text/html" href="https://wiki.povray.org/content?title=Reference:Square_Pattern&amp;diff=7052&amp;oldid=prev"/>
		<updated>2012-03-15T19:08:53Z</updated>

		<summary type="html">&lt;p&gt;1 revision: Reference Migration Initial Load&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 19:08, 15 March 2012&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Jholsenback</name></author>
	</entry>
	<entry>
		<id>https://wiki.povray.org/content?title=Reference:Square_Pattern&amp;diff=7051&amp;oldid=prev</id>
		<title>Jholsenback: 1 revision: Initial Load (TF)</title>
		<link rel="alternate" type="text/html" href="https://wiki.povray.org/content?title=Reference:Square_Pattern&amp;diff=7051&amp;oldid=prev"/>
		<updated>2012-03-11T22:28:10Z</updated>

		<summary type="html">&lt;p&gt;1 revision: Initial Load (TF)&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Category:Patterns]]&lt;br /&gt;
{{#indexentry:square, keyword}}&lt;br /&gt;
{{#indexentry:square, pattern}}&lt;br /&gt;
{{#indexentry:keyword, square}}&lt;br /&gt;
{{#indexentry:pattern, square}}&lt;br /&gt;
&amp;lt;table class=&amp;quot;centered&amp;quot; width=&amp;quot;660x&amp;quot; cellpadding=&amp;quot;0&amp;quot; cellspacing=&amp;quot;10&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td width=&amp;quot;200px&amp;quot;&amp;gt;&lt;br /&gt;
    [[Image:RefImgSquare.png|center|200px&amp;lt;!--left---&amp;gt;]]&lt;br /&gt;
  &amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;&lt;br /&gt;
    &amp;lt;p&amp;gt;The &amp;lt;code&amp;gt;square&amp;lt;/code&amp;gt; pattern is a block pattern that generates a repeating pattern of squares in the x-z plane. In this instance imagine tall rods that are square in shape and are parallel to the y-axis and grouped in bundles like shown in the example image. Four separate colors should be specified as follows:&amp;lt;/p&amp;gt;&lt;br /&gt;
  &amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;&lt;br /&gt;
    &amp;lt;p class=&amp;quot;caption&amp;quot;&amp;gt;The square pattern.&amp;lt;/p&amp;gt;&lt;br /&gt;
  &amp;lt;/td&amp;gt;&lt;br /&gt;
  &amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
pigment {&lt;br /&gt;
  square [COLOR_1 [, COLOR_2 [, COLOR_3 [, COLOR_4]]]]&lt;br /&gt;
  [PATTERN_MODIFIERS...]&lt;br /&gt;
  }&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;Each side of the square is one unit long. The square rods of color extend infinitely in the +y and -y directions. If no colors are specified then default blue, green, red and yellow colors are used.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
You may also use pigment statements in place of the colors. For example:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
pigment {&lt;br /&gt;
  square  &lt;br /&gt;
  pigment { Aquamarine },&lt;br /&gt;
  pigment { Turquoise },&lt;br /&gt;
  pigment { Sienna },&lt;br /&gt;
  pigment { SkyBlue }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;When used with textures, the syntax is...&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
texture {&lt;br /&gt;
  square  &lt;br /&gt;
  texture{ T_Wood1 },&lt;br /&gt;
  texture{ T_Wood2 },&lt;br /&gt;
  texture{ T_Wood4 },&lt;br /&gt;
  texture{ T_Wood8 }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;The &amp;lt;code&amp;gt;square&amp;lt;/code&amp;gt; pattern has a default color map built in that results in red, blue, yellow and green tiles.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;This is a block pattern so, use of wave types, &amp;lt;code&amp;gt;color_map&amp;lt;/code&amp;gt;, or &amp;lt;code&amp;gt;slope_map&amp;lt;/code&amp;gt; modifiers is &amp;lt;em&amp;gt;not&amp;lt;/em&amp;gt; allowed.&amp;lt;/p&amp;gt;&lt;/div&gt;</summary>
		<author><name>Jholsenback</name></author>
	</entry>
</feed>