<?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%3ASky_Sphere</id>
	<title>Reference:Sky Sphere - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.povray.org/content?action=history&amp;feed=atom&amp;title=Reference%3ASky_Sphere"/>
	<link rel="alternate" type="text/html" href="https://wiki.povray.org/content?title=Reference:Sky_Sphere&amp;action=history"/>
	<updated>2026-04-06T09:15:38Z</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:Sky_Sphere&amp;diff=7317&amp;oldid=prev</id>
		<title>Jholsenback: 1 revision: underscore link repair</title>
		<link rel="alternate" type="text/html" href="https://wiki.povray.org/content?title=Reference:Sky_Sphere&amp;diff=7317&amp;oldid=prev"/>
		<updated>2012-07-17T18:09:21Z</updated>

		<summary type="html">&lt;p&gt;1 revision: underscore link repair&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 18:09, 17 July 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:Sky_Sphere&amp;diff=7316&amp;oldid=prev</id>
		<title>Jholsenback: still testing that theory</title>
		<link rel="alternate" type="text/html" href="https://wiki.povray.org/content?title=Reference:Sky_Sphere&amp;diff=7316&amp;oldid=prev"/>
		<updated>2012-07-16T11:49:34Z</updated>

		<summary type="html">&lt;p&gt;still testing that theory&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&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 class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 11:49, 16 July 2012&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-l34&quot; &gt;Line 34:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 34:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;p&amp;gt;This gives a soft blend from &amp;lt;code&amp;gt;CornflowerBlue&amp;lt;/code&amp;gt; at the horizon to &amp;lt;code&amp;gt;MidnightBlue&amp;lt;/code&amp;gt; at the zenith. The scale and translate operations are used to map the direction vector values, which lie in the range from &amp;amp;lt;-1, -1, -1&amp;amp;gt; to &amp;amp;lt;1, 1, 1&amp;amp;gt;, onto the range from &amp;amp;lt;0, 0, 0&amp;amp;gt; to &amp;amp;lt;1, 1, 1&amp;amp;gt;. Thus a repetition of the color blend is avoided for parts of the sky below the horizon.&amp;lt;/p&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;p&amp;gt;This gives a soft blend from &amp;lt;code&amp;gt;CornflowerBlue&amp;lt;/code&amp;gt; at the horizon to &amp;lt;code&amp;gt;MidnightBlue&amp;lt;/code&amp;gt; at the zenith. The scale and translate operations are used to map the direction vector values, which lie in the range from &amp;amp;lt;-1, -1, -1&amp;amp;gt; to &amp;amp;lt;1, 1, 1&amp;amp;gt;, onto the range from &amp;amp;lt;0, 0, 0&amp;amp;gt; to &amp;amp;lt;1, 1, 1&amp;amp;gt;. Thus a repetition of the color blend is avoided for parts of the sky below the horizon.&amp;lt;/p&amp;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;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;p&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;p&amp;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: #202122; 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;In order to easily animate a sky sphere you can transform it using the usual transformations described in [[Reference&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;:Tutorial_Section_2.2#Transformations|&lt;/del&gt;:Transformations|Transformations]]. Though it may not be a good idea to translate or scale a sky sphere - the results are hardly predictable - it is quite useful to be able to rotate it. In an animation the color blendings of the sky can be made to follow the rising sun for example.&amp;lt;/p&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;In order to easily animate a sky sphere you can transform it using the usual transformations described in [[Reference:Transformations|Transformations]]. Though it may not be a good idea to translate or scale a sky sphere - the results are hardly predictable - it is quite useful to be able to rotate it. In an animation the color blendings of the sky can be made to follow the rising sun for example.&amp;lt;/p&amp;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: #202122; 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;&amp;lt;p class=&amp;quot;Note&amp;quot;&amp;gt;&amp;lt;strong&amp;gt;Note:&amp;lt;/strong&amp;gt; Only one sky sphere can be used in any scene. It also will not work as you might expect if you use camera types like the [[Reference:Camera#&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Orthographic_projection&lt;/del&gt;|:orthographic|orthographic]] or [[Reference:Camera#&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Cylindrical_projection&lt;/del&gt;|:cylindrical|cylindrical]] camera. The orthographic camera uses parallel rays and thus you will only see a very small part of the sky sphere (you will get one color skies in most cases). Reflections in curved surface will work though, e. g. you will&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;&amp;lt;p class=&amp;quot;Note&amp;quot;&amp;gt;&amp;lt;strong&amp;gt;Note:&amp;lt;/strong&amp;gt; Only one sky sphere can be used in any scene. It also will not work as you might expect if you use camera types like the [[Reference:Camera#&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Orthographic projection&lt;/ins&gt;|:orthographic|orthographic]] or [[Reference:Camera#&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Cylindrical projection&lt;/ins&gt;|:cylindrical|cylindrical]] camera. The orthographic camera uses parallel rays and thus you will only see a very small part of the sky sphere (you will get one color skies in most cases). Reflections in curved surface will work though, e. g. you will&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;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;clearly see the sky in a mirrored ball.&amp;lt;/p&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;clearly see the sky in a mirrored ball.&amp;lt;/p&amp;gt;&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:Sky_Sphere&amp;diff=7030&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:Sky_Sphere&amp;diff=7030&amp;oldid=prev"/>
		<updated>2012-03-15T19:08:48Z</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:Sky_Sphere&amp;diff=7029&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:Sky_Sphere&amp;diff=7029&amp;oldid=prev"/>
		<updated>2012-03-11T22:25: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:Atmospheric Effects]]&lt;br /&gt;
{{#indexentry:sky_sphere}}&lt;br /&gt;
{{#indexentry:keyword, sky_sphere}}&lt;br /&gt;
&amp;lt;p&amp;gt;The sky sphere is used create a realistic sky background without the need of an additional sphere to simulate the sky. Its syntax is:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
SKY_SPHERE:&lt;br /&gt;
  sky_sphere { [SKY_SPHERE_IDENTIFIER] [SKY_SPHERE_ITEMS...] }&lt;br /&gt;
SKY_SPHERE_ITEM:&lt;br /&gt;
  PIGMENT | TRANSFORMATION | [emission]&lt;br /&gt;
&amp;lt;/pre&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; When using &amp;lt;code&amp;gt;Output_Alpha=on&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;+ua&amp;lt;/code&amp;gt; with legacy scenes (the &amp;lt;code&amp;gt;#version&amp;lt;/code&amp;gt; directive set to less than 3.7) the &amp;lt;code&amp;gt;sky_sphere&amp;lt;/code&amp;gt; will be suppressed, except in reflections.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;The sky sphere can contain several pigment layers with the last pigment being at the top, i. e. it is evaluated last, and the first pigment being at the bottom, i. e. it is evaluated first. If the upper layers contain filtering and/or transmitting components lower layers will shine through. If not lower layers will be invisible.&amp;lt;/p&amp;gt;&lt;br /&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; Version 3.7 changed the effect of filter in a layered-pigment &amp;lt;code&amp;gt;sky_sphere&amp;lt;/code&amp;gt; to match the behavior of a corresponding layered-texture large regular sphere. The old behavior, though probably having been unintentional, is automatically re-activated for backward compatibility when a &amp;lt;code&amp;gt;#version&amp;lt;/code&amp;gt; of less than 3.7 is specified. &amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;The sky sphere is calculated by using the direction vector as the parameter for evaluating the pigment patterns. This leads to results independent from the view point, which fairly accurately models a real sky, where the distance to the sky is much larger than the distances between visible objects.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Optionally adding the &amp;lt;code&amp;gt;emission&amp;lt;/code&amp;gt; keyword allows for brightness tuning of image-mapped sky sphere's. The default is rgb &amp;amp;lt;1,1,1&amp;amp;gt; with higher values increasing the brightness, and lower values correspondingly decrease it. Although primarily intended for easy tuning of light probe skies, the parameter also works with procedural sky pigments.&amp;lt;/p&amp;gt; &lt;br /&gt;
&amp;lt;p&amp;gt;If you want to add a nice color blend to your background you can easily do this by using the following example.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sky_sphere {&lt;br /&gt;
  pigment {&lt;br /&gt;
    gradient y&lt;br /&gt;
      color_map {&lt;br /&gt;
        [ 0.5  color CornflowerBlue ]&lt;br /&gt;
        [ 1.0  color MidnightBlue ]&lt;br /&gt;
        }&lt;br /&gt;
    scale 2&lt;br /&gt;
    translate -1&lt;br /&gt;
    }&lt;br /&gt;
  emission rgb &amp;lt;0.8,0.8,1&amp;gt;&lt;br /&gt;
  }&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;This gives a soft blend from &amp;lt;code&amp;gt;CornflowerBlue&amp;lt;/code&amp;gt; at the horizon to &amp;lt;code&amp;gt;MidnightBlue&amp;lt;/code&amp;gt; at the zenith. The scale and translate operations are used to map the direction vector values, which lie in the range from &amp;amp;lt;-1, -1, -1&amp;amp;gt; to &amp;amp;lt;1, 1, 1&amp;amp;gt;, onto the range from &amp;amp;lt;0, 0, 0&amp;amp;gt; to &amp;amp;lt;1, 1, 1&amp;amp;gt;. Thus a repetition of the color blend is avoided for parts of the sky below the horizon.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
In order to easily animate a sky sphere you can transform it using the usual transformations described in [[Reference:Tutorial_Section_2.2#Transformations|:Transformations|Transformations]]. Though it may not be a good idea to translate or scale a sky sphere - the results are hardly predictable - it is quite useful to be able to rotate it. In an animation the color blendings of the sky can be made to follow the rising sun for example.&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; Only one sky sphere can be used in any scene. It also will not work as you might expect if you use camera types like the [[Reference:Camera#Orthographic_projection|:orthographic|orthographic]] or [[Reference:Camera#Cylindrical_projection|:cylindrical|cylindrical]] camera. The orthographic camera uses parallel rays and thus you will only see a very small part of the sky sphere (you will get one color skies in most cases). Reflections in curved surface will work though, e. g. you will&lt;br /&gt;
clearly see the sky in a mirrored ball.&amp;lt;/p&amp;gt;&lt;/div&gt;</summary>
		<author><name>Jholsenback</name></author>
	</entry>
</feed>