Texture Synthesis / Targeting

moultanomoultano Creator of ns_shiva. Join Date: 2002-12-14 Member: 10806Members, NS1 Playtester, Contributor, Constellation, NS2 Playtester, Squad Five Blue, Reinforced - Shadow, WC 2013 - Gold, NS2 Community Developer, Pistachionauts
<div class="IPBDescription">A new tool I've written.</div>Hey folks.
For the last week or two I've been working on a tool to attempt to automate some of the texture creation process for NS2, or games in general. The idea is a modified form of algorithms from <a href="http://graphics.cs.cmu.edu/people/efros/research/EfrosLeung.html" target="_blank">Efros and Leung</a>. Essentially, the tool looks at a target image and tries to find bits of a source image to match it. It then fills in the image this way synthesizing a new texture. You can also tell it to ignore the contents of the target image and have it synthesize a new texture from scratch.

Possible uses:<ul><li><b>Making a new texture from scratch:</b> Pick a texture you like, and set that as the source. Then make an image the size of your desired image, set it as the target and set <b>a</b> to 0 so that it ignores the contents.</li><li><b>Sketching a texture and then filling in the details:</b> Set a completed texture as the source and your sketch as the target. I haven't gotten this to work very well yet, so if you get good results let me know how! <img src="style_emoticons/<#EMO_DIR#>/smile-fix.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile-fix.gif" /></li><li><b>Filling in normal/specularity channels:</b> Set a completed texture with normals and specularity as the source, and a completed texture with just the albedo as the target. I haven't tried this at all yet, but I wouldn't expect it to work well unless the target and source texture have all the same elements.</li></ul>Here are the <a href="http://code.google.com/p/texture-targeter/wiki/Instructions" target="_blank">detailed instructions</a> and the <a href="http://code.google.com/p/texture-targeter/downloads/list" target="_blank">download</a>.

Play around! Show me what you make! <img src="style_emoticons/<#EMO_DIR#>/smile-fix.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile-fix.gif" />

Comments

  • KungFuDiscoMonkeyKungFuDiscoMonkey Creator of ns_altair 日本福岡県 Join Date: 2003-03-15 Member: 14555Members, NS1 Playtester, Reinforced - Onos
    Same post in 3 forums. Silly moultano ^_^.

    I'm going to go ahead and lock this one and point to the one with more discussion.

    <a href="http://www.unknownworlds.com/forums/index.php?showtopic=105688" target="_blank">http://www.unknownworlds.com/forums/index....howtopic=105688</a>
This discussion has been closed.