<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.vega-strike.org/mediawiki/index.php?action=history&amp;feed=atom&amp;title=HowTo%3ARadiosity_baking_in_Blender%2Fvccopy.py</id>
		<title>HowTo:Radiosity baking in Blender/vccopy.py - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.vega-strike.org/mediawiki/index.php?action=history&amp;feed=atom&amp;title=HowTo%3ARadiosity_baking_in_Blender%2Fvccopy.py"/>
		<link rel="alternate" type="text/html" href="https://wiki.vega-strike.org/mediawiki/index.php?title=HowTo:Radiosity_baking_in_Blender/vccopy.py&amp;action=history"/>
		<updated>2026-05-14T04:44:36Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.30.2</generator>

	<entry>
		<id>https://wiki.vega-strike.org/mediawiki/index.php?title=HowTo:Radiosity_baking_in_Blender/vccopy.py&amp;diff=8201&amp;oldid=prev</id>
		<title>tiny paintings: Fixes pontiacs problems</title>
		<link rel="alternate" type="text/html" href="https://wiki.vega-strike.org/mediawiki/index.php?title=HowTo:Radiosity_baking_in_Blender/vccopy.py&amp;diff=8201&amp;oldid=prev"/>
				<updated>2005-09-26T13:12:40Z</updated>
		
		<summary type="html">&lt;p&gt;Fixes pontiacs problems&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr style=&quot;vertical-align: top;&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 13:12, 26 September 2005&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l46&quot; &gt;Line 46:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 46:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	else:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	else:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;		# make two lists sorted on coordinates,&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;		# make two lists sorted on &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;world-space &lt;/ins&gt;coordinates,&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;		# containing a face and vertex index i and j respectively&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;		# containing a face and vertex index i and j respectively&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;		&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;		# Transform objects to world space coordinates:&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;		me_to.transform(Blender.Object.Get(toObj).getMatrix())&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;		me_from.transform(Blender.Object.Get(fromObj).getMatrix())&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;		l_to = []&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;		l_to = []&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l74&quot; &gt;Line 74:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 78:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;		&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;		&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;			me_to.faces[to_f].col[to_v] = me_from.faces[from_f].col[from_v]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;			me_to.faces[to_f].col[to_v] = me_from.faces[from_f].col[from_v]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;		# Transform objects back to object space coordinates:&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;		me_to.transform(Blender.Object.Get(toObj).getInverseMatrix())&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;		me_from.transform(Blender.Object.Get(fromObj).getInverseMatrix())&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;		me_to.update()&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;		me_to.update()&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>tiny paintings</name></author>	</entry>

	<entry>
		<id>https://wiki.vega-strike.org/mediawiki/index.php?title=HowTo:Radiosity_baking_in_Blender/vccopy.py&amp;diff=4850&amp;oldid=prev</id>
		<title>Pirx: better input layout</title>
		<link rel="alternate" type="text/html" href="https://wiki.vega-strike.org/mediawiki/index.php?title=HowTo:Radiosity_baking_in_Blender/vccopy.py&amp;diff=4850&amp;oldid=prev"/>
				<updated>2005-09-24T09:15:57Z</updated>
		
		<summary type="html">&lt;p&gt;better input layout&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr style=&quot;vertical-align: top;&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 09:15, 24 September 2005&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l104&quot; &gt;Line 104:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 104:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	Text(&amp;quot;Vertex Color Copy&amp;quot;)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	Text(&amp;quot;Vertex Color Copy&amp;quot;)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	#			String(name, event, x, y, width, height, initial, length, tooltip=None)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	#			String(name, event, x, y, width, height, initial, length, tooltip=None)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	toObj = 	String('&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;To Object&amp;#160; &lt;/del&gt;:', 4, &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;20&lt;/del&gt;, ligne*3-10, &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;250&lt;/del&gt;, 18, toObjx.val, 120, &amp;quot;The object to which the vertex colors should be copied.&amp;quot; )&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;	glRasterPos2f(20, ligne*3-5)&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	fromObj =	String('&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;From Object&lt;/del&gt;:', 4, &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;20&lt;/del&gt;, ligne*4-10, &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;250&lt;/del&gt;, 18, fromObjx.val, 120, &amp;quot;The object from which the vertex colors should be copied.&amp;quot; )&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;	Text(&amp;quot;To&amp;quot;)&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	toObj =		String('&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;OB&lt;/ins&gt;:', 4, &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;50&lt;/ins&gt;, ligne*3-10, &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;200&lt;/ins&gt;, 18, toObjx.val, 120, &amp;quot;The object to which the vertex colors should be copied.&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;quot; )&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;	glRasterPos2f(20, ligne*4-5)&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;	Text(&amp;quot;From&lt;/ins&gt;&amp;quot;)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	fromObj =	String('&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;OB&lt;/ins&gt;:', 4, &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;50&lt;/ins&gt;, ligne*4-10, &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;200&lt;/ins&gt;, 18, fromObjx.val, 120, &amp;quot;The object from which the vertex colors should be copied.&amp;quot; )&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	toObjx=toObj&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	toObjx=toObj&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	fromObjx=fromObj&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	fromObjx=fromObj&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Pirx</name></author>	</entry>

	<entry>
		<id>https://wiki.vega-strike.org/mediawiki/index.php?title=HowTo:Radiosity_baking_in_Blender/vccopy.py&amp;diff=4819&amp;oldid=prev</id>
		<title>Pirx: testing single file</title>
		<link rel="alternate" type="text/html" href="https://wiki.vega-strike.org/mediawiki/index.php?title=HowTo:Radiosity_baking_in_Blender/vccopy.py&amp;diff=4819&amp;oldid=prev"/>
				<updated>2005-09-23T23:23:55Z</updated>
		
		<summary type="html">&lt;p&gt;testing single file&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;#!BPY&lt;br /&gt;
