<?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=User%3ALe_Forgeron%2Fvault%2FRefImgTiling</id>
	<title>User:Le Forgeron/vault/RefImgTiling - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.povray.org/content?action=history&amp;feed=atom&amp;title=User%3ALe_Forgeron%2Fvault%2FRefImgTiling"/>
	<link rel="alternate" type="text/html" href="https://wiki.povray.org/content?title=User:Le_Forgeron/vault/RefImgTiling&amp;action=history"/>
	<updated>2026-04-04T06:27:33Z</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=User:Le_Forgeron/vault/RefImgTiling&amp;diff=4919&amp;oldid=prev</id>
		<title>Le Forgeron: Created page with &quot;File:RefImgTiling.gif  &lt;source lang=&quot;pov&quot;&gt;  #include &quot;colors.inc&quot; #declare Co1 = rgb &lt;0.25,0.75,0.25&gt; ; #declare Co2 = rgb &lt;0.75,0.75,0.25&gt; ; #declare Co3 = rgb &lt;0.25,0.75...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.povray.org/content?title=User:Le_Forgeron/vault/RefImgTiling&amp;diff=4919&amp;oldid=prev"/>
		<updated>2011-12-08T19:42:08Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&lt;a href=&quot;/content/File:RefImgTiling.gif&quot; title=&quot;File:RefImgTiling.gif&quot;&gt;File:RefImgTiling.gif&lt;/a&gt;  &amp;lt;source lang=&amp;quot;pov&amp;quot;&amp;gt;  #include &amp;quot;colors.inc&amp;quot; #declare Co1 = rgb &amp;lt;0.25,0.75,0.25&amp;gt; ; #declare Co2 = rgb &amp;lt;0.75,0.75,0.25&amp;gt; ; #declare Co3 = rgb &amp;lt;0.25,0.75...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[File:RefImgTiling.gif]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;pov&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
#include &amp;quot;colors.inc&amp;quot;&lt;br /&gt;
#declare Co1 = rgb &amp;lt;0.25,0.75,0.25&amp;gt; ;&lt;br /&gt;
#declare Co2 = rgb &amp;lt;0.75,0.75,0.25&amp;gt; ;&lt;br /&gt;
#declare Co3 = rgb &amp;lt;0.25,0.75,0.75&amp;gt; ;&lt;br /&gt;
#declare Co4 = rgb &amp;lt;0.25,0.25,0.75&amp;gt; ;&lt;br /&gt;
#declare Co5 = rgb &amp;lt;0.75,0.25,0.25&amp;gt; ;&lt;br /&gt;
#declare Co6 = rgb &amp;lt;0.75,0.25,0.75&amp;gt; ; &lt;br /&gt;
camera { &lt;br /&gt;
	orthographic&lt;br /&gt;
	location &amp;lt;0,-8,0&amp;gt;&lt;br /&gt;
direction y&lt;br /&gt;
up 3*z&lt;br /&gt;
right 8*x&lt;br /&gt;
//orthographic&lt;br /&gt;
}&lt;br /&gt;
global_settings { max_trace_level 30 ambient_light 1 }&lt;br /&gt;
#macro kk(ii)&lt;br /&gt;
#declare demo=texture { pigment { &lt;br /&gt;
	tiling int(ii)+1&lt;br /&gt;
