<?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>Brian Freisinger &#187; wpp</title>
	<atom:link href="http://www.disopolis.com/wordpress/tag/wpp/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.disopolis.com/wordpress</link>
	<description>VFX portfolio</description>
	<lastBuildDate>Sat, 13 Apr 2013 01:39:15 +0000</lastBuildDate>
	<language>en-US</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>xyzWPP pass tutorial</title>
		<link>http://www.disopolis.com/wordpress/2012/xyzwpp-pass-tutorial/</link>
		<comments>http://www.disopolis.com/wordpress/2012/xyzwpp-pass-tutorial/#comments</comments>
		<pubDate>Tue, 06 Nov 2012 01:41:34 +0000</pubDate>
		<dc:creator><![CDATA[faust]]></dc:creator>
				<category><![CDATA[CG]]></category>
		<category><![CDATA[Maya]]></category>
		<category><![CDATA[Nuke]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Vray]]></category>
		<category><![CDATA[vray wpp pass]]></category>
		<category><![CDATA[vrayRE_extra_tex]]></category>
		<category><![CDATA[world point position]]></category>
		<category><![CDATA[wpp]]></category>
		<category><![CDATA[xyz]]></category>
		<category><![CDATA[xyzWPP]]></category>

		<guid isPermaLink="false">http://www.disopolis.com/wordpress/?p=259</guid>
		<description><![CDATA[Setting up a xyzWPP pass in vray using the vrayRE_extra_tex   By Brian Freisinger November 5, 2012 (Reminder: Click on images to enlarge) A common request I get from compositors, is for an XYZ WPP pass in addition to my standard passes. The XYZ or World Point Position pass can be used in multiple ways, from [&#8230;]]]></description>
				<content:encoded><![CDATA[<h3 style="text-align: left;"><strong>Setting up a xyzWPP pass in vray using the vrayRE_extra_tex </strong></h3>
<p style="text-align: left;"><strong></strong><span style="color: #808080;"> <em>By Brian Freisinger</em></span></p>
<p style="text-align: left;"><span style="color: #808080;"><em></em><em>November 5, 2012</em></span></p>
<p style="text-align: left;">(Reminder: Click on images to enlarge)</p>
<p style="text-align: left;">A common request I get from compositors, is for an XYZ WPP pass in addition to my standard passes. The XYZ or World Point Position pass can be used in multiple ways, from doing some re-lighting in Nuke, to creating atmosphere (ground fog) and a variety of other uses.</p>
<p style="text-align: left;">The XYZ WPP pass doesn’t appear in the Render Elements tab, so you’ll have to create it using the <strong>vrayRE_Extra_Tex</strong></p>
<p><a href="http://www.disopolis.com/wordpress/wp-content/uploads/2012/11/figure1.png"><img class="size-medium wp-image-260" title="figure1" src="http://www.disopolis.com/wordpress/wp-content/uploads/2012/11/figure1-185x300.png" alt="" width="185" height="300" /></a></p>
<p>The vrayRE_Extra_Tex is a very powerful and often underused render element. You can plug almost anything into it to create a custom pass. For example, you can plug the VrayDirt shader into it and kick out basically an ambient occlusion pass. Again, that’s just one of many things that can be plugged into this node to get almost any pass or variant of pass out painlessly and easily.</p>
<p><a href="http://www.disopolis.com/wordpress/wp-content/uploads/2012/11/figure2.png"><img title="figure2" src="http://www.disopolis.com/wordpress/wp-content/uploads/2012/11/figure2-300x251.png" alt="" width="300" height="251" /></a></p>
<p>For this one I just created a vrayDirt shader in the hypershade and dragged and dropped it into the vray_ExtraTex “Texture” field. (Make sure you hit enter after doing this so it connects, otherwise you’ll be wondering why it doesn’t work)</p>
<p>&nbsp;</p>
<h3>Creating the xyzWPP pass</h3>
<p style="text-align: left;">The XYZ WPP pass takes a little more work, but isn’t difficult.<br />
I’m just going to set up some spheres in my scene in a loose array so we have multiple objects that exist in multiple xyz coordinate space to make our pass pretty obvious when we render it.</p>
<p><a href="http://www.disopolis.com/wordpress/wp-content/uploads/2012/11/figure3.png"><img title="figure3" src="http://www.disopolis.com/wordpress/wp-content/uploads/2012/11/figure3-300x181.png" alt="" width="300" height="181" /></a></p>
<p style="text-align: left;">Next I’m going to create my <strong>vrayRE_Extra_Tex pass</strong>.</p>
<p><a href="http://www.disopolis.com/wordpress/wp-content/uploads/2012/11/figure4.png"><img title="figure4" src="http://www.disopolis.com/wordpress/wp-content/uploads/2012/11/figure4-300x224.png" alt="" width="300" height="224" /></a></p>
<p style="text-align: left;">Make sure you open the vrayRE_Extra_Tex up in the attribute editor.<br />
You’ll see some empty fields.<br />
The first field we want to fill is the Vray Name Extratex, without a name in here it’ll be a blank field in the VFB, and hard to find as a comp pass later.<br />
So I’m just going to name mine xyzWPP</p>
<p><a href="http://www.disopolis.com/wordpress/wp-content/uploads/2012/11/figure5.jpg"><img title="figure5" src="http://www.disopolis.com/wordpress/wp-content/uploads/2012/11/figure5-185x300.jpg" alt="Figure 5. “Name your pass&quot;" width="185" height="300" /></a></p>
<p style="text-align: left;">Ok, so the xyzWPP pass has now been created, but the render element itself needs to get information, so we’ll create a samplerInfo node in the hypershade.</p>
<p><a href="http://www.disopolis.com/wordpress/wp-content/uploads/2012/11/figure6.png"><img title="figure6" src="http://www.disopolis.com/wordpress/wp-content/uploads/2012/11/figure6-283x300.png" alt="" width="283" height="300" /></a></p>
<p style="text-align: left;">So we’ve got our samplerInfo node and our xyxWPP pass created. Next we’ll need to get them to talk, so opening up the connection edtor, we want to load the samplerInfo node on the left and the vrayRE_Extra_Tex, on the right.</p>
<p><a href="http://www.disopolis.com/wordpress/wp-content/uploads/2012/11/figure7.png"><img title="figure7" src="http://www.disopolis.com/wordpress/wp-content/uploads/2012/11/figure7-300x279.png" alt="" width="300" height="279" /></a></p>
<p style="text-align: left;">You can see I’ve expanded the “pointWorld” field on the left, and the vray_texture_extraTex on the right.<br />
So now it’s a simple case of connecting pointWorldX to R, pointWorldY to G, and pointWorldZ to B</p>
<p style="text-align: left;">That’s it. You now have an xyzWPP pass created for your scene.</p>
<p style="text-align: left;">Rendering it can be a bit deceptive. It may not look like there is any gradient to your passes.<br />
The render will all channels on should look something like this</p>
<p><a href="http://www.disopolis.com/wordpress/wp-content/uploads/2012/11/figure-8.png"><img title="figure 8" src="http://www.disopolis.com/wordpress/wp-content/uploads/2012/11/figure-8-300x177.png" alt="" width="300" height="177" /></a></p>
<p style="text-align: left;">So I’ll load this pass into Nuke, add a shuffle and a grade and take a look at the “G” channel which is assigned to our Y</p>
<p><a href="http://www.disopolis.com/wordpress/wp-content/uploads/2012/11/figure9.png"><img title="figure9" src="http://www.disopolis.com/wordpress/wp-content/uploads/2012/11/figure9-300x170.png" alt="" width="300" height="170" /></a></p>
<p style="text-align: left;">I’ve added the grade so I could see a better representation of the gradient I would expect in this pass.</p>
<p style="text-align: left;">And that’s pretty much it. You can look at your X and Z channel and see how they look at this point.</p>
<p style="text-align: left;">For more info about using xyzWPP passes check out some of <a href="http://www.thefoundry.co.uk/">The Foundry’s</a> tutorials.<br />
<strong id="internal-source-marker_0.5798456333577633"><br />
</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.disopolis.com/wordpress/2012/xyzwpp-pass-tutorial/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