&lt;br /&gt;
&amp;quot;&amp;quot;&amp;quot; Registration info for Blender menus: &amp;lt;- these words are ignored&lt;br /&gt;
Name: 'Vertex Color Copy'&lt;br /&gt;
Blender: 232&lt;br /&gt;
Group: 'Object'&lt;br /&gt;
Tip: 'Copies the vertex color information from one object to another.'&lt;br /&gt;
&amp;quot;&amp;quot;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
__author__ = &amp;quot;&amp;quot;&lt;br /&gt;
__url__ = (&amp;quot;blender&amp;quot;,&lt;br /&gt;
&amp;quot;Script's homepage, http://vegastrike.sourceforge.net/wiki/HowTo:Radiosity_baking_in_Blender&amp;quot;)&lt;br /&gt;
__version__ = &amp;quot;233&amp;quot;&lt;br /&gt;
&lt;br /&gt;
__bpydoc__ = &amp;quot;&amp;quot;&amp;quot;\&lt;br /&gt;
&amp;quot;&amp;quot;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# WHAT DOES IT DO?&lt;br /&gt;
# This script copies the vertex color information from one mesh&lt;br /&gt;
# to another, and does so correctly assuming the meshes have the&lt;br /&gt;
# same geometry, vertex-wise.&lt;br /&gt;
&lt;br /&gt;
import Blender&lt;br /&gt;
from Blender import *&lt;br /&gt;
from Blender.Draw import *&lt;br /&gt;
from Blender.BGL import *&lt;br /&gt;
&lt;br /&gt;
fromObj = &amp;quot;Mesh.rad&amp;quot;		# Set this to the resulting mesh from radio calcuation&lt;br /&gt;
toObj = &amp;quot;Mesh.orig&amp;quot;		# Set this to the name of your original, UV-mapped mesh.&lt;br /&gt;
fromObjx=Create(fromObj)&lt;br /&gt;
toObjx=Create(toObj)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
def copy_data():&lt;br /&gt;
	global fromObj, toObj&lt;br /&gt;
	me_from = Blender.Object.Get(fromObj).getData()&lt;br /&gt;
	me_to = Blender.Object.Get(toObj).getData()&lt;br /&gt;
&lt;br /&gt;
	if not me_to and not me_from:&lt;br /&gt;
		print &amp;quot;ERROR: Source/destination object does not exist&amp;quot;&lt;br /&gt;
		Blender.Draw.PupMenu(&amp;quot;ERROR%t|Source/destination object does not exist&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
	elif len(me_to.verts) != len(me_from.verts):&lt;br /&gt;
		print &amp;quot;ERROR: Source and destination objects must have the same number of vertices&amp;quot;&lt;br /&gt;
		Blender.Draw.PupMenu(&amp;quot;ERROR%t|Source and destination objects must have the same number of vertices&amp;quot;)&lt;br /&gt;
	&lt;br /&gt;
	else:&lt;br /&gt;
		# make two lists sorted on coordinates,&lt;br /&gt;
		# containing a face and vertex index i and j respectively&lt;br /&gt;
	&lt;br /&gt;
		l_to = []&lt;br /&gt;
		l_from = []&lt;br /&gt;
	&lt;br /&gt;
		# format: [ (x,y,z, face index, vertex index), ... ]&lt;br /&gt;
	&lt;br /&gt;
		for i in range(len(me_to.faces)):&lt;br /&gt;
			for j in range(len(me_to.faces[i].v)):&lt;br /&gt;
				vert = me_to.faces[i].v[j].co&lt;br /&gt;
				l_to.append((vert[0], vert[1], vert[2], i, j))&lt;br /&gt;
			&lt;br /&gt;
			for j in range(len(me_from.faces[i].v)):&lt;br /&gt;
				vert = me_from.faces[i].v[j].co&lt;br /&gt;
				l_from.append((vert[0], vert[1], vert[2], i, j))&lt;br /&gt;
		&lt;br /&gt;
		# Sort the lists after vertex coordinates&lt;br /&gt;
		l_to.sort()	&lt;br /&gt;
		l_from.sort()&lt;br /&gt;
	&lt;br /&gt;
		for i in range(len(l_to)):&lt;br /&gt;
			to_f = l_to[i][3]&lt;br /&gt;
			from_f = l_from[i][3]&lt;br /&gt;
			to_v = l_to[i][4]&lt;br /&gt;
			from_v = l_from[i][4]&lt;br /&gt;
		&lt;br /&gt;
			me_to.faces[to_f].col[to_v] = me_from.faces[from_f].col[from_v]&lt;br /&gt;
&lt;br /&gt;
		me_to.update()&lt;br /&gt;
		print &amp;quot;Copied vertex color information from object &amp;quot;+fromObj+&amp;quot; to object &amp;quot;+toObj+&amp;quot;.&amp;quot;&lt;br /&gt;
		Blender.Draw.PupMenu(&amp;quot;SUCESS%t|Copied vertex color information from object &amp;quot;+fromObj+&amp;quot; to object &amp;quot;+toObj+&amp;quot;.&amp;quot;)&lt;br /&gt;
  &lt;br /&gt;
&lt;br /&gt;
def EVENT(evt,val):&lt;br /&gt;
   pass&lt;br /&gt;
&lt;br /&gt;
def BUTTON(evt):&lt;br /&gt;
	if (evt==1):&lt;br /&gt;
		Exit()&lt;br /&gt;
	elif (evt==2):&lt;br /&gt;
		copy_data()&lt;br /&gt;
	Blender.Redraw()&lt;br /&gt;
&lt;br /&gt;
def DRAW():&lt;br /&gt;
	global fromObj, toObj, fromObjx, toObjx&lt;br /&gt;
&lt;br /&gt;
	glClear(GL_COLOR_BUFFER_BIT)&lt;br /&gt;
	glColor3f(0.1, 0.1, 0.15)    &lt;br /&gt;
&lt;br /&gt;
	ligne=20&lt;br /&gt;
&lt;br /&gt;
	Button (&amp;quot;Exit&amp;quot;,1,20,1,80,ligne)&lt;br /&gt;
	Button (&amp;quot;Copy Data&amp;quot;,2,102,1,80,ligne)&lt;br /&gt;
&lt;br /&gt;
	glRasterPos2f(20, ligne*2-10)&lt;br /&gt;
	Text(&amp;quot;Vertex Color Copy&amp;quot;)&lt;br /&gt;
	#			String(name, event, x, y, width, height, initial, length, tooltip=None)&lt;br /&gt;
	toObj = 	String('To Object  :', 4, 20, ligne*3-10, 250, 18, toObjx.val, 120, &amp;quot;The object to which the vertex colors should be copied.&amp;quot; )&lt;br /&gt;
	fromObj =	String('From Object:', 4, 20, ligne*4-10, 250, 18, fromObjx.val, 120, &amp;quot;The object from which the vertex colors should be copied.&amp;quot; )&lt;br /&gt;
	toObjx=toObj&lt;br /&gt;
	fromObjx=fromObj&lt;br /&gt;
	toObj=toObjx.val&lt;br /&gt;
	fromObj=fromObjx.val&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Register(DRAW,EVENT,BUTTON)&lt;/div&gt;</summary>
		<author><name>Pirx</name></author>	</entry>

	</feed>