<?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>Ayan Ray&#039;s Blog &#187; 3D</title>
	<atom:link href="http://blog.ayanray.com/category/3d/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.ayanray.com</link>
	<description>The life and times of Ayan Ray</description>
	<lastBuildDate>Sat, 14 Jan 2012 23:06:11 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>The Best Way to Render Wireframe in Maya</title>
		<link>http://blog.ayanray.com/2010/01/the-best-way-to-render-wireframe-in-maya/</link>
		<comments>http://blog.ayanray.com/2010/01/the-best-way-to-render-wireframe-in-maya/#comments</comments>
		<pubDate>Tue, 26 Jan 2010 02:28:56 +0000</pubDate>
		<dc:creator>Ayan</dc:creator>
				<category><![CDATA[3D]]></category>
		<category><![CDATA[Maya]]></category>

		<guid isPermaLink="false">http://blog.ayanray.com/?p=377</guid>
		<description><![CDATA[A quick google for render wireframe in Maya will get you some sound results. Unfortunately, I tried them and they didn&#8217;t consistently produce the results I needed. So here is the most consistent, and thus in my opinion best way &#8230; <a href="http://blog.ayanray.com/2010/01/the-best-way-to-render-wireframe-in-maya/">Continue reading <span class="meta-nav">&#8594;</span></a>


No related posts.]]></description>
			<content:encoded><![CDATA[<p>A quick google for render wireframe in Maya will get you some sound results. Unfortunately, I tried them and they didn&#8217;t consistently produce the results I needed. So here is the most consistent, and thus in my opinion best way to do wireframe in Maya.</p>
<h2>Method 1: &#8220;The Best Way&#8221; &#8211; Mental Ray Contours</h2>
<blockquote><p><strong>Why is it the best?</strong></p>
<p>It does not tessellate your objects. It can be applied to multiple objects without having to do new UV Snapshots. It can render in smooth shaded. It is quick and easy. And it uses the power of mental ray, and can look sweet if you do it right.</p>
<p><strong>Process</strong></p>
<ol>
<li>Assuming you have something to render, create a new material (can be anything that has a shader group &#8211; lambert, blinn, phong, etc.). In this example, I will be creating a lambert.</li>
<li>Call the new material WireFrameMTRL and the shading group WireFrameSG. Who doesn&#8217;t like being a little organized <img src='http://blog.ayanray.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  ?<br />
Note: If you clicked somewhere else and can&#8217;t get to the shading group easily, you can just go to the Hypershade and find the tab Shading Groups to find it.</li>
<li>Go to the newly created lambert&#8217;s shading group WireFrameSG.</li>
<li>Open the mental ray -&gt; Contours tab.<br />
Note: If it isn&#8217;t there, you need to enable mental ray in your plug-ins Manager. Mental ray is called &#8220;Mayatomr.dll&#8221; so find it and load it.</li>
<li>Click Enable Contour Rendering.</li>
<li>Set the color to something you&#8217;d like. I like white.</li>
<li>Set the width to something like 0.2 &#8211; 1.0. This setting is the absolute width of the wire frame lines. You can comeback and play with this later.</li>
<li>Apply the material to the object.</li>
<li>Open Render Settings</li>
<li>Select render using Mental Ray (if it&#8217;s not there, go see the note for #4).</li>
<li>Find the Contours Tab (it is under the features tab in 2009)</li>
<li>Select Enable Contour Rendering</li>
<li>Open the Draw By Property Difference Tab</li>
<li>Select Around All Poly Faces</li>
<li>Render!</li>
</ol>
<p>And that is the easiest and most consistent way to get wireframe without the flaws of the other methods.</p>
<p>Here&#8217;s a shot of the result from one of my recent projects (with render settings fine tuned):</p>
<figure id="attachment_379" aria-labelledby="figcaption_attachment_379" class="wp-caption aligncenter" style="width: 522px"><a href="http://blog.ayanray.com/wp-content/uploads/2010/01/atomicBoot_inVector.65.jpg"><img class="size-full wp-image-379  " title="Wireframe Render" src="http://blog.ayanray.com/wp-content/uploads/2010/01/atomicBoot_inVector.65.jpg" alt="" width="512" height="288" /></a><figcaption id="figcaption_attachment_379" class="wp-caption-text">Rendering Wireframe with Mental Ray</figcaption></figure></blockquote>
<h2>The Worse Ways</h2>
<p>For full disclosure, here are some other not so good ways to render wireframe.</p>
<h2>Method 2: UV Snapshot</h2>
<blockquote><p>I don&#8217;t feel like doing the process for this one. It is somewhat of a pain to explain without pictures and frankly I don&#8217;t want to take them since it isn&#8217;t a method I&#8217;d advise. So here is a pretty decent video that does: <a href="http://www.youtube.com/watch?v=ZUFAtkVJdpg&amp;NR=1">http://www.youtube.com/watch?v=ZUFAtkVJdpg&amp;NR=1</a></p></blockquote>
<h2>Method 3: Maya Vector</h2>
<blockquote><p>Rendering in Maya Vector is fairly painless to test. Unfortunately, Maya needs to tessellate all quads whose vertices do not fall on the same plane.  There is a way to find these planes if you have a few but in my case, almost all my quads are non-planar so there was no point trying to fix them.  So here we go on the process:</p>
<p><strong>Process</strong></p>
<ol>
<li>Assuming you have objects to render, open up your render settings dialog.</li>
<li>Render using Maya Vector.</li>
<li>Go to the Maya Vector settings.</li>
<li>You can select Fill objects if you&#8217;d like. It will fill the object with a color you can select through the settings or leave it fill-less. For the example below, I unchecked fill objects.</li>
<li>Un-check show back faces.</li>
<li>Select Include Edges in the Edge Options Tab</li>
<li>Choose an edge weight. I chose 0.5 for the example below.</li>
<li>Choose Entire Mesh for Edge Style.<br />
Note: Outlines gives you a pretty cool effect. So try that too <img src='http://blog.ayanray.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </li>
<li>Render!</li>
</ol>
<figure id="attachment_382" aria-labelledby="figcaption_attachment_382" class="wp-caption aligncenter" style="width: 522px"><a href="http://blog.ayanray.com/wp-content/uploads/2010/01/wireframe-render.jpg"><img class="size-full wp-image-382 " title="wireframe-render" src="http://blog.ayanray.com/wp-content/uploads/2010/01/wireframe-render.jpg" alt="" width="512" height="384" /></a><figcaption id="figcaption_attachment_382" class="wp-caption-text">Wireframe render using Maya Vector. Oh boy look at the tessellation.</figcaption></figure></blockquote>
<h2>Method 4: Hardware Buffer</h2>
<blockquote><p>Hardware buffer is another painless way to render out in wire frame. Unfortunately, it doesn&#8217;t look nearly as cool as the previous two images. Anyways, here&#8217;s the process:</p>
<p><strong>Process</strong></p>
<ol>
<li>Open up the Hardware Rendering Buffer from Window &gt; Rendering Editors.</li>
<li>In the Hardware Rendering Buffer, open Render &gt; Attributes.</li>
<li>In the Attribute Editor, change the Rendering Mode &gt; Draw Style to Wireframe.</li>
<li>Render!</li>
</ol>
<p>This one looked terrible so I didn&#8217;t capture an image of it. I couldn&#8217;t figure out how to do back-face culling so this quickly became the worst of the techniques.</p></blockquote>
<h2>Method 5: Toon Shader</h2>
<blockquote><p>The second best method to render wireframes in maya is to use the toon shader. I personally like the mental ray method better for the control and power of mental ray but this one seems just as good for simplicity&#8217;s sake.</p>
<p><a href="http://www.artbycrunk.com/blog/2008/09/rendering-wireframe-using-toonshader/">http://www.artbycrunk.com/blog/2008/09/rendering-wireframe-using-toonshader/</a></p></blockquote>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://blog.ayanray.com/2010/01/the-best-way-to-render-wireframe-in-maya/feed/</wfw:commentRss>
		<slash:comments>34</slash:comments>
		</item>
		<item>
		<title>Japanese Visemes and Phonemes</title>
		<link>http://blog.ayanray.com/2010/01/japanese-visemes-and-phonemes/</link>
		<comments>http://blog.ayanray.com/2010/01/japanese-visemes-and-phonemes/#comments</comments>
		<pubDate>Wed, 20 Jan 2010 12:27:00 +0000</pubDate>
		<dc:creator>Ayan</dc:creator>
				<category><![CDATA[3D]]></category>

		<guid isPermaLink="false">http://blog.ayanray.com/?p=371</guid>
		<description><![CDATA[I&#8217;m currently working on an interesting project that involves Japanese speech lip-syncing of a 3D character. Since it was difficult to find resources on this from an English speaker, I decided to write on it. Firstly, visemes are the unique &#8230; <a href="http://blog.ayanray.com/2010/01/japanese-visemes-and-phonemes/">Continue reading <span class="meta-nav">&#8594;</span></a>


Related posts:<ol><li><a href='http://blog.ayanray.com/2007/11/japan-japanese-version-of-punkd/' rel='bookmark' title='Permanent Link: Japan: Japanese Version of Punk&#8217;d'>Japan: Japanese Version of Punk&#8217;d</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m currently working on an interesting project that involves Japanese speech lip-syncing of a 3D character. Since it was difficult to find resources on this from an English speaker, I decided to write on it.</p>
<p>Firstly, visemes are the unique facial positions required to produce phonemes, which are basic sounds from a particular language. Each language has multiple phonemes and visemes and each viseme can have multiple phonemes. In the English language, there are about 10 basic phonemes (a-i, e, o, u, c-d-g-k-n-r-s-y-z, f-v,th,l,m-b-p,w-oo-q) with one viseme each totaling 10 visemes.</p>
<p>When I first began looking into Japanese visemes and had luck finding resources, I decided to try to develop my own solution with my understanding of the language. In my view, the Japanese language is composed of some very basic sounds that are construed to make more sounds. Although the phonemes begin to add up, the actual visemes are almost exact. Combinations like じゃ(jya) can be formed accurately by combining their similar visemes  い (i) and あ (a). The following diagram depicts the 5 visemes:</p>
<figure id="attachment_374" aria-labelledby="figcaption_attachment_374" class="wp-caption aligncenter" style="width: 510px"><a href="http://blog.ayanray.com/wp-content/uploads/2010/01/japvisemes1.png"><img class="size-full wp-image-374" title="Japanese Visemes-" src="http://blog.ayanray.com/wp-content/uploads/2010/01/japvisemes1.png" alt="" width="500" height="452" /></a><figcaption id="figcaption_attachment_374" class="wp-caption-text">Yours truly making visemes for animation</figcaption></figure>
<p>Again, I believe that with these 5 basic visemes, it will allow you to construct every mouth pose required for Japanese speech. Unfortunately, the character I am using lip-syncing for will most likely never have a tongue. This is important because, in Japanese speech,  the tongue is used more often than other languages (I&#8217;m thinking of English, but similar Latin-based languages fall in that category) and requires less movement of the lips to make the language&#8217;s basic phonemes.</p>
<p>Finally, near the end of my researching for this particular topic, I found this webpage that explains everything I just did and more: <a href="http://www.ordix.com/pfolio/research/">http://www.ordix.com/pfolio/research/</a></p>
<p>I don&#8217;t particular like the visemes for the first two sounds as the character&#8217;s teeth stick out far too much for my liking. It is entirely possible that the character is making the correct sound, but when I try the phoneme in her pose, it feels quite strange.</p>


<p>Related posts:<ol><li><a href='http://blog.ayanray.com/2007/11/japan-japanese-version-of-punkd/' rel='bookmark' title='Permanent Link: Japan: Japanese Version of Punk&#8217;d'>Japan: Japanese Version of Punk&#8217;d</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.ayanray.com/2010/01/japanese-visemes-and-phonemes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

