<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Ghost Mantis Games &#187; Tutorials</title>
	<atom:link href="https://ghostmantis.com/?cat=65&#038;feed=rss2" rel="self" type="application/rss+xml" />
	<link>https://ghostmantis.com</link>
	<description>Development Blog</description>
	<lastBuildDate>Wed, 21 May 2014 03:58:42 +0000</lastBuildDate>
	<language>en-US</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=3.7.41</generator>
	<item>
		<title>Quick Character Turnaround</title>
		<link>https://ghostmantis.com/?p=840</link>
		<comments>https://ghostmantis.com/?p=840#comments</comments>
		<pubDate>Fri, 27 Dec 2013 03:05:21 +0000</pubDate>
		<dc:creator><![CDATA[Pastywhite]]></dc:creator>
				<category><![CDATA[Assets]]></category>
		<category><![CDATA[Characters/Outfits]]></category>
		<category><![CDATA[Concept Art]]></category>
		<category><![CDATA[Photoshop]]></category>
		<category><![CDATA[Weapons]]></category>
		<category><![CDATA[action]]></category>
		<category><![CDATA[action adventure]]></category>
		<category><![CDATA[action mmo]]></category>
		<category><![CDATA[adventure]]></category>
		<category><![CDATA[anime]]></category>
		<category><![CDATA[based]]></category>
		<category><![CDATA[beautiful]]></category>
		<category><![CDATA[browser]]></category>
		<category><![CDATA[browser based]]></category>
		<category><![CDATA[character]]></category>
		<category><![CDATA[chick]]></category>
		<category><![CDATA[concept art]]></category>
		<category><![CDATA[dev blog]]></category>
		<category><![CDATA[f2p]]></category>
		<category><![CDATA[fantasy]]></category>
		<category><![CDATA[fox]]></category>
		<category><![CDATA[free]]></category>
		<category><![CDATA[free to play]]></category>
		<category><![CDATA[ghost mantis]]></category>
		<category><![CDATA[girl]]></category>
		<category><![CDATA[hot]]></category>
		<category><![CDATA[lady]]></category>
		<category><![CDATA[magic]]></category>
		<category><![CDATA[manga]]></category>
		<category><![CDATA[meridian]]></category>
		<category><![CDATA[mmo]]></category>
		<category><![CDATA[mmorpg]]></category>
		<category><![CDATA[painting]]></category>
		<category><![CDATA[photoshop]]></category>
		<category><![CDATA[play]]></category>
		<category><![CDATA[sci fi]]></category>
		<category><![CDATA[sexy]]></category>
		<category><![CDATA[smart]]></category>
		<category><![CDATA[smart fox]]></category>
		<category><![CDATA[smartfox]]></category>
		<category><![CDATA[soldier]]></category>
		<category><![CDATA[sorcerer]]></category>
		<category><![CDATA[space]]></category>
		<category><![CDATA[stream]]></category>
		<category><![CDATA[streaming]]></category>
		<category><![CDATA[to]]></category>
		<category><![CDATA[unity]]></category>
		<category><![CDATA[unity3d]]></category>
		<category><![CDATA[video game]]></category>
		<category><![CDATA[videogame]]></category>
		<category><![CDATA[warrior]]></category>
		<category><![CDATA[woman]]></category>

		<guid isPermaLink="false">http://ghostmantis.com/?p=840</guid>
		<description><![CDATA[Since we&#8217;re now at the point in development where we&#8217;re going to need a bunch of outfit ideas for the characters it&#8217;s time to start busting these things out. I&#8217;ll be trying to come up with everything possible to get an array of character designs. &#160;]]></description>
				<content:encoded><![CDATA[<p>Since we&#8217;re now at the point in development where we&#8217;re going to need a bunch of outfit ideas for the characters it&#8217;s time to start busting these things out. I&#8217;ll be trying to come up with everything possible to get an array of character designs.</p>
<p><a href="http://ghostmantis.com/wp-content/uploads/2013/12/Female-Character-Quick-Sketches-24.jpg"><img class="alignnone size-medium wp-image-845" alt="Female-Character-Quick-Sketches---2" src="http://ghostmantis.com/wp-content/uploads/2013/12/Female-Character-Quick-Sketches-24-300x93.jpg" width="300" height="93" /></a></p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>https://ghostmantis.com/?feed=rss2&#038;p=840</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Art for Print/Publishing Photoshop Tutorial</title>
		<link>https://ghostmantis.com/?p=367</link>
		<comments>https://ghostmantis.com/?p=367#comments</comments>
		<pubDate>Fri, 04 Oct 2013 16:56:53 +0000</pubDate>
		<dc:creator><![CDATA[Pastywhite]]></dc:creator>
				<category><![CDATA[Photoshop]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[adobe]]></category>
		<category><![CDATA[art]]></category>
		<category><![CDATA[books]]></category>
		<category><![CDATA[children's book]]></category>
		<category><![CDATA[correctly]]></category>
		<category><![CDATA[details]]></category>
		<category><![CDATA[digital art]]></category>
		<category><![CDATA[ghost mantis]]></category>
		<category><![CDATA[how-to]]></category>
		<category><![CDATA[illustration]]></category>
		<category><![CDATA[muddy]]></category>
		<category><![CDATA[photoshop]]></category>
		<category><![CDATA[print correctly]]></category>
		<category><![CDATA[print dark]]></category>
		<category><![CDATA[print too dark]]></category>
		<category><![CDATA[printing]]></category>
		<category><![CDATA[process]]></category>
		<category><![CDATA[publishing]]></category>
		<category><![CDATA[step by step]]></category>
		<category><![CDATA[story book]]></category>
		<category><![CDATA[storybook]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://ghostmantis.com/?p=367</guid>
		<description><![CDATA[As someone who is interested in art, and particularly digital art, I often run across websites of people who are trying to get their worked published in book form. They either plan on self-publishing or going the old fashioned route of finding someone who will publish their book. It&#8217;s usually a children&#8217;s book. I often hear these same people tell&#160;<a href="https://ghostmantis.com/?p=367" class="read-more">Continue Reading</a>]]></description>
				<content:encoded><![CDATA[<p>As someone who is interested in art, and particularly digital art, I often run across websites of people who are trying to get their worked published in book form. They either plan on self-publishing or going the old fashioned route of finding someone who will publish their book. It&#8217;s usually a children&#8217;s book. I often hear these same people tell stories of how the art for their project looked great on the screen but once they printed it out using whatever printing service they chose (usually for the purposes of making a mock-up of the book) the art was dull and the details had washed out.</p>
<p>I&#8217;ve worked in publishing before and have had numerous children&#8217;s books featuring my art appear in stores like Barne&#8217;s and Noble etc. I often found myself in the same predicament as the people I mentioned above and only after years of searching did I find the solution that truly works. That&#8217;s why I&#8217;m providing you with this tutorial. Hopefully it&#8217;ll save some poor soul the pain of working on a children&#8217;s book, or other art book, for months or even years only to find out that the magnificent on screen art is actually terrible for print and must be redone.</p>
<p>The problem we&#8217;re seeing here isn&#8217;t that the artwork isn&#8217;t well planned out or not high quality. It also isn&#8217;t because the file sizes weren&#8217;t large enough or high enough quality (although you should be working in at least 300 DPI). The problem is simply that the computer monitor does something that a piece of paper will never be able to do. The computer monitor projects light. Nothing will ever look as vibrant in print as it does on the screen. So how do we avoid our nightmare printing scenario?</p>
<p>The masterminds at Adobe were smart enough to recognize this monitor-to-paper disconnect and actually created a tab in Photoshop that gives the artist the information they need to avoid printing disasters. The only problem is most people don&#8217;t know about it.</p>
<p>It&#8217;s called &#8216;Total Inks&#8217; and it can be found in the &#8216;Panel Options&#8217; of the &#8216;Info&#8217; histogram.</p>
<p>So here are the steps along with some screen grabs to show you what I&#8217;m talking about. The artwork in the steps is a fan art that I made of Cammy White from the legendary Street Fighter franchise. I loves me some Cammy.</p>
<p>Once Photoshop is open you&#8217;re going to have to make sure that you can see your &#8216;Total Inks&#8217; tab which is used to indicate the amount of ink the printer will have to use to create your color/hue/value in any particular area of a painting. Once the total amount of ink passes a certain threshold, which is 280% in the &#8216;Total Ink&#8217; tab, the paper becomes too wet and has too much ink on it to really separate out details. Certain parts of a piece can still be above the 280% threshold such as eyelashes which are almost always 300%, but the details surrounding anything that is above 280% should be less than 280%. Basically if you&#8217;re creating a very dark scene and you run your cursor over the image and generally the numbers you&#8217;re seeing in the &#8216;Total Inks&#8217; tab are above 280%, your image will not print well unless you go to a really high end printer. The problem is most published books are mass produced (and why wouldn&#8217;t they be?) therefore the paper and print itself is of a lower quality more suitable for high demand printing. These types of prints can&#8217;t separate out the smaller details unless they stay within the proper ink threshold.</p>
<p>Ok Let&#8217;s get to the how-to part of this tutorial.</p>
<p>Step 1: Now that you&#8217;ve got Photoshop open make sure that the &#8216;Total Inks&#8217; tab is visible. Do this by clicking the &#8216;Window&#8217; tab on the top of the Photoshop interface. It&#8217;s located between the &#8216;View&#8217; and &#8216;Help&#8217; tabs.</p>
<p>Step 2: A drop-down menu will appear after clicking the &#8216;Window&#8217; tab. From that list, select &#8216;Info&#8217;. This should now make the &#8216;Info&#8217; tab visible if it wasn&#8217;t already.</p>
<p>Step 3: On the very top right of the &#8216;Info&#8217; tab there is an icon that looks like a tiny arrow pointing downward and has some horizontal lines next to it. This indicates that you will find more options regarding the &#8216;Info&#8217; tab if you click it. You&#8217;ll find this same icon in many different places in Photoshop and it always indicates that there are more options available to you for whatever tab you find this icon in. OK, click the icon and in the new window that appears select &#8216;Panel Options&#8217;</p>
<p>Step 4: Once the &#8216;Panel Options&#8217; window appears you&#8217;ll notice that it contains sections called &#8216;First Color Readout&#8217; and &#8216;Second Color Readout&#8217;. Each one of those sections contains the word &#8216;Mode&#8217; next to a drop down menu. Click on the drop down menu in both of the sections and choose the &#8216;Total Ink&#8217; option.</p>
<p>That&#8217;s it! Now that you&#8217;ve chosen &#8216;Total Ink&#8217;, you&#8217;ll notice that the numbers in the &#8216;Info&#8217; histogram have now changed. There are new numbers next to little squiggly icons on the top of the &#8216;Info&#8217; histogram showing what appear to be random percentages. If you, however, simply move your cursor around the art piece you&#8217;ll notice that the percentages will change. Generally, the lighter the color is the lower the number is.</p>
<p>When setting up a composition, even a very dark one, you&#8217;ll want to keep the overall percentages less than 280%. Things that are very dark, like pupils and eyelashes, will almost always be above 280% but that&#8217;s ok because the details surrounding them are usually lighter. The eyelashes are surrounded by skin tones and the pupils are surrounded by the color of the iris. Even if the iris is supposed to be brown, make sure the colors of it are generally a lower number than 280 and you&#8217;ll be fine.</p>
<p>Keep in mind this tutorial only applies to publishing and print work. Things in print always look darker than they do on a screen, so if you&#8217;re just doing some badass art for your website you won&#8217;t have to worry about this, and generally if concept art ever makes it to print (such as the art for companies like Blizzard), the book is printed in much lower quantities than say a Disney Book. They&#8217;re also generally forced to shell out the extra cash for a higher quality print or they&#8217;ll encounter the problems I&#8217;ve mentioned. This is why art books tend to be hardcover and more expensive overall.</p>
<p>Sure you could always go through the art work and try to finagle it by doing layer adjustments and color corrections, but why go through the headache when you can now get it right the first time?</p>
<p>Anyways, I really hope this tutorial helped. This information changed my world once I knew about it. If any of the information in this tutorial was unclear or confusing I hope that by reviewing the attached screenshots you&#8217;ll have a better understanding of what I&#8217;m talking about.</p>
<p>Cheers,</p>
<p>Pastywhite</p>
<p><a href="http://ghostmantis.com/wp-content/uploads/2013/10/Step-1.jpg"><img src="http://ghostmantis.com/wp-content/uploads/2013/10/Step-1-300x133.jpg" alt="Step - 1" width="300" height="133" class="alignnone size-medium wp-image-368" /></a></p>
<p><a href="http://ghostmantis.com/wp-content/uploads/2013/10/Step-2.jpg"><img src="http://ghostmantis.com/wp-content/uploads/2013/10/Step-2-300x187.jpg" alt="Step - 2" width="300" height="187" class="alignnone size-medium wp-image-369" /></a></p>
<p><a href="http://ghostmantis.com/wp-content/uploads/2013/10/Step-3.jpg"><img src="http://ghostmantis.com/wp-content/uploads/2013/10/Step-3-300x187.jpg" alt="Step - 3" width="300" height="187" class="alignnone size-medium wp-image-370" /></a></p>
<p><a href="http://ghostmantis.com/wp-content/uploads/2013/10/Step-4.jpg"><img src="http://ghostmantis.com/wp-content/uploads/2013/10/Step-4-300x186.jpg" alt="Step - 4" width="300" height="186" class="alignnone size-medium wp-image-371" /></a></p>
]]></content:encoded>
			<wfw:commentRss>https://ghostmantis.com/?feed=rss2&#038;p=367</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[TUTORIAL] &#8211; Automatically Create Light Probes</title>
		<link>https://ghostmantis.com/?p=332</link>
		<comments>https://ghostmantis.com/?p=332#comments</comments>
		<pubDate>Sat, 28 Sep 2013 15:44:16 +0000</pubDate>
		<dc:creator><![CDATA[Fishypants]]></dc:creator>
				<category><![CDATA[Game Development]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Unity]]></category>
		<category><![CDATA[chick]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[female]]></category>
		<category><![CDATA[forest]]></category>
		<category><![CDATA[guide]]></category>
		<category><![CDATA[how-to]]></category>
		<category><![CDATA[light probes]]></category>
		<category><![CDATA[mari]]></category>
		<category><![CDATA[maya]]></category>
		<category><![CDATA[mmo]]></category>
		<category><![CDATA[mmorpg]]></category>
		<category><![CDATA[multiplayer]]></category>
		<category><![CDATA[online]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[scripting]]></category>
		<category><![CDATA[sexy]]></category>
		<category><![CDATA[step by step]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[unity]]></category>
		<category><![CDATA[unity engine]]></category>
		<category><![CDATA[unity3d]]></category>
		<category><![CDATA[video game]]></category>
		<category><![CDATA[videogame]]></category>

		<guid isPermaLink="false">http://ghostmantis.com/?p=332</guid>
		<description><![CDATA[Ok, so I ended up tweaking and bug fixing this script a bit more, but I feel it is ready to post. Please keep in mind this isn&#8217;t thoroughly tested so there might still be bugs in it. How to use: First and foremost this script assumes that you have an empty gameobject in your scene named &#8220;_LightProbes&#8221;, and that&#160;<a href="https://ghostmantis.com/?p=332" class="read-more">Continue Reading</a>]]></description>
				<content:encoded><![CDATA[<p>Ok, so I ended up tweaking and bug fixing this script a bit more, but I feel it is ready to post. Please keep in mind this isn&#8217;t thoroughly tested so there might still be bugs in it.</p>
<p>How to use:</p>
<ol>
<li>First and foremost this script assumes that you have an empty gameobject in your scene named &#8220;_LightProbes&#8221;, and that it has a light probe group component attached to it. If you do not, then either make an empty game object called &#8220;_LightProbes&#8221; and attach a light probe component, or edit the script to point to your game object where your lightprobes are attached.</li>
<li>Save this code in a file called &#8220;CreateLightProbes.cs&#8221;. Place this file in your projects Editor folder. If you do not have one, create a folder called &#8220;Editor&#8221;. A &#8220;Custom&#8221; menu tab will appear at the top of Unity once you place this script in the Editor folder.</li>
<li>Select meshes that you would like light probes to appear on. In our setup we have flat ground planes, as this works the best. This will not work for caves or enclosed areas!</li>
<li>Make sure that the meshes have a collider attached to them. Mesh colliders work the best!</li>
<li>Set the spacing and secondary height values in the UI. The spacing is how far apart on the X and Z axis the probes will be. After it places a 2d grid of probes it will duplicate those and move them upwards to form a volume. The secondary spacing is how high up to move them.</li>
<li>Select the objects you want to generate light probes for and click <strong>Create Light Probes on Selected Objects</strong> and you&#8217;re done! Rebuild the probe lighting from the Lightmapping tab to see the new probes.</li>
</ol>
<p>Code:</p>
<pre class="brush: csharp; gutter: true">// --------------------------------------------------
// Copyright (C) 2013 Ghost Mantis Games LLC
// This software is provided &quot;as is&quot;, withouth warranty of any kind.
// This software is provided exclusively to you free of charge.
// Ghost Mantis Games LLC does not make and hereby disclaims any warranties
// of any kind. By using this software you agree to these terms.
// --------------------------------------------------

using UnityEngine;
using UnityEditor;
using System.Collections.Generic;

public class CreateLightProbes : EditorWindow {
	float Spacing = 2.0f;
	float SecondHeight = 4.0f;

	[MenuItem(&quot;Custom/Create Light Probes&quot;)]

	static void Init(){
		// Get existing open window or if none, make a new one:
		CreateLightProbes window = (CreateLightProbes)EditorWindow.GetWindow(typeof(CreateLightProbes), true, &quot;Create Light Probes&quot;);
		window.position = new Rect((Screen.width / 2) - 125, Screen.height / 2 + 85, 300, 80);
		window.Show();
	}

	void OnGUI(){
		GUILayout.Label (&quot;Creation:&quot;, EditorStyles.boldLabel);
		Spacing = EditorGUILayout.FloatField(&quot;Spacing:&quot;, Spacing);
		SecondHeight = EditorGUILayout.FloatField(&quot;Secondary Height:&quot;, SecondHeight);

		// Clamp values
		if(Spacing &lt; 0.1f) Spacing = 0.1f;
		if(SecondHeight &lt; 0.1f) SecondHeight = 0.1f;

		if(GUILayout.Button(&quot;Create Light Probes On Selected Objects&quot;)){
			Bounds();
		}
	}

	void Bounds(){
		// Get selection
		GameObject[] Select = Selection.gameObjects;
		if(Select.Length &lt; 1) return;

		// Get total bounds for selected objects
		float minX = 0.0f;
		float minY = 0.0f;
		float minZ = 0.0f;
		float maxX = 0.0f;
		float maxY = 0.0f;
		float maxZ = 0.0f;
		for(int i=0; i&lt;Select.Length; i++){
			// First check that mesh has a collider attached to it
			// if it doesn&#039;t then we can&#039;t raycast so we should ignore this object
			Collider col = Select[i].GetComponent();
			if(col == null) continue;

			// Get renderer component attached to object
			// If there is no renderer attached then we ignore this object
			Renderer renderer = Select[i].GetComponent();
			if(renderer == null) continue;

			// Get the renderer bounds
			Bounds bbox = renderer.bounds;

			// Update total bounds
			if(bbox.min.x &lt; minX) minX = bbox.min.x;
			if(bbox.min.y &lt; minY) minY = bbox.min.y;
			if(bbox.min.z &lt; minZ) minZ = bbox.min.z;
			if(bbox.max.x &gt; maxX) maxX = bbox.max.x;
			if(bbox.max.y &gt; maxY) maxY = bbox.max.y;
			if(bbox.max.z &gt; maxZ) maxZ = bbox.max.z;
		}

		// Now go through in a grid and attempt to place a light probe using raycasting
		float xCount = minX;
		float zCount = minZ;
		List VertPositions = new List();
		for(int z=0; z&lt;maxZ; z++){
			for(int x=0; x&lt;maxX; x++){
				// Raycast downwards through each selected object and
				// attempt to find one that we are over
				for(int j=0; j&lt;Select.Length; j++){
					Collider col = Select[j].GetComponent();

					RaycastHit hit;
					Ray ray = new Ray();
					ray.origin = new Vector3(xCount, maxY, zCount);
					ray.direction = -Vector3.up;
					if(col.Raycast(ray, out hit, (maxY-minY)*2)){
						VertPositions.Add(hit.point + new Vector3(0, 0.07f, 0));
						VertPositions.Add(hit.point + new Vector3(0, SecondHeight, 0));
					}
				}

				xCount += Spacing;
			}

			// Reset X Counter
			xCount = minX;

			zCount += Spacing;
		}

		// Check if we have any hits
		if(VertPositions.Count &lt; 1) return;

		// Get _LightProbes game object
		GameObject LightProbeGameObj = GameObject.Find(&quot;_LightProbes&quot;);
		if(LightProbeGameObj == null) return;

		// Get light probe group component
		LightProbeGroup LPGroup = LightProbeGameObj.GetComponent(&quot;LightProbeGroup&quot;) as LightProbeGroup;
		if(LPGroup == null) return;

		// Create lightprobe positions
		Vector3[] ProbePos = new Vector3[VertPositions.Count];
		for(int i=0; i&lt;VertPositions.Count; i++){
			ProbePos[i] = VertPositions[i];
		}

		// Set new light probes
		LPGroup.probePositions = ProbePos;

		Debug.Log(&quot;Finished Probe Calculations with: &quot; + ProbePos.Length + &quot;Probes.&quot;);
	}
}</pre>
]]></content:encoded>
			<wfw:commentRss>https://ghostmantis.com/?feed=rss2&#038;p=332</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>
