<?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/"
	xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
	xmlns:dtvmedia="http://participatoryculture.org/RSSModules/dtv/1.0"
	xmlns:media="http://search.yahoo.com/mrss/"
>

<channel>
	<title>the funklab &#187; technical</title>
	<atom:link href="http://thefunklab.net/blog/category/technical/feed/" rel="self" type="application/rss+xml" />
	<link>http://thefunklab.net/blog</link>
	<description>making videos with simon mcrae</description>
	<lastBuildDate>Wed, 09 Feb 2011 23:59:29 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<!-- podcast_generator="podPress/8.5" -->
		<copyright>&#xA9; </copyright>
		<managingEditor>simon@thefunklab.net ()</managingEditor>
		<webMaster>simon@thefunklab.net</webMaster>
		<category></category>
		<itunes:keywords></itunes:keywords>
		<itunes:subtitle></itunes:subtitle>
		<itunes:summary>making videos with simon mcrae</itunes:summary>
		<itunes:author></itunes:author>
		<itunes:category text="Society &amp; Culture"/>
		<itunes:owner>
			<itunes:name></itunes:name>
			<itunes:email>simon@thefunklab.net</itunes:email>
		</itunes:owner>
		<itunes:block>No</itunes:block>
		<itunes:explicit>no</itunes:explicit>
		<itunes:image href="http://thefunklab.net/blog/wp-content/plugins/podpress/images/powered_by_podpress_large.jpg" />
		<image>
			<url>http://thefunklab.net/blog/wp-content/plugins/podpress/images/powered_by_podpress.jpg</url>
			<title>the funklab</title>
			<link>http://thefunklab.net/blog</link>
			<width>144</width>
			<height>144</height>
		</image>
		<item>
		<title>Proeye showreel</title>
		<link>http://thefunklab.net/blog/2008/proeye-showreel/</link>
		<comments>http://thefunklab.net/blog/2008/proeye-showreel/#comments</comments>
		<pubDate>Wed, 09 Jan 2008 11:36:00 +0000</pubDate>
		<dc:creator>simon mcrae</dc:creator>
				<category><![CDATA[final cut]]></category>
		<category><![CDATA[production]]></category>
		<category><![CDATA[technical]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://thefunklab.net/blog/2008/proeye-showreel/</guid>
		<description><![CDATA[Here is the new showreel I worked on for Proeye Visual Productions. Proeye Showreel Details on apps and other stuff in the link]]></description>
			<content:encoded><![CDATA[	<p>Here is the new showreel I worked on for Proeye Visual Productions.</p>

	<p><a href="http://www.proeye.tv/blog/index.php/2008/01/new-year-new-showreel/">Proeye Showreel</a></p>

	<p>Details on apps and other stuff in the link</p>

 ]]></content:encoded>
			<wfw:commentRss>http://thefunklab.net/blog/2008/proeye-showreel/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>On training</title>
		<link>http://thefunklab.net/blog/2007/on-training/</link>
		<comments>http://thefunklab.net/blog/2007/on-training/#comments</comments>
		<pubDate>Tue, 18 Dec 2007 14:29:02 +0000</pubDate>
		<dc:creator>simon mcrae</dc:creator>
				<category><![CDATA[technical]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://thefunklab.net/blog/2007/on-training/</guid>
		<description><![CDATA[Now. I&#8217;m going to be the first to say that in the media industry, having a degree or a diploma pretty much means squat. Zilch. Nothing. What talks is your work, if you can work to a brief, on budget and on time. But having training does teach you the necessary steps to achieve to [...]]]></description>
			<content:encoded><![CDATA[	<p>Now. I&#8217;m going to be the first to say that in the media industry, having a degree or a diploma pretty much means squat. Zilch. Nothing. What talks is your work, if you can work to a brief, on budget and on time. But having training does teach you the necessary steps to achieve to become faster and more reliable.</p>

	<p>Being a self-learner is vital to working in production. No one is going to ask you to take a course in visual effects, match moving, or anything. It normally lands in you lap as &#8220;Yeah, we want a new promo for Company X. It has to look like the ID&#8217;s on Foxtel. You&#8217;ve got 2 weeks&#8221;. Then it&#8217;s up to you to make it happen.</p>

	<p>There are several places to get a bit of a helping hand. Here are a few that I&#8217;ve come across.</p>

	<p><h5>Full on 2+ year <span class="caps">TAFE</span></h5></p>

	<p>A few years ago I went <a href="http://www.nmit.vic.edu.au">Northern Metropolitan Institue of <span class="caps">TAFE </span>(NMIT)</a> and attended their <a href="http://www.nmit.vic.edu.au/courses/tv/default.html">TV training course</a>.</p>

	<p>It was a great course and definitely one I would wholeheartedly recommend. The facilities are amazing (full 4 camera HD studio, 4 Final Cut suites, 3 Avid suites, real kick ass). The course is heavily hands on. You work in teams and in the second year, all we did was produce content for external clients. The teachers there are fantastic, and soon you begin to think of them as mentors. I still catch up with them and talk through things.</p>

	<p>It is great for those starting out, or who are running a smallish business and want the opportunity to get up to speed on a HD setup.</p>

	<p><h5>the Pixel Corps</h5></p>

	<p><a href="http://www.pixelcorps.com/">The Pixel Corps</a> are a guild of media developers producing a heap of content. Being a member gives you access to a wealth of information in a great community. The guys (and girls) are all willing to share information, and having the opportunity to work on a group project or tackle an exercise is invaluable.</p>

	<p>The video training is fantastic. There is much more than can be absorbed in a year, and you get access to some pretty awesome industry standard software packages.</p>

	<p><h5>Libraries and Text books</h5></p>

	<p>Textbooks are always tricky, especially in anything tech related. As soon as the book is out, it seems that the new version of the software is out. However, there are some great books detailing the theories and processes behind the applications. A couple I can recommend are the <a href="http://rebelsguide.com/DV%20Rebel%27s%20Guide/The%20DV%20Rebel%27s%20Guide.html"><span class="caps">DV </span>Rebel&#8217;s Guide</a>, <a href="http://books.google.com/books?id=IpSRykrRamgC&#38;dq=Compositing+for+film+and+video&#38;ots=psnVNQBKzH&#38;sig=NkE7MW2l7wQzRABHQ5_CeKAXcm8&#38;prev=http://www.google.com/search?q=Compositing+for+film+and+video&#38;ie=utf-8&#38;oe=utf-8&#38;rls=org.mozilla:en-US:official&#38;client=firefox-a&#38;sa=X&#38;oi=print&#38;ct=title&#38;cad=one-book-with-thumbnail&#38;hl=en">Digital Compositing for Film and Video</a> and a bit more app specific, but a great help was <a href="http://www.blender3d.org/e-shop/product_info.php?products_id=96">the Essential Blender</a></p>

	<p>Using a library is a great way to get access to some pretty hefty textbooks. If you can&#8217;t find what you need there, normally you can ask and they&#8217;ll either get it from another library, or order it in. It&#8217;s you&#8217;re rates and taxes, so it&#8217;s worth making the most of it.</p>


	<p><h5>Community forums</h5></p>

	<p>Every software package has at least one forum dedicated to it. <a href="http://forums.creativecow.net/">Creative Cow</a> is a great place to start. They have a forum for everything I&#8217;ve ever used, and really helpful. There are the <a href="http://discussions.apple.com/category.jspa?categoryID=206">Apple forums</a>, the <a href="http://blenderartists.org/forum/">Blender Artists</a> and a host of others. Always search before asking a question, and try not to be an ass, cause then no one will help you.</p>

	<p><h5>Google the sucka</h5></p>

	<p>Yes. Do not underestimate <a href="http://google.com">Google</a> when you&#8217;re stuck. I&#8217;ve found thousands of answers to my questions just by Googleing around. Most of the time you just need to put the right keywords in. Try the program, then a couple of words describing what you&#8217;re trying to do.<br />
Like &#8220;shake track improve interlaced&#8221;. Refine it a few times, and drill a couple of pages down.</p>


 ]]></content:encoded>
			<wfw:commentRss>http://thefunklab.net/blog/2007/on-training/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>www.proeye.tv blog</title>
		<link>http://thefunklab.net/blog/2007/wwwproeyetv-blog/</link>
		<comments>http://thefunklab.net/blog/2007/wwwproeyetv-blog/#comments</comments>
		<pubDate>Wed, 17 Oct 2007 13:31:38 +0000</pubDate>
		<dc:creator>simon mcrae</dc:creator>
				<category><![CDATA[everything]]></category>
		<category><![CDATA[production]]></category>
		<category><![CDATA[technical]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://thefunklab.net/blog/2007/wwwproeyetv-blog/</guid>
		<description><![CDATA[We&#8217;ve just started a blog at Proeye. We&#8217;ll go into stuff that we&#8217;ve been doing, showcase some of the clients we work with. Keep your eye on it for cool stuff. www.proeye.tv/blog]]></description>
			<content:encoded><![CDATA[	<p>We&#8217;ve just started a <a href="http://www.proeye.tv/blog">blog at Proeye.</a> We&#8217;ll go into stuff that we&#8217;ve been doing, showcase some of the clients we work with.</p>

	<p>Keep your eye on it for cool stuff.</p>

	<p><a href="http://www.proeye.tv/blog">www.proeye.tv/blog</a></p>
 ]]></content:encoded>
			<wfw:commentRss>http://thefunklab.net/blog/2007/wwwproeyetv-blog/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>On pre-production</title>
		<link>http://thefunklab.net/blog/2007/on-pre-production/</link>
		<comments>http://thefunklab.net/blog/2007/on-pre-production/#comments</comments>
		<pubDate>Sun, 14 Oct 2007 13:57:06 +0000</pubDate>
		<dc:creator>simon mcrae</dc:creator>
				<category><![CDATA[michelle]]></category>
		<category><![CDATA[production]]></category>
		<category><![CDATA[technical]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://thefunklab.net/blog/2007/on-pre-production/</guid>
		<description><![CDATA[My wife and I have just finished writing a pretty comprehensive script for a client. I thought this would be a good opportunity to do a post on pre-production. I find this stage of media creation the most important. Whenever I have brushed over, or thought that I haven&#8217;t had enough time for planning, I [...]]]></description>
			<content:encoded><![CDATA[	<p><p>My wife and I have just finished writing a pretty comprehensive script for a client. I thought this would be a good opportunity to do a post on pre-production.</p></p>

	<p><p>I find this stage of media creation the most important. Whenever I have brushed over, or thought that I haven&#8217;t had enough time for planning, I have regretted it. Projects become messy. Shots get missed. And worst of all, you end up in a place that is far, far away from the client&#8217;s original brief. </p></p>

	<p><p>So, try to make the planning as comprehensive as possible.</p></p>

	<p><h5>Get familiar with the content.</h5><br />
<p>Sometimes I wonder how people did anything before the Internet. After the initial meeting with the client, the company website is an invaluable tool to become familiar with the content. Product lines, sales methods, corporate look and feel. All this is there on a website. Most companies have a Corporate Identity booklet. It goes into incredible depth on how they want to be portrayed. Memorise that sucker. It should be your first port of call when crafting anything for them. You need to become an expert on the client. You should know as much about them and what they do as one of their employees.  </p><br />
<h5>Get inspired</h5><br />
<p>I find that I write better after I watch an episode of the West Wing. I dunno why. It might have something to do with them constantly writing speeches and wot-not. Anyway, find out what inspires you, and indulge yourself before you start, or when you get stuck. But don&#8217;t let it become a source of procrastination, cause that happens to me too,</p><br />
<h5>Do it</h5><br />
<p>You get stuck a lot. That&#8217;s cool, because so do I. But when I do, I just write. Just put anything down. Most of the time it will be utter rubbish, but you&#8217;re still forming ideas, making things clearer in your head. And then leave it alone. For a day. Don&#8217;t look at it or think about it. Plan something else, like getting shooting locations, or write up the editing workflow. When you look at it again, you&#8217;ll think, man, what the hey was I tripping on. And then it gets better, because the more times you go over it, the tighter it gets, the more focused it gets and the clearer you become. </p><br />
<h5>Keep it arms length</h5><br />
<p>Remember the first time you give the finished script to the client, it&#8217;s going to be ripped apart. Don&#8217;t be too protective of it. As great a writer you are, it&#8217;s ridiculously difficult to get it right in one shot. But that&#8217;s cool. The more the language gets pulled and cut and twisted, the more it will be shaped into what it should be. They will still know things, like stats, case studies and examples that you might not have uncovered in your research. Hopefully you&#8217;re both on the same page, trying to make it as good as it can be. </p></p>
 ]]></content:encoded>
			<wfw:commentRss>http://thefunklab.net/blog/2007/on-pre-production/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>io- a new horizon</title>
		<link>http://thefunklab.net/blog/2007/io-a-new-horizon/</link>
		<comments>http://thefunklab.net/blog/2007/io-a-new-horizon/#comments</comments>
		<pubDate>Tue, 09 Oct 2007 13:56:45 +0000</pubDate>
		<dc:creator>simon mcrae</dc:creator>
				<category><![CDATA[production]]></category>
		<category><![CDATA[technical]]></category>

		<guid isPermaLink="false">http://thefunklab.net/blog/2007/io-a-new-horizon/</guid>
		<description><![CDATA[Just uploaded a new clip, a short intro to a camp I participated in. It was my first foray into 3D compositing. The spaceship was created in Blender, the open source 3D app. It featured as one of my recommendations on the Mustard Flava Podcast. The composting was done in Shake. I really love the [...]]]></description>
			<content:encoded><![CDATA[	<p><p>Just uploaded a <a href="http://www.thefunklab.net/blog/the-goods">new clip</a>, a short intro to a camp I participated in.<br />
</p><br />
<p>It was my first foray into 3D compositing. The spaceship was created in <a href="http://www.blender.org">Blender</a>, the open source 3D app. It featured as one of my recommendations on the <a href="http://www.mustardflava.net/?p=31">Mustard Flava Podcast</a>. </p></p>

	<p><p>The composting was done in Shake. I really love the workflow in Shake. Coming from a Photoshop and After Effects background, nodal-based compositing is a really refreshing change. </p></p>

	<p><div align="center"><a href='http://thefunklab.net/blog/wp-content/images/2007/10/picture-4.png' title='shake'><img src='http://thefunklab.net/blog/wp-content/images/2007/10/picture-4.png' alt='shake' height="50%" width="50%" /></a><br />
<h5>nodal-based compositing</h5><br />
</div></p>

	<p>So, the idea is a spaceship heading towards the Jovian moon Io. I think i nearly pulled it off.</p>
 ]]></content:encoded>
			<wfw:commentRss>http://thefunklab.net/blog/2007/io-a-new-horizon/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>the goods</title>
		<link>http://thefunklab.net/blog/2007/the-goods/</link>
		<comments>http://thefunklab.net/blog/2007/the-goods/#comments</comments>
		<pubDate>Sat, 06 Oct 2007 06:55:55 +0000</pubDate>
		<dc:creator>simon mcrae</dc:creator>
				<category><![CDATA[everything]]></category>
		<category><![CDATA[production]]></category>
		<category><![CDATA[technical]]></category>

		<guid isPermaLink="false">http://thefunklab.net/blog/2007/the-goods/</guid>
		<description><![CDATA[Just finished setting up a show-reel page here. Alternatively you can get to it from the sidebar under &#8216;pages&#8217;.]]></description>
			<content:encoded><![CDATA[	<p>Just finished setting up a show-reel page <a href="http://www.thefunklab.net/blog/the-goods">here</a>. Alternatively you can get to it from the sidebar under &#8216;pages&#8217;.</p>
 ]]></content:encoded>
			<wfw:commentRss>http://thefunklab.net/blog/2007/the-goods/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Final Cut Studio 2: looking good.</title>
		<link>http://thefunklab.net/blog/2007/final-cut-studio-2-looking-good/</link>
		<comments>http://thefunklab.net/blog/2007/final-cut-studio-2-looking-good/#comments</comments>
		<pubDate>Mon, 16 Apr 2007 14:38:42 +0000</pubDate>
		<dc:creator>simon mcrae</dc:creator>
				<category><![CDATA[final cut]]></category>
		<category><![CDATA[production]]></category>
		<category><![CDATA[technical]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://thefunklab.net/blog/2007/final-cut-studio-2-looking-good/</guid>
		<description><![CDATA[Today at NAB, Apple announced Final Cut Studio 2. It includes; the updates Final Cut Pro 6, Motion 3, Soundtrack Pro 2, Compressor 3, a new application called Color, and DVD Studio Pro 4. Being a long term Studio user, I&#8217;m really excited about the updates. My 3D compositing experience has mainly been from using [...]]]></description>
			<content:encoded><![CDATA[	<p>Today at <a href="http://www.nab.org"><span class="caps">NAB</span></a>, Apple announced <a href="http://www.apple.com/au/finalcutstudio/">Final Cut Studio 2</a>.</p>

	<p>It includes; the updates Final Cut Pro 6, Motion 3, Soundtrack Pro 2, Compressor 3, a new application called Color, and <span class="caps">DVD </span>Studio Pro 4.</p>

	<p>Being a long term Studio user, I&#8217;m really excited about the updates. My 3D compositing experience has mainly been from using After Effects, and so having the capability integrated in the suite with Motion is fantastic. I&#8217;m very interested in Color also (well, not the American spelling, but there is nothing we can do about that) and it looks like an app that I will be spending a lot of time enjoying.</p>

	<p>We&#8217;re getting a copy in the office pretty much as soon as it ships here in Australia, so stay tuned for pros and cons, hypes and gripes, and things that I&#8217;ll go ape over.</p>
 ]]></content:encoded>
			<wfw:commentRss>http://thefunklab.net/blog/2007/final-cut-studio-2-looking-good/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Expressions, part 3</title>
		<link>http://thefunklab.net/blog/2007/expressions-part-3/</link>
		<comments>http://thefunklab.net/blog/2007/expressions-part-3/#comments</comments>
		<pubDate>Mon, 05 Feb 2007 11:58:14 +0000</pubDate>
		<dc:creator>simon mcrae</dc:creator>
				<category><![CDATA[after effects]]></category>
		<category><![CDATA[technical]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://thefunklab.net/blog/?p=43</guid>
		<description><![CDATA[So then, the expression to make a layer&#8217;s (Jedi) opacity to the distance that a roving camera is away from it is&#8230; a = thisComp.layer("Roving Camera").pointOfInterest[0]; b = thisComp.layer("Roving Camera").pointOfInterest[1]; c = thisComp.layer("Roving Camera").pointOfInterest[2]; d = thisComp.layer("Jedi").position[0]; e = thisComp.layer("Jedi").position[1]; f = thisComp.layer("Jedi").position[2]; g = thisComp.layer("Start").pointOfInterest[0]; h = thisComp.layer("Start").pointOfInterest[1]; i = thisComp.layer("Start").pointOfInterest[2]; x = Math.pow(a-d, [...]]]></description>
			<content:encoded><![CDATA[	<p>So then, the expression to make a layer&#8217;s (Jedi) opacity to the distance that a roving camera is away from it is&#8230;<br />
<code>a = thisComp.layer("Roving Camera").pointOfInterest[0];<br />
b = thisComp.layer("Roving Camera").pointOfInterest[1];<br />
c = thisComp.layer("Roving Camera").pointOfInterest[2];</code><code><br />
d = thisComp.layer("Jedi").position[0];<br />
e = thisComp.layer("Jedi").position[1];<br />
f = thisComp.layer("Jedi").position[2];<br />
g = thisComp.layer("Start").pointOfInterest[0];<br />
h = thisComp.layer("Start").pointOfInterest[1];<br />
i = thisComp.layer("Start").pointOfInterest[2];</code></p>

	<p><code>x = Math.pow(a-d, 2)+Math.pow(b-e, 2)+Math.pow(c-f, 2);<br />
x = Math.sqrt(x);<br />
m =  Math.pow(d-g, 2)+Math.pow(e-h, 2)+Math.pow(f-i, 2);<br />
m = Math.sqrt(m);</code></p>

	<p><code>x = x / m;</code><code><br />
x = x * 100;<br />
x = 100 - x;</code></p>

	<p><code>if(x&lt;10){<br />
x=10<br />
}</code></p>
 ]]></content:encoded>
			<wfw:commentRss>http://thefunklab.net/blog/2007/expressions-part-3/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Expressions, part 2</title>
		<link>http://thefunklab.net/blog/2007/expressions-part-2/</link>
		<comments>http://thefunklab.net/blog/2007/expressions-part-2/#comments</comments>
		<pubDate>Fri, 02 Feb 2007 10:01:25 +0000</pubDate>
		<dc:creator>simon mcrae</dc:creator>
				<category><![CDATA[after effects]]></category>
		<category><![CDATA[technical]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://thefunklab.net/blog/?p=42</guid>
		<description><![CDATA[Alright. What we know is where the camera starts and ends. In After Effects, all the elements in 3D space have an x, y and z position, which is written like this thisComp.layer("Roving Camera").position[0, 1, 2] thisComp &#8212;the selected composition layer("Roving Camera") &#8212; name of layer (which was actually a &#8220;virtual camera&#8221;) position &#8212; the [...]]]></description>
			<content:encoded><![CDATA[	<p><a href="http://www.flickr.com/photos/thefunklab/376241869/" title="Photo Sharing"><img src="http://farm1.static.flickr.com/165/376241869_9364fd4fe9.jpg" width="398" height="500" alt="View from top of virtual 'world'" /></a></p>

	<p>Alright.</p>

	<p>What we know is where the camera starts and ends. In After Effects, all the elements in 3D space have an x, y and z position, which is written like this</p>

	<p><code>thisComp.layer("Roving Camera").position[0, 1, 2] </code></p>

	<p><code>thisComp </code>&#8212;the selected composition<br />
<code>layer("Roving Camera") </code>&#8212; name of layer (which was actually a &#8220;virtual camera&#8221;)<br />
<code>position </code>&#8212; the attribute we are editing<br />
<code>[0, 1, 2] </code>&#8212; the three elements in a position attribute, that is, x y and z.</p>

	<p>So, if I have a layer named &#8216;Han Solo&#8217; and i wanted to make the variable &#8216;t&#8217; its y position I would write</p>

	<p><code>t = thisComp.layer("Han Solo").position[1] </code></p>

	<p>Or, if I have a layer named &#8216;Ghengis&#8217; and i wanted to make the variable &#8216;t&#8217; its z position I would write</p>

	<p><code>t = thisComp.layer("Ghengis").position[2] </code></p>

	<p>So now we want the opacity of a layer (lets call it Jedi) to be proportional to how far away the Roving Camera is. We know the start point of the Roving Camera (an x, y, z coordinate) and we know its end point (and x, y, z coordinate in front of layer Jedi)</p>

	<p>Now how to we find the distance between two points?</p>

	<p><a href="http://www.flickr.com/photos/thefunklab/376241934/" title="Photo Sharing"><img src="http://farm1.static.flickr.com/164/376241934_5fc8d8a1d9.jpg" width="500" height="332" alt="Finding distance between two points." /></a></p>

	<p>And so what about a z point? Well, the equation for that is</p>

	<p>Distance between two points in 3D space = <a href="http://www.flickr.com/photos/thefunklab/377304461/" title="Photo Sharing"><img src="http://farm1.static.flickr.com/182/377304461_8b5770296f_m.jpg" width="240" height="36" alt="equation.jpg" /></a></p>

	<p>So now we know the distance between the Roving Camera and layer Jedi.</p>

	<p>in After Effects expression language this is:<br />
<code><br />
a = thisComp.layer("Roving Camera").pointOfInterest[0];<br />
b = thisComp.layer("Roving Camera").pointOfInterest[1];<br />
c = thisComp.layer("Roving Camera").pointOfInterest[2];<br />
</code><br />
<code><br />
d = thisComp.layer("Jedi").position[0];<br />
e = thisComp.layer("Jedi").position[1];<br />
f = thisComp.layer("Jedi").position[2];<br />
</code><br />
<code><br />
x = Math.pow(a-d, 2)+Math.pow(b-e, 2)+Math.pow(c-f, 2);<br />
x = Math.sqrt(x);<br />
</code><br />
(I&#8217;m using the Camera&#8217;s Point of Interest value instead of position as I what the layer Jedi to be fully opaque when the camera is in front of it rather than being on top of it. )</p>

	<p>Now, what i did next was do another pythagorean distance equation, this time with a layer at the start position and the layer Jedi<br />
<code><br />
g = thisComp.layer("Start").pointOfInterest[0];<br />
h = thisComp.layer("Start").pointOfInterest[1];<br />
i = thisComp.layer("Start").pointOfInterest[2];<br />
</code><br />
<code><br />
m =  Math.pow(d-g, 2)+Math.pow(e-h, 2)+Math.pow(f-i, 2);<br />
m = Math.sqrt(m);<br />
</code></p>

	<p>Now I&#8217;ve got two distances, the total distance (m) and the distance of the camera to the final layer Jedi (x)</p>

	<p>I can express the camera distance as a percentage of the final distance<br />
<code><br />
x = x / m;</code><br />
<code><br />
x = x * 100;<br />
</code></p>

	<p>And because I want the end to be 100% opaque, I subtract the total amount by the traveled distance.<br />
<code><br />
x = 100 - x;<br />
</code></p>

	<p>Now what we found was that we wanted to slightly see all the objects at the start, so I made a condition that the layer Jedi is always 10% opaque.<br />
<code><br />
if(x&lt;10){<br />
x=10<br />
}</p>
	<p></code></p>
 ]]></content:encoded>
			<wfw:commentRss>http://thefunklab.net/blog/2007/expressions-part-2/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Expressions, part 1</title>
		<link>http://thefunklab.net/blog/2007/expressions-part-1/</link>
		<comments>http://thefunklab.net/blog/2007/expressions-part-1/#comments</comments>
		<pubDate>Thu, 01 Feb 2007 06:07:35 +0000</pubDate>
		<dc:creator>simon mcrae</dc:creator>
				<category><![CDATA[after effects]]></category>
		<category><![CDATA[technical]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://thefunklab.net/blog/?p=41</guid>
		<description><![CDATA[For the new promo dvd for Proeye Video Production, we decided to totally revamp the menu design. Going from a static look to a 3D environment was a pretty big leap, and meant that we would have to look in to using software capable of dealing with it. I decided on After Effects, as I&#8217;m [...]]]></description>
			<content:encoded><![CDATA[	<p>For the new promo dvd for Proeye Video Production, we decided to totally revamp the menu design.</p>

	<p>Going from a static look to a 3D environment was a pretty big leap, and meant that we would have to look in to using software capable of dealing with it. I decided on After Effects, as I&#8217;m pretty familiar with it and have used its 3D tools in the past.</p>

	<p>What is really cool about it, that i only really discovered recently was Expressions. Expressions are like little scripts that changes a layer&#8217;s property.  You can reference other layer&#8217;s properties and there is a whole range of math tools to help you out.</p>

	<p>For instance, I had a whole bunch of buttons for the <span class="caps">DVD</span> which I needed to see when designing, but then turn them off when I output. So I put an expression on each button-layer&#8217;s opacity that referenced the opacity of an adjustment layer. I could then change one variable instead of 30.</p>

	<p><img src="http://farm1.static.flickr.com/150/376242143_0254b68b31_o.png" /></p>

	<p>So thats a pretty simple example. What was more complex was my next brain-wave.<br />
The <span class="caps">DVD</span> menus are designed so that when you go from one to another, its like you are going though into a different part &#8211; See this example<a href="http://www.youtube.com/watch?v=oZiIkvUMxDk"> on Youtube</a></p>

	<p>What we wanted to do was, as the &#8220;camera&#8221; moved towards an object went from transparent to opaque. The way we did this was through an expression (special thanks to an old friend Stuart Evans, a math teacher at Heathdale Christian College).</p>

	<p>Stay tuned for part 2&#8230;</p>
 ]]></content:encoded>
			<wfw:commentRss>http://thefunklab.net/blog/2007/expressions-part-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