#switch (int(ii))&lt;br /&gt;
#case(0)&lt;br /&gt;
#declare num=1;&lt;br /&gt;
#declare sc=1;&lt;br /&gt;
#break&lt;br /&gt;
#case(1)&lt;br /&gt;
#declare num=1;&lt;br /&gt;
#declare sc=1/2;&lt;br /&gt;
#break&lt;br /&gt;
#case(2)&lt;br /&gt;
#declare num=2;&lt;br /&gt;
#declare sc=1.5;&lt;br /&gt;
#break&lt;br /&gt;
#case(3)&lt;br /&gt;
#declare num=1;&lt;br /&gt;
#declare sc=1;&lt;br /&gt;
#break&lt;br /&gt;
#case(4)&lt;br /&gt;
#declare num=3;&lt;br /&gt;
#declare sc=1;&lt;br /&gt;
#break&lt;br /&gt;
#case(5)&lt;br /&gt;
#declare num=2;&lt;br /&gt;
#declare sc=1/2;&lt;br /&gt;
#break&lt;br /&gt;
#case(6)&lt;br /&gt;
#declare num=2;&lt;br /&gt;
#declare sc=1/2;&lt;br /&gt;
#break&lt;br /&gt;
#case(7)&lt;br /&gt;
#declare num=3;&lt;br /&gt;
#declare sc=2/3;&lt;br /&gt;
#break&lt;br /&gt;
#case(8)&lt;br /&gt;
#declare num=3;&lt;br /&gt;
#declare sc=2/3;&lt;br /&gt;
#break&lt;br /&gt;
#case(9)&lt;br /&gt;
#declare num=1;&lt;br /&gt;
#declare sc=1;&lt;br /&gt;
#break&lt;br /&gt;
#case(10)&lt;br /&gt;
#declare num=3;&lt;br /&gt;
#declare sc=1/2;&lt;br /&gt;
#break&lt;br /&gt;
#case(11)&lt;br /&gt;
#declare num=3;&lt;br /&gt;
#declare sc=1/2;&lt;br /&gt;
#break&lt;br /&gt;
#case(12)&lt;br /&gt;
#declare num=3;&lt;br /&gt;
#declare sc=1/2;&lt;br /&gt;
#break&lt;br /&gt;
#case(13)&lt;br /&gt;
#declare num=5;&lt;br /&gt;
#declare sc=2/3;&lt;br /&gt;
#break&lt;br /&gt;
#case(14)&lt;br /&gt;
#declare num=2;&lt;br /&gt;
#declare sc=2/3;&lt;br /&gt;
#break&lt;br /&gt;
#case(15)&lt;br /&gt;
#declare num=3;&lt;br /&gt;
#declare sc=1;&lt;br /&gt;
#break&lt;br /&gt;
#case(16)&lt;br /&gt;
#declare num=6;&lt;br /&gt;
#declare sc=1;&lt;br /&gt;
#break&lt;br /&gt;
#case(17)&lt;br /&gt;
#declare num=2;&lt;br /&gt;
#declare sc=1;&lt;br /&gt;
#break&lt;br /&gt;
#case(18)&lt;br /&gt;
#declare num=3;&lt;br /&gt;
#declare sc=1;&lt;br /&gt;
#break&lt;br /&gt;
#case(19)&lt;br /&gt;
#declare num=3;&lt;br /&gt;
#declare sc=1;&lt;br /&gt;
#break&lt;br /&gt;
#case(20)&lt;br /&gt;
#declare num=6;&lt;br /&gt;
#declare sc=1;&lt;br /&gt;
#break&lt;br /&gt;
#case(21)&lt;br /&gt;
#declare num=3;&lt;br /&gt;
#declare sc=1;&lt;br /&gt;
#break;&lt;br /&gt;
#case(22)&lt;br /&gt;
#declare num=3;&lt;br /&gt;
#declare sc=1;&lt;br /&gt;
#break;&lt;br /&gt;
#case(23)&lt;br /&gt;
#declare num=5;&lt;br /&gt;
#declare sc=1;&lt;br /&gt;
#break;&lt;br /&gt;
#end&lt;br /&gt;
&lt;br /&gt;
#declare Co=array[6]{Co1,Co2,Co3,Co4,Co5,Co6};&lt;br /&gt;
pigment_map {&lt;br /&gt;
#local i=0;&lt;br /&gt;
#while(i&amp;lt;num)&lt;br /&gt;
  [i/num Co[mod(i+ii,6)]]&lt;br /&gt;
  [(2*i+1)/(2*num)-0.1/num Co[mod(i+ii,6)]]&lt;br /&gt;
  [(2*i+1)/(2*num)-0.1/num rgb&amp;lt;1,1,1&amp;gt;-Co[mod(i+ii,6)]]&lt;br /&gt;
  [(2*i+1)/(2*num)+0.1/num rgb&amp;lt;1,1,1&amp;gt;-Co[mod(i+ii,6)]]&lt;br /&gt;
  [(2*i+1)/(2*num)+0.1/num Co[mod(i+ii,6)]]&lt;br /&gt;
	[(i+1)/num-0.1/num Co[mod(i+ii,6)]/2]&lt;br /&gt;
	[(i+1)/num-0.1/num Black]&lt;br /&gt;
	[(i+1)/num Black]&lt;br /&gt;
#local i=i+1;&lt;br /&gt;
#end&lt;br /&gt;
}&lt;br /&gt;
// scale sc &lt;br /&gt;
}&lt;br /&gt;
finish { ambient 1.0 }&lt;br /&gt;
}&lt;br /&gt;
#end&lt;br /&gt;
&lt;br /&gt;
#local i =0;&lt;br /&gt;
#while(i&amp;lt;8)&lt;br /&gt;
#local j=0;&lt;br /&gt;
#while(j&amp;lt;3)&lt;br /&gt;
kk(i*3+j)&lt;br /&gt;
	union {&lt;br /&gt;
box { &amp;lt;-0.485,0,-0.485&amp;gt;,&amp;lt;0.485,0,0.485&amp;gt;&lt;br /&gt;
 texture { demo scale 1/(max(5,min(7,num*2))) }&lt;br /&gt;
}&lt;br /&gt;
union{&lt;br /&gt;
 text { ttf &amp;quot;arialbd.ttf&amp;quot;,concat(str((i*3+j+1),2,0),&amp;quot;:&amp;quot;,str(num,0,0),&amp;quot; til.&amp;quot;) 0.1,0&lt;br /&gt;
	 texture { pigment { Black } }&lt;br /&gt;
	 rotate 90*x&lt;br /&gt;
}&lt;br /&gt;
 box { &amp;lt;-0.1,0,-0.2&amp;gt;,&amp;lt;3.5,0,1.0&amp;gt;&lt;br /&gt;
	 texture { pigment { White } finish { ambient 1.0} }&lt;br /&gt;
 }&lt;br /&gt;
	 scale 1/8&lt;br /&gt;
	 no_shadow &lt;br /&gt;
	 translate -0.5*y-0.4*x-0.45*z&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
 translate ((2-j)-1)*z+(i-3.5)*x&lt;br /&gt;
}&lt;br /&gt;
#local j=j+1;&lt;br /&gt;
#end&lt;br /&gt;
#local i=i+1;&lt;br /&gt;
#end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Le Forgeron</name></author>
	</entry>
</feed>