<?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>Cart CGD &#187; programming</title>
	<atom:link href="http://cartcgd.org/blog/category/programming/feed/" rel="self" type="application/rss+xml" />
	<link>http://cartcgd.org/blog</link>
	<description>We&#039;re about making games and art.</description>
	<lastBuildDate>Thu, 22 Sep 2011 17:37:38 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>the maps, they bump</title>
		<link>http://cartcgd.org/blog/2009/08/22/the-maps-they-bump/</link>
		<comments>http://cartcgd.org/blog/2009/08/22/the-maps-they-bump/#comments</comments>
		<pubDate>Sat, 22 Aug 2009 19:51:49 +0000</pubDate>
		<dc:creator>ramy</dc:creator>
				<category><![CDATA[3d]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://cartcgd.org/blog/?p=136</guid>
		<description><![CDATA[hey, thought i would share a bump map screenshot.

]]></description>
			<content:encoded><![CDATA[<p>hey, thought i would share a bump map screenshot.</p>
<p style="text-align: center;"><a href="http://cartcgd.org/blog/wp-content/uploads/2009/08/screenshot1.jpg"><img class="aligncenter size-medium wp-image-137" title="coffee machine bump" src="http://cartcgd.org/blog/wp-content/uploads/2009/08/screenshot1-300x226.jpg" alt="coffee machine bump" width="300" height="226" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://cartcgd.org/blog/2009/08/22/the-maps-they-bump/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Normal Maps!</title>
		<link>http://cartcgd.org/blog/2009/06/22/normal-maps/</link>
		<comments>http://cartcgd.org/blog/2009/06/22/normal-maps/#comments</comments>
		<pubDate>Mon, 22 Jun 2009 07:01:43 +0000</pubDate>
		<dc:creator>Mohannad</dc:creator>
				<category><![CDATA[3d]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://cartcgd.org/blog/?p=96</guid>
		<description><![CDATA[here is the quick test/example I made
http://psycho-designs.com/cgd/normalTest.zip
[13MB-ish]
it includes a low res .obj, a normal map .tif and an occlusion map .tif [that could be applied as a diffuse map for now to enhance the details]
Here is a preview of the Normal map effect

There are so many different ways to create normal maps, each with their [...]]]></description>
			<content:encoded><![CDATA[<p>here is the quick test/example I made</p>
<p><!-- m --><a href="http://psycho-designs.com/cgd/normalTest.zip">http://psycho-designs.com/cgd/normalTest.zip</a></p>
<p><!-- m -->[13MB-ish]<br />
it includes a low res .obj, a normal map .tif and an occlusion map .tif [that could be applied as a diffuse map for now to enhance the details]</p>
<p>Here is a preview of the Normal map effect</p>
<p><img src="http://psycho-designs.com/cgd/prev.jpg" alt="Image" /></p>
<p>There are so many different ways to create normal maps, each with their pros and cons.. most of which involve modeling a high resolution model to translate the details of which into the normal map that will make the low res look like the high [example above]<br />
here are the techniques I used in the past and what I think about them:</p>
<p>-ZBrush:<br />
Pros:</p>
<ul>
<li>can handle millions of polygons which allows for extreme details [wrinkles!]</li>
<li>you can go up and down in subdivision levels so you can work at any resolution, then go down to the base mesh, export it and generate the normal map for it</li>
<li>gives so many options for the creation of normal maps [like the pre-sharpening details and precise RGB control]</li>
<li>can generate cavity maps</li>
<li>you can use bump maps to sculpt the details that will later be included in the normal map</li>
</ul>
<p>Cons:</p>
<ul>
<li>not ideal for hard surface models [weapons, cars]</li>
<li>its very tricky to generate normal maps out of multiple high res meshes for one low res mesh [like the example above, the little straps are gray because they are separate meshes [subtools] they couldn&#8217;t have been included in the normal map if it was generated within ZBrush, which is needed to have a truely low res model] <span style="color: #858585;">&lt;-[I'm not sure if that makes sense, let me know if it doesn't]</span></li>
<li>can&#8217;t change the vertex count [extruding faces, splitting edges, deleting vertexes] of the the model</li>
</ul>
<p>-Maya [and presumably Max]:<br />
Pros:</p>
<ul>
<li>You can have all modeling tools Maya offers to create your high res model. Which means its good for hard surface models</li>
<li>Can generate other maps like occlusion and displacement maps [displacement maps don't work in games but they are useful to enhance the details of the textures]</li>
</ul>
<p>Cons:</p>
<ul>
<li>Can&#8217;t handle high res meshes from ZBrush [1 million and above] no matter how much ram you throw at it [learned that the hard way]</li>
<li>Clunky controls/interface for generating [baking] the maps.</li>
<li>Can be unstable at times [Save!]</li>
</ul>
<p>-XNormal: [me preferred choice! and what was used for the example above]<br />
Its a free program for windows that can be downloaded here: <a href="http://www.xnormal.net/Downloads.aspx">http://www.xnormal.net/Downloads.aspx</a><br />
Pros:</p>
<ul>
<li>Generates beautiful Normal maps, better looking than the techniques above.</li>
<li>Its Free! and easy to use [video tutorials are available on the site]</li>
<li>Can handle the heavy meshes of ZBrush.</li>
<li>You can import multiple high res meshes to generate a normal map for one or more low res meshes. which means you can have the organic high res character mesh from ZBrush and the hard surface armor and straps from Maya and generate one normal map that includes all of the meshes.</li>
<li>Generates countless maps that include: occlusion, cavity, thickness, hight, complexity, and convexity map [no idea WTF that is]</li>
</ul>
<p>Cons:</p>
<ul>
<li>its for windows only as far as I know</li>
<li>nothing yet [this is only my second time using it, I'll be updating this list once I find other cons]</li>
</ul>
<p>Nvidia&#8217;s Photoshop plugin:<br />
this is whats mentioned in the link posted by Ramy. its a plugin that generates normal maps out of gray scale bump maps.<br />
Pros:</p>
<ul>
<li>Useful for details that are easier to paint as texture than model [like hair and text]</li>
<li>its free!</li>
<li>can be easy to use if there is not much tweaking needed</li>
</ul>
<p>Cons:</p>
<ul>
<li>hard to control or predict the results [complicated interface]</li>
<li>painting details in 2D is very limited compared to actually modeling/sculpting those details in 3D</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://cartcgd.org/blog/2009/06/22/normal-maps/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Compiling Hydrax 0.5</title>
		<link>http://cartcgd.org/blog/2009/05/29/compiling-hydrax-05/</link>
		<comments>http://cartcgd.org/blog/2009/05/29/compiling-hydrax-05/#comments</comments>
		<pubDate>Fri, 29 May 2009 14:25:15 +0000</pubDate>
		<dc:creator>carignan.boy</dc:creator>
				<category><![CDATA[programming]]></category>
		<category><![CDATA[Hydrax]]></category>
		<category><![CDATA[OGRE]]></category>

		<guid isPermaLink="false">http://cartcgd.org/blog/?p=14</guid>
		<description><![CDATA[Here are some instructions on how to get the libHydrax.so to compile on your system. These instructions work for Ubuntu Linux and the Code::Blocks IDE.]]></description>
			<content:encoded><![CDATA[<p>Here are some instructions on how to get the libHydrax.so to compile on your system. These instructions work for Ubuntu Linux and the Code::Blocks IDE.</p>
<p>start by getting the rar here :</p>
<p>wget http://modclub.rigsofrods.com/xavi/Hydrax-v0.5.rar</p>
<pre>extracted Hydrax-v0.5.rar
open Hydrax/Hydrax.cbp

in projects-&gt;build options
	in Hydrax, compiler settings&gt;other options
	remove -mthreads

	in Hydrax, compiler settings&gt;#defines
	remove WIN32 and _WINDOWS

in projects-&gt;properties
	in the libraries tab
	add OGRE

added file Hydrax.cpp and removed hydrax.cpp from the project
removed Structs.cpp

removed this from linker settings:
-Wl,--enable-runtime-pseudo-reloc
-Wl,--enable-auto-image-base
-Wl,--add-stdcall-alias

apply fix from here
http://www.ogre3d.org/forums/viewtopic.php?p=284091&amp;sid=ce193664e1d3d7c4af509e6f4e2718c6
it's the one where you change things from 1d to 2d etc.

build
compile
copy hydrax.so that was created from
<strong>/wherever/Hydrax-v0.5/Hydrax/bin/Release</strong> into
<strong>/usr/local/lib/</strong> as
<strong>libHydrax.so</strong></pre>
<p>This should score you the library.</p>
<p>More to come on how to get the demo rolling.</p>
]]></content:encoded>
			<wfw:commentRss>http://cartcgd.org/blog/2009/05/29/compiling-hydrax-05/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
