<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="../../../support/xsl/i2html.xsl" ?>
<?file-root ../ ?>
<?file-path tutorials/fm_02_guide_quickstart_1010959.xml?>
<topic xmlns:ink="http://sidefx.com/doc/ns/ink/1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://sidefx.com/doc/ns/ink/1.1" id="fm_02_guide_quickstart_1010959" navigation="tutorial" xsi:schemaLocation="http://sidefx.com/doc/ns/ink/1.1 ../../support/schema/ink/1.1/ink.xsd"><title>Part 4: Create a Sky Dome</title><body>
                <ol>
                    <li>
                        <p>Create a Sphere Object</p>

                        <p>In the Viewer pane press<button> tab &gt; Geometry</button> and <button>RMB-click</button> to accept. Rename this object <em>skydome.</em> Press <button>i </button>to enter the <em>skydome</em> object. <button>Delete</button> the default file. </p>

                        <p>In the Viewer pane press<button> tab &gt; Sphere,</button> change its <button>Primitive Type</button> to <button>Polygon</button>. Increase the <button>Radius</button> to <button>120, 120, 120</button>, and the <button>Frequency</button> to <button>5</button>.</p>
                    </li>

                    <li>
                        <p>Clip the Sphere into a Dome</p>

                        <p>In the Viewer pane press <button>tab &gt; Clip</button>. Change the <button>Origin-Y</button> parameter to <button>-20</button> to ensure that the edge of the dome will note be seen when viewing through the camera. Press the <button>See One/See All objects</button> toggle to see how the dome fits into your scene. Press <button>w</button> to see wireframe view if nessesary.</p>

                        <p>
                            <img href="../images/skydome.jpg"/>
                        </p>
                    </li>

                    <li>
                        <p>Create a Star Field Shader</p>

                        <p>In the Network pane press <button>tab &gt; SHOP Network,</button> and press <button>i</button> to enter it. Press<button> tab &gt; VEX Polka Dots</button> and rename the shader to <em>stars</em>. Press<button> t </button>in the Viewer pane until you get the grid shader icon. Change the following in the Parameter pane:</p>

                        <p> <button>Dot Size</button> to <button>0.02;</button></p>

                        <p><button> Softness</button> to<button> 0;</button></p>

                        <p><button> Dot Color</button> to<button> 1 1 1;</button></p>

                        <p><button> Base Color</button> to<button> 0 0 0;</button></p>

                        <p><button> Specular</button> to <button> 0 0 0;</button></p>

                        <p><button> Roughness</button> to<button> 0.001.</button></p>
                    </li>

                    <li>
                        <p>Assign the Shader</p>

                        <p>Press <button>u</button> twice to return to the object level. Under the <button>Shading</button> tab of <em>sky</em>, click on the<button> [+]</button> next to the <button>SHOP Surface</button> field. Navigate inside the <em>shopnet</em> within the <em>sky</em> object, when the <em>stars</em> shader is selected press <button>Accept</button>.</p>

                        <p>Test render to see how the skydome looks.</p>

                        <p>
                            <img href="../images/star_render.jpg"/>
                        </p>
                    </li>
                </ol>
            </body></topic>