<?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>mayzie &#187; Render Tests</title>
	<atom:link href="http://www.mayzie.net/category/render-tests/feed" rel="self" type="application/rss+xml" />
	<link>http://www.mayzie.net</link>
	<description>Techniques and workflows for computer graphics, heavily leaning towards V-Ray and Maya</description>
	<lastBuildDate>Tue, 13 Dec 2011 12:10:27 +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>Scaling V-Ray lights</title>
		<link>http://www.mayzie.net/maya-tips/scaling-v-ray-lights</link>
		<comments>http://www.mayzie.net/maya-tips/scaling-v-ray-lights#comments</comments>
		<pubDate>Tue, 14 Sep 2010 12:42:24 +0000</pubDate>
		<dc:creator>Mayzie</dc:creator>
				<category><![CDATA[Maya Tips]]></category>
		<category><![CDATA[Render Tests]]></category>
		<category><![CDATA[scaling]]></category>
		<category><![CDATA[v-ray lights]]></category>

		<guid isPermaLink="false">http://www.mayzie.net/?p=2047</guid>
		<description><![CDATA[There are a few methods to scale lights in Maya. Using the scale tool will do fine with the Maya Software renderer and even some cases with mental ray lights, however it is not necessarily the same case with V-Ray. Under most V-Ray lights there is a U and V parameter present. Using these values [...]]]></description>
			<content:encoded><![CDATA[<p>There are a few methods to scale lights in Maya. Using the scale tool will do fine with the Maya Software renderer and even some cases with mental ray lights, however it is not necessarily the same case with V-Ray.</p>
<p>Under most V-Ray lights there is a U and V parameter present. Using these values to adjust the size of your light instead of just scaling will produce more accurate results and correct output values and not to mention faster render times.</p>
<h1>Incorrect Scaling Causes Noise</h1>
<p>The following renders are done with low anti-aliasing in order to show the difference between scaling your light with the scale tool (or via the attribute editor) and adjusting UV parameters.</p>
<p>Using physically correct scene with a basic sun + sky setup, I have cut a window behind the camera. To this window I have added a V-Ray Rectangle Light (V_Ray_Rect_Light) and scaled it using the scale tool to cover the window.</p>
<div id="attachment_2049" class="wp-caption alignnone" style="width: 480px"><a href="http://www.mayzie.net/wp-content/uploads/2010/09/scaledIncorrect.jpg"><img class="size-large wp-image-2049 " title="Incorrect scaling" src="http://www.mayzie.net/wp-content/uploads/2010/09/scaledIncorrect-470x259.jpg" alt="" width="470" height="259" /></a><p class="wp-caption-text">The portal light that has been scaled using the transform properties and produces quite a bit of noise</p></div>
<p>As you can see it is very noisy. Not exactly a good clean render! Now lets compare it to the exact same light that has been scaled with the UV parameters instead.</p>
<div id="attachment_2050" class="wp-caption alignnone" style="width: 480px"><a href="http://www.mayzie.net/wp-content/uploads/2010/09/scaledCorrectly.jpg"><img class="size-large wp-image-2050 " title="Correct scaling" src="http://www.mayzie.net/wp-content/uploads/2010/09/scaledCorrectly-470x259.jpg" alt="" width="470" height="259" /></a><p class="wp-caption-text">As you can see it is still noisy for the sake of the expirement but notice that the shadows are much cleaner on the back wall compared to the other image?</p></div>
<p>It is not even necessary to compare these images side by side as there is such a big difference. This should also apply to sky portal lights that have &#8220;Store with Irradiance Map&#8221; checked.</p>
<p>Also, notice the render times are much faster by using the UV method of scaling lights? Even in our dirty scene there is a 9 second difference, which could turn into hours of render-time saved with bigger projects and animations.</p>
<h1>Incorrect Scaling Also Causes Incorrect Intensity</h1>
<p>Although a little more obvious, another thing to remember is that the light&#8217;s intensities are also affected by the way the lights are scaled.</p>
<p>To our same scene I have added a basic 2450 lumen light above the statue. The light is 200cm x 20cm and is scaled to this dimension using the scale tool.</p>
<div id="attachment_2054" class="wp-caption alignnone" style="width: 480px"><a href="http://www.mayzie.net/wp-content/uploads/2010/09/nuked.jpg"><img class="size-large wp-image-2054" title="nuked" src="http://www.mayzie.net/wp-content/uploads/2010/09/nuked-470x263.jpg" alt="" width="470" height="263" /></a><p class="wp-caption-text">This is not really working! </p></div>
<p>With a camera of F22, Shutter Speed of 6 seconds, ISO 100 &#8211; there is way too much light being emitted!</p>
<p>This is because the scale of the light&#8217;s transform node is affecting the size and intensity of the light, whereas the UV parameter of the light is only affecting the surface area and not the intensity of the light itself.</p>
<p>Below, the UV parameters have been used to set the light to be the same size of 200cmx 20cm. We now have a much more respectable result.</p>
<div id="attachment_2062" class="wp-caption alignnone" style="width: 480px"><a href="http://www.mayzie.net/wp-content/uploads/2010/09/cleaner.jpg"><img class="size-large wp-image-2062" title="cleaner" src="http://www.mayzie.net/wp-content/uploads/2010/09/cleaner-470x263.jpg" alt="" width="470" height="263" /></a><p class="wp-caption-text">The area light on the ceiling can now be considered physically correct since it has been scaled using the U and V parameters</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.mayzie.net/maya-tips/scaling-v-ray-lights/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Leaf Tests With mental ray</title>
		<link>http://www.mayzie.net/maya-tips/leaf-tests-with-mental-ray</link>
		<comments>http://www.mayzie.net/maya-tips/leaf-tests-with-mental-ray#comments</comments>
		<pubDate>Sun, 26 Jul 2009 23:43:33 +0000</pubDate>
		<dc:creator>Mayzie</dc:creator>
				<category><![CDATA[Maya Tips]]></category>
		<category><![CDATA[Render Tests]]></category>
		<category><![CDATA[foliage]]></category>
		<category><![CDATA[mental ray]]></category>

		<guid isPermaLink="false">http://mayzie.net/?p=1137</guid>
		<description><![CDATA[Trees. ugh. Anyway, I&#8217;m trying to find a nice setting for the mia_material_x mats for foliage/leaves in mental ray. It&#8217;s quite difficult to find settings that look good through various lighting conditions. This is looking OK, but there are three key ingredients to get really nice looking leaves. Decent diffuse texture Appropriate amount of reflection/gloss [...]]]></description>
			<content:encoded><![CDATA[<p>Trees. ugh.</p>
<p>Anyway, I&#8217;m trying to find a nice setting for the mia_material_x mats for foliage/leaves in mental ray. It&#8217;s quite difficult to find settings that look good through various lighting conditions.</p>
<table style="width: 470px;" border="0">
<tbody>
<tr>
<td>
<p><div id="attachment_1153" class="wp-caption alignnone" style="width: 245px"><a href="http://mayzie.net/wp-content/uploads/2009/07/test_borderless.jpg" onclick="pageTracker._trackPageview('/outgoing/mayzie.net/wp-content/uploads/2009/07/test_borderless.jpg?referer=');"><img class="size-medium wp-image-1153" title="test_borderless" src="http://mayzie.net/wp-content/uploads/2009/07/test_borderless-334x470.jpg" alt="" width="235" height="329" /></a><p class="wp-caption-text">Sunny day</p></div></td>
<td>
<p><div id="attachment_1152" class="wp-caption alignnone" style="width: 245px"><a href="http://mayzie.net/wp-content/uploads/2009/07/testhaze_borderless.jpg" onclick="pageTracker._trackPageview('/outgoing/mayzie.net/wp-content/uploads/2009/07/testhaze_borderless.jpg?referer=');"><img class="size-medium wp-image-1152" title="testhaze_borderless" src="http://mayzie.net/wp-content/uploads/2009/07/testhaze_borderless-334x470.jpg" alt="" width="235" height="330" /></a><p class="wp-caption-text">Under a pale grey sky</p></div></td>
</tr>
</tbody>
</table>
<p>This is looking OK, but there are three key ingredients to get <em>really</em> nice looking leaves.</p>
<ul>
<li>Decent diffuse texture</li>
<li>Appropriate amount of reflection/gloss<br />
(obviously heavily depends on which species you are trying to create)</li>
<li>Decent translucency texture</li>
</ul>
<p>For mental ray specifically:</p>
<ul>
<li>Translucency value must to be always at 1</li>
<li>Transparency colour must be set to pure white (1.0, 1.0, 1.0)</li>
</ul>
<div><a href="http://sor.typepad.com/" onclick="pageTracker._trackPageview('/outgoing/sor.typepad.com/?referer=');">Roy Achkar </a>has posted a nice overview of his set-up in Maya and some example images of how the above settings are key for achieving a decent leaf shader.</div>
<div class="wp-caption alignnone" style="width: 480px"><a href="../wp-content/uploads/2010/01/6a00d8350600cb53ef0120a565a93e970b.jpg"><img title="6a00d8350600cb53ef0120a565a93e970b" src="../wp-content/uploads/2010/01/6a00d8350600cb53ef0120a565a93e970b-470x437.jpg" alt="" width="470" height="437" /></a><p class="wp-caption-text">Image sourced from http://sor.typepad.com/</p></div>
<p>Once you have this basic it&#8217;s just a matter of tweaking the gloss and reflectivity settings until you have a nice look for your scene.</p>
<p>Unfortunately I have not found a &#8220;universal-looks-sweet-on-every-scene&#8221; setting yet&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mayzie.net/maya-tips/leaf-tests-with-mental-ray/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

