<?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%3AMerge</id>
	<title>Reference:Merge - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.povray.org/content?action=history&amp;feed=atom&amp;title=Reference%3AMerge"/>
	<link rel="alternate" type="text/html" href="https://wiki.povray.org/content?title=Reference:Merge&amp;action=history"/>
	<updated>2026-04-06T16:31:06Z</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:Merge&amp;diff=6934&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:Merge&amp;diff=6934&amp;oldid=prev"/>
		<updated>2012-03-15T19:07:29Z</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:07, 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:Merge&amp;diff=6933&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:Merge&amp;diff=6933&amp;oldid=prev"/>
		<updated>2012-03-11T22:27: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:Objects]]&lt;br /&gt;
[[Category:Constructive Solid Geometry]]&lt;br /&gt;
{{#indexentry:CSG, merge}}&lt;br /&gt;
{{#indexentry:merge, keyword}}&lt;br /&gt;
{{#indexentry:keyword, merge}}&lt;br /&gt;
&amp;lt;p&amp;gt;The &amp;lt;code&amp;gt;union&amp;lt;/code&amp;gt; operation just glues objects together, it does not&lt;br /&gt;
remove the objects' surfaces inside the &amp;lt;code&amp;gt;union&amp;lt;/code&amp;gt;. Under most&lt;br /&gt;
circumstances this does not matter. However if a transparent &amp;lt;code&amp;gt;&lt;br /&gt;
union&amp;lt;/code&amp;gt; is used, those interior surfaces will be visible. The &amp;lt;code&amp;gt;&lt;br /&gt;
merge&amp;lt;/code&amp;gt; operations can be used to avoid this problem. It works just like&lt;br /&gt;
&amp;lt;code&amp;gt;union&amp;lt;/code&amp;gt; but it eliminates the inner surfaces like shown in the&lt;br /&gt;
figure below.&amp;lt;/p&amp;gt;&lt;br /&gt;
&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&amp;gt;&lt;br /&gt;
    [[Image:RefImgMergeobj.gif|center|640px&amp;lt;!--center---&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;Merge removes inner surfaces.&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;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;The syntax is:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
MERGE:&lt;br /&gt;
  merge {&lt;br /&gt;
    SOLID_OBJECTS...&lt;br /&gt;
    [OBJECT_MODIFIERS...]&lt;br /&gt;
    }&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;The component objects must have well defined inside/outside properties.&lt;br /&gt;
Patch objects are not allowed. &amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;Note&amp;quot;&amp;gt;&amp;lt;strong&amp;gt;Note:&amp;lt;/strong&amp;gt; In general &amp;lt;code&amp;gt;merge&amp;lt;/code&amp;gt; is slower rendering than &amp;lt;code&amp;gt;union&amp;lt;/code&amp;gt; when used with non transparent objects. A small test may be needed to determine what is the optimal solution regarding speed and visual result.&amp;lt;/p&amp;gt;&lt;/div&gt;</summary>
		<author><name>Jholsenback</name></author>
	</entry>
</feed>