<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Maratis forum - Skyboxes Tutorial]]></title>
	<link rel="self" href="http://forum.maratis3d.com/extern.php?action=feed&amp;tid=65&amp;type=atom"/>
	<updated>2011-10-24T23:14:10Z</updated>
	<generator>PunBB</generator>
	<id>http://forum.maratis3d.com/viewtopic.php?id=65</id>
		<entry>
			<title type="html"><![CDATA[Re: Skyboxes Tutorial]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=769#p769"/>
			<content type="html"><![CDATA[<p>Have a look at WorldMachine - similar to Terragen but little cheaper etc.<br /><a href="http://world-machine.com/download.php">http://world-machine.com/download.php</a><br />Also, there are some nice skyboxes at CGTextures <img src="http://forum.maratis3d.com/img/smilies/smile.png" width="15" height="15" alt="smile" /><br /><a href="http://www.cgtextures.com/">http://www.cgtextures.com/</a></p><p>Hope this helps <img src="http://forum.maratis3d.com/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></content>
			<author>
				<name><![CDATA[dlannan]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=320</uri>
			</author>
			<updated>2011-10-24T23:14:10Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=769#p769</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Skyboxes Tutorial]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=454#p454"/>
			<content type="html"><![CDATA[<p>Hello,</p><p>Maybe by using some free lightprobes <br /><a href="http://www.luxrender.net/wiki/External_resources">http://www.luxrender.net/wiki/External_resources</a><br />(HDRi section)</p><p>then apply the lightprobe as background in blender and manually take the 6 screenshots<br />(there are scripts to automate this task for blender 2.4x but i dont think these scripts have been ported to 2.5x)</p><p>Well thats just an idea</p>]]></content>
			<author>
				<name><![CDATA[Vegas]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=53</uri>
			</author>
			<updated>2011-07-30T15:47:42Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=454#p454</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Skyboxes Tutorial]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=453#p453"/>
			<content type="html"><![CDATA[<p>Hi Vegas,</p><p>Very Nice tutorial, and very helpful, however.<br />what about people who want to make skyboxes for<br />commercial games? the Terra-gen website states that<br />the material can only be used non-commercially.</p><p>Regards Piranha</p>]]></content>
			<author>
				<name><![CDATA[Piranha]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=153</uri>
			</author>
			<updated>2011-07-29T15:16:38Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=453#p453</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Skyboxes Tutorial]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=204#p204"/>
			<content type="html"><![CDATA[<p><strong><span class="bbu"><em>What you will need</em></span></strong></p><p>- Terragen<br /><a href="http://www.planetside.co.uk/terragen/win/downloadwin.shtml">http://www.planetside.co.uk/terragen/wi &#133; dwin.shtml</a><br />- Terragen render script<br />- Blender 2.56</p><p><strong><span class="bbu"><em>Using Terragen</em></span></strong></p><p>First part of the tutorial is taken from :<br /><a href="http://forums.virgal.net/faq-creation-mondes-virtuels/2_comment-creer-une-skybox-paysage-de-fond-avec-terragen.htm">http://forums.virgal.net/faq-creation-m &#133; rragen.htm</a></p><p>However it&#039;s in french so im gonna translate (if we can call this a translation =p)</p><p>1) Launch terragen -&gt; customise &amp; generate your terrain -&gt; use the preview button<br />2) In the rendering window :<br />- Uncheck &quot;Fixed height above surface&quot;<br />- Pick the best possible quality<br />- Choose 512*512 as image size<br /><a href="http://img708.imageshack.us/i/skyboxrenderwindow.jpg/"><span class="postimg"><img src="http://img708.imageshack.us/img708/8793/skyboxrenderwindow.jpg" alt="http://img708.imageshack.us/img708/8793/skyboxrenderwindow.jpg" /></span></a><br />3) Open Notepad, copy/paste the script and save it as skyboxscript.tgs</p><div class="quotebox"><blockquote><p>initanim &quot;C:\sky&quot;, 1<br />; You can set another path.<br />; The last part (here : &quot;sky&quot;) is the prefix<br />; to name your files, and the first part<br />; (here : &quot;C:\&quot;) show where you gonna save the files</p><p>;_ft<br />Zoom 1.0<br />CamH 0<br />CamP 0<br />CamB 0<br />frend</p><p>;_lf<br />Zoom 1.0<br />CamH 90<br />CamP 0<br />CamB 0<br />frend</p><p>;_up<br />Zoom 1.0<br />CamH 270<br />CamP 90<br />CamB 0<br />frend</p><p>;_bk<br />Zoom 1.0<br />CamH 180<br />CamP 0<br />CamB 0<br />frend</p><p>;_rt<br />Zoom 1.0<br />CamH 270<br />CamP 0<br />CamB 0<br />frend</p><p>;_dn<br />Zoom 1.0<br />CamH 270<br />CamP -90<br />CamB 0<br />frend</p></blockquote></div><p>4) In terragen, click on terragen menu at the top, then &quot;Execute script&quot; -&gt; select your skyboxscript.tgs<br />5) Once rendering is complete, open the path where you saved, and here are your 6 BMP files -&gt; you can convert them as JPG if you want<br />6) Ur done!</p><p>NOTE: Take a look at the script,<br />Below each camera rotations there is a </p><p>;_ft (= Front)<br />;_lf (= Left)<br />;_up (= Up)<br />;_bk (= Back)<br />;_rt (= Right)<br />;_dn (= Down)</p><p>This is the order of your rendered images<br />so when you done rendering, rename them using these names so you know<br />what your images are.</p><p><strong><span class="bbu"><em>Using Blender</em></span></strong></p><p>If you want a little shortcut, here&#039;s a .blend file with a prepared box:<br />(Including Skybox.blend1 and Skybox.blend2 i dont know if they are needed to start Skybox.blend)<br /><a href="http://dl.dropbox.com/u/19970067/Blender/Skybox.rar">http://dl.dropbox.com/u/19970067/Blender/Skybox.rar</a></p><p>Or if it works just with just skybox.blend file :<br /><a href="http://dl.dropbox.com/u/19970067/Blender/Skybox.blend">http://dl.dropbox.com/u/19970067/Blender/Skybox.blend</a></p><p>And as example the 6 images i used for this tuto (2.577ko) :<br /><a href="http://dl.dropbox.com/u/19970067/Skyboxes/Images.rar">http://dl.dropbox.com/u/19970067/Skyboxes/Images.rar</a></p><p>What i did there :<br />- Splitted all 6 cube faces<br />- Unwraped them<br />- Applied a material on each face, Set material &quot;Emit&quot; at (1.11). (thanks anael)<br />- Applied texture &amp; bind UV coordinates (you just have to open your images now)<br />- Named faces, materials and textures UP, DOWN, LEFT, RIGHT, FRONT, BACK<br />- Moved each face by 0.004 / -0.004 on the correct x/y/z so the edges of the cube aren&#039;t visible <br />(there was a very small space at each cube edge that was visible, so like this its ok)&nbsp; </p><p>From here you have to:</p><p>- Load a texture on each cube face<br />- Set texture for each face on UV map window (Edit mode)<br /><a href="http://img822.imageshack.us/i/sanstitre1tyv.jpg/"><span class="postimg"><img src="http://img822.imageshack.us/img822/8189/sanstitre1tyv.jpg" alt="http://img822.imageshack.us/img822/8189/sanstitre1tyv.jpg" /></span></a><br />- Change viewport to &quot;Textured&quot; (its hard to select faces when you are in texture viewport with no texture applied)<br />- Once all faces are textured, select face one by one and apply on each of them :<br />1) In Object mode -&gt; Select a face<br />2) Press TAB to enter Edit mode -&gt; in Tool shelt, under &quot;normals&quot; tab, press &quot;Flip direction&quot;<br />(Texture will be displayed inside of the cube instead of outside)<br />(In the UV menu (EDIT MODE only) use UV -&gt; Mirror -&gt; X Axis or Y axis if the texture isn&#039;t displayed correctly)<br />3) Press TAB again (to go back in Objet mode) and repeat the 1-2 steps for each cube face<br />- Once it&#039;s done, press &quot;A&quot; (select all) then export as maratis mesh (you dont have to join faces) </p><p>This is how it must look when ur done :<br />Outside box<br /><a href="http://img713.imageshack.us/i/image13243.jpg/"><span class="postimg"><img src="http://img713.imageshack.us/img713/6680/image13243.jpg" alt="http://img713.imageshack.us/img713/6680/image13243.jpg" /></span></a></p><p>Inside box<br /><a href="http://img121.imageshack.us/i/image131756.jpg/"><span class="postimg"><img src="http://img121.imageshack.us/img121/2371/image131756.jpg" alt="http://img121.imageshack.us/img121/2371/image131756.jpg" /></span></a></p><br /><p><strong><span class="bbu"><em>In maratis</em></span></strong></p><div class="quotebox"><cite>anael wrote:</cite><blockquote><p>Import the mesh in Maratis, go to the behavior tab and add a &quot;Follow&quot; behavior. Set the camera name as the target, set delay to 0. Scale the skybox to fit the clipping max of the camera. The skybox will follow the camera position but will not rotate with it, so it&#039;s the definition of a skybox</p></blockquote></div><br /><p>I&#039;m not saying that&#039;s the best way to make a skybox but it worked for me and that was quite fast &amp; easy,<br />so it should work for you too.<br />And take note you can change settings in Terragen to make completely differents atmospheres</p><p>If you find this tuto not clear enough / possible error / better way to do it / way to improve,&nbsp; just tell !</p><p>And thanks anael for showing me the way !</p><p>Results :</p><p><a href="http://img43.imageshack.us/i/image115126.jpg/"><span class="postimg"><img src="http://img43.imageshack.us/img43/4279/image115126.jpg" alt="http://img43.imageshack.us/img43/4279/image115126.jpg" /></span></a><br /><a href="http://img638.imageshack.us/i/image115339.jpg/"><span class="postimg"><img src="http://img638.imageshack.us/img638/2761/image115339.jpg" alt="http://img638.imageshack.us/img638/2761/image115339.jpg" /></span></a><br /><a href="http://img203.imageshack.us/i/image115412.jpg/"><span class="postimg"><img src="http://img203.imageshack.us/img203/2382/image115412.jpg" alt="http://img203.imageshack.us/img203/2382/image115412.jpg" /></span></a><br /><a href="http://img52.imageshack.us/i/image115426.jpg/"><span class="postimg"><img src="http://img52.imageshack.us/img52/4757/image115426.jpg" alt="http://img52.imageshack.us/img52/4757/image115426.jpg" /></span></a></p><p>NOTE: in maratis, try changing the camera FOV and see the results</p>]]></content>
			<author>
				<name><![CDATA[Vegas]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=53</uri>
			</author>
			<updated>2011-03-09T13:54:20Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=204#p204</id>
		</entry>
</feed>
