<?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>VegasVideoHelp.com &#187; mask</title>
	<atom:link href="http://www.vegasvideohelp.com/tag/mask/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.vegasvideohelp.com</link>
	<description>Tutorials, Hints, and News for Sony Vegas (and DVD Architect, too!)</description>
	<lastBuildDate>Fri, 18 Sep 2009 19:04:27 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Custom Transition Using Generated Media</title>
		<link>http://www.vegasvideohelp.com/custom-transition-using-generated-media/</link>
		<comments>http://www.vegasvideohelp.com/custom-transition-using-generated-media/#comments</comments>
		<pubDate>Wed, 29 Oct 2008 05:52:57 +0000</pubDate>
		<dc:creator>Rob Strobbe</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[generated media]]></category>
		<category><![CDATA[mask]]></category>
		<category><![CDATA[transition]]></category>

		<guid isPermaLink="false">http://www.vegasvideohelp.com/?p=184</guid>
		<description><![CDATA[In part one of this series on creating custom transitions in Sony Vegas, we used Bezier masking and standard transitions to &#8220;close&#8221; a still image over one clip and then open it again to reveal a new clip. In part two, we&#8217;re going to use Vegas generated media, compositing, and parent/child relationships to create a [...]]]></description>
			<content:encoded><![CDATA[<p>In part one of this series on creating custom transitions in Sony Vegas, we used Bezier masking and standard transitions to &#8220;close&#8221; a still image over one clip and then open it again to reveal a new clip. In part two, we&#8217;re going to use Vegas generated media, compositing, and parent/child relationships to create a transition that resembles smoke or fog. Sony Vegas Movie Studio does not have all of the necessary tools for this method, so you will need Sony Vegas Pro.</p>
<p>The transition I want to achieve is similar to a linear wipe. But while a linear wipe in Vegas can have a soft edge, it&#8217;s still rather tidy. I want a deeper and more random blend between the two clips &#8212; something that resembles fog or smoke. For this, I&#8217;m going to combine two types of generated media, a standard Vegas transition, and some parent-child track relationships.</p>
<p><span id="more-184"></span>To begin, insert two video tracks by hitting Ctrl+Shift+Q twice. The top track will be for a noise texture that will make up the &#8220;edge&#8221; of the transition. Go to the Media Generators window, select Noise Texture from the list, and drag the Plasma preset onto Track #1. Vegas will open the Video Media Generators window for you to edit the new piece of media.</p>
<p>Make Color A transparent by entering 0 for its Alpha value (beneath Color A&#8217;s color picker, textbox labled &#8220;A&#8221;) and set Color B to white. The &#8220;smoke&#8221; is a bit too heavy for my taste, so under Noise Parameters, I&#8217;m going to raise the Min value to .250. I also want this mask to be much brighter, so I&#8217;m rising Amplitude to 2. You can tweak these and other settings if you like, but this is essentially what we need for the edge to look like smoke. Not let&#8217;s make it move like smoke, too.</p>
<p>At the bottom of the Video Media Generators window is a keyframe timeline. It takes a minimum of two keyframes to animate something &#8212; Vegas has already given you the starting keyframe with the settings you just adjusted. To animate this media, click the Last Keyframe button to move to the end of the keyframe timeline. Now change the the Progress setting to 10. Vegas will add a new keyframe to the end of the timeline (which represents the end of this media&#8217;s event) and give it the new setting. If you preview your video, you will now see that Vegas animates the event, making this resemble billowing smoke. You can now close the Video Media Generators window.</p>
<div id="attachment_186" class="wp-caption alignleft" style="width: 210px"><a href="http://www.vegasvideohelp.com/files/1_the_smoke.jpg"><img class="size-thumbnail wp-image-186" title="The Smoke" src="http://www.vegasvideohelp.com/files/1_the_smoke-200x144.jpg" alt="Figure 1: Settings for Smoke" width="200" height="144" /></a><p class="wp-caption-text">Figure 1: Settings for Smoke</p></div>
<p>We also need the smoke to move across the screen. We&#8217;ll do this with a linear wipe. Hover the cursor over the top left corner of the smoke event until you see the Fade Offset indicator (a quarter circle) and click and drag all the way to the end of the event. Then go to the Transitions window, select Linear Wipe from the list, and drag the Left-Right Soft Edge preset onto the smoke event.</p>
<p>So now we have a mask made of &#8220;smoke&#8221; that gradually fills the screen. If we applied this to our clips,  we&#8217;d be left with relatively equal parts of them. That&#8217;s not exactly a transition, is it? No, what we&#8217;re trying to achieve is a wipe where only the edge of the wipe is smokey. Let&#8217;s fill in the rest of this moving mask.</p>
<div id="attachment_187" class="wp-caption alignleft" style="width: 210px"><a href="http://www.vegasvideohelp.com/files/2_the_wipe.jpg"><img class="size-thumbnail wp-image-187" title="Complete Mask" src="http://www.vegasvideohelp.com/files/2_the_wipe-200x144.jpg" alt="Figure 2: The Completed Mask" width="200" height="144" /></a><p class="wp-caption-text">Figure 2: The Completed Mask</p></div>
<p>On the second track of your Vegas project, add a Solid Color from the Media Generators tab. Use white to match the white for the smoke. Using the same method as before, apply a linear wipe transition to the entire event. If you preview your moving mask now, you may notice that the &#8220;edge&#8221; of the wipe is still awfully clean. That&#8217;s because the wipe for the solid color on Track #2 is filling in quite a bit of our nice smoke on Track #1. This is because they start and finish at the same time. But if we shorten the solid color&#8217;s event, the smoke event will have a chance to &#8220;pass&#8221; it up, therby giving the edge a smokier look. Grab the left edge of the solid color event and drag it further in. With both events originally being 10 seconds, I shaved two seconds off the solid color&#8217;s event. This completes the mask.</p>
<p>To apply a mask, we need to use parent-child track relationships and compositing modes, which can get a bit tricky when your mask uses more than one track itself. Luckily, current versions of Vegas Pro have the ability to nest projects. Save this file as smokemask.veg. Then create or open the project with your two clips. Put the two clips on separate tracks with the incoming event on the upper track. Also line up the incoming clip where you want it to first start coming in.</p>
<p>Now let&#8217;s get that mask in here. Insert a track above your incoming event and add smokemask.veg to it. Line the nested mask up with the incoming clip. This puts a white mask above your incoming clip, with your outgoing clip completely hidden during the &#8220;transition.&#8221; To use this properly, click the Compositing Mode button on the mask&#8217;s track header and choose Multiply (Mask). Then on the incoming clip&#8217;s track header, click its Make Compositing Child button. Now if you place the cursor on the timeline between the start and end of the mask event, your preview should show the incoming clip where the mask was white and the outgoing clip where the mask was transparent. Play your project, and you should see one the smoke transition we&#8217;ve been trying for.</p>
<div id="attachment_188" class="wp-caption alignleft" style="width: 210px"><a href="http://www.vegasvideohelp.com/files/3_combined.jpg"><img class="size-thumbnail wp-image-188" title="Mask Applied" src="http://www.vegasvideohelp.com/files/3_combined-200x144.jpg" alt="Figure 3: The Mask Applied" width="200" height="144" /></a><p class="wp-caption-text">Figure 3: The Mask Applied</p></div>
<p>Unfortunately, what you will probably also notice is that when the mask event ends, so does the incoming clip. This is because the track with the Compositing Mode determines which of the lower content is visible. In the case of Multiply (Mask), white will completely reveal its child track(s). The catch here is that when the mask event ends, the track is no longer white. No white, no child track(s). You have a few options to fix this, each of which essentially adds a solid white to this track following the end of the mask event. The options are:</p>
<ol>
<li>From the Media Generators tab, insert a Solid Color of white. Make it as long as you need in order to reveal the child track.</li>
<li>Grab the right edge of the mask event and drag it out for as long as you need to reveal the child track. Then right-click the mask event, choose Properties, and uncheck Loop. What this does is extend the last frame of the event, which was solid white.</li>
<li>Right-click the track with the mask event and go to Insert/Remove Envelope &gt; Fade to Color. By default, the colors for this envelope are black (lower) and white (upper). Add one point to the envelope exactly at the end of the mask event and add another to the envelope soon after. Grab the second point, drag it all the way to the top of the track and then shift it over so that it&#8217;s above the first point. If, for some reason, you need to return this track back to normal (but remember, it&#8217;s only masking its child track &#8212; it has no effect on any other tracks), then add two more points where necessary and drag the line back to the vertical center.</li>
</ol>
<p>Using these techniques, you can build your own aresenal of transitions to use in Vegas.  Combine noise textures, text, gradients, any kind of generated media. Apply transitions and add video FX to twist that media into a mask that works for your content. Lastly, use compositing modes (usually Multiply, but go ahead and experiment with the others) to use this mask to combine multiple tracks in interesting ways. As interesting or, quite possibly, even more interesting, than this:</p>
<p><!-- Smart Youtube --><span class="youtube"><object type="application/x-shockwave-flash" width="425" height="362" data="http://www.youtube.com/v/qewHVZ4hmc8&amp;rel=0&amp;color1=006699&amp;color2=54abd6&amp;border=1&amp;fs=1&amp;hl=en&amp;autoplay=0&amp;showinfo=0&amp;iv_load_policy=3&amp;showsearch=0"><param name="movie" value="http://www.youtube.com/v/qewHVZ4hmc8&amp;rel=0&amp;color1=006699&amp;color2=54abd6&amp;border=1&amp;fs=1&amp;hl=en&amp;autoplay=0&amp;showinfo=0&amp;iv_load_policy=3&amp;showsearch=0" /><param name="allowFullScreen" value="true" /><param name="wmode" value="transparent" /></object></span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.vegasvideohelp.com/custom-transition-using-generated-media/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Custom Highlight Masks</title>
		<link>http://www.vegasvideohelp.com/custom-highlight-masks/</link>
		<comments>http://www.vegasvideohelp.com/custom-highlight-masks/#comments</comments>
		<pubDate>Thu, 25 Sep 2008 03:32:30 +0000</pubDate>
		<dc:creator>Rob Strobbe</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[DVD Architect]]></category>
		<category><![CDATA[highlight]]></category>
		<category><![CDATA[mask]]></category>
		<category><![CDATA[menu]]></category>

		<guid isPermaLink="false">http://www.vegasvideohelp.com/?p=26</guid>
		<description><![CDATA[The latest version of Sony DVD Architect comes installed with over 50 themes, giving you many options for menu designs. But suppose none of them suit the project you&#8217;re working on? Fortunately, DVD Architect also gives you a few options for creating your own menu designs. Since v2.0, one of those options has been custom [...]]]></description>
			<content:encoded><![CDATA[<p>The latest version of <a title="Sony DVD Architect" href="http://www.sonycreativesoftware.com/vegaspro/dvd">Sony DVD Architect</a> comes installed with over 50 themes, giving you many options for menu designs. But suppose none of them suit the project you&#8217;re working on? Fortunately, DVD Architect also gives you a few options for creating your own menu designs. Since v2.0, one of those options has been custom highlight masks.</p>
<p>A menu designed in this way only needs two files: a background video or image, which contains everything your menu will show, and a mask indicating all highlights. This tutorial will walk you through creating these files in a graphics application and using them in Sony DVD Architect.</p>
<p>Ready? Then let&#8217;s get started!</p>
<p><span id="more-26"></span></p>
<h3>Creating the Images</h3>
<p>The background can be either a video or a static image. For this tutorial, I will be creating an image using <a title="Adobe Photoshop" href="http://www.adobe.com/products/photoshop/compare/">Adobe Photoshop</a>. You can use any graphics application you like, but it would help if it were one that supports multiple layers such as Photoshop, Paint Shop Pro, or The Gimp. I&#8217;ll trust that you know your way around the graphics application you&#8217;re using. But if you&#8217;d rather skip this part of the tutorial, you can download the <a href="http://www.vegasvideohelp.com/files/tutorials/dvda_custom_highlight_masks/dome_background.png">background image</a> and <a href="http://www.vegasvideohelp.com/files/tutorials/dvda_custom_highlight_masks/dome_highlight.png">highlight mask image</a> that I&#8217;m creating.</p>
<p>Find a picture you&#8217;d like to use and open it in your graphics application. Usually, I&#8217;d begin with a still from the movie I&#8217;m putting on DVD, but here I&#8217;ll just be using a picture I found at Stock.XCHNG. Feel free to use <a title="Dome image at Stock.XCHNG" href="http://www.sxc.hu/photo/292262" target="_blank">the same image</a>.</p>
<p>The first thing to do with your image is resize it so that it is the appropriate dimensions for your DVD menu. Keep in mind that your still image will have square pixels, whereas your DVD (incuding the menu) will have non-square pixels. For example, the dimensions of a standard NTSC DVD (standard meaning not widescreen, and NTSC being the format used in North America) are 720&#215;480, but a still image for this kind of menu should be 655&#215;480. DVD Architect will appropriately &#8220;reshape&#8221; the image as needed.</p>
<p>If your graphics application has the option to add guidelines, do yourself a favor and add some now to indicate the title safe area &#8212; this is the suggested region of the menu where your titles and buttons should be placed so that they are not cut off by the viewer&#8217;s television. (For more information, run &#8220;safe area overscan&#8221; in your favorite search engine.) You should allow for a &#8220;border&#8221; of around 10% for titles and buttons. For a standard NTSC project, this will be about 65 pixels from the left and right, and about 50 pixels from the top and bottom.</p>
<div id="attachment_45" class="wp-caption alignleft" style="width: 210px"><a href="http://www.vegasvideohelp.com/files/tutorials/dvda_custom_highlight_masks/1_background.jpg"><img class="size-thumbnail wp-image-45" title="1. Background image" src="http://www.vegasvideohelp.com/files/tutorials/dvda_custom_highlight_masks/1_background-200x150.jpg" alt="Figure 1: Background image" width="200" height="150" /></a><p class="wp-caption-text">Figure 1: Background image</p></div>
<p>Now that you&#8217;ve got your background image opened and guidelines set up, it&#8217;s time to start turning it into a DVD menu. Using your application&#8217;s tools, create the &#8220;buttons&#8221; you want for your menu.</p>
<p>(I put &#8220;buttons&#8221; in quotation marks because, in truth, the background of a DVD menu is one complete video or image with hotspots (the highlights) over it. The &#8220;buttons&#8221; you see aren&#8217;t really buttons at all &#8212; they don&#8217;t do anything.)</p>
<p>For this tutorial, I used Photoshop&#8217;s text tool to add a Play, Scenes, and Setup &#8220;buttons&#8221; to the background as well as a title for the menu. You can use text or add images, whatever you&#8217;d like to represent the &#8220;buttons&#8221; is fine &#8212; so long as it&#8217;s clear to the viewer, of course, what will happen when they select the menu items. I like to keep each item on its own layer, but you can use as few or as many layers as you like. If you&#8217;re like me, save all of this to a multi-layered file such as PSD. Then save a copy as a single layered image that you will use as your menu background. Most any image format is fine &#8212; I like to use PNG.</p>
<div id="attachment_37" class="wp-caption alignleft" style="width: 210px"><a href="http://www.vegasvideohelp.com/files/tutorials/dvda_custom_highlight_masks/2_background_buttons_title.jpg"><img class="size-thumbnail wp-image-37" title="2. Background with &quot;buttons&quot; and title" src="http://www.vegasvideohelp.com/files/tutorials/dvda_custom_highlight_masks/2_background_buttons_title-200x150.jpg" alt="Now with &quot;buttons&quot; and title" width="200" height="150" /></a><p class="wp-caption-text">Figure 2: With &quot;buttons&quot; and title</p></div>
<p>When your &#8220;buttons&#8221; have the look and position you want, add a new layer above all the others. This layer will contain your highlight mask. A highlight mask tells DVD Architect what the actual buttons will look like. On a DVD, the actual buttons are usually fairly simple graphics like a box, a circle, or an underline that &#8220;highlights&#8221; part of your menu background. They&#8217;re usually a single color or variations of a single color. On this highlight mask layer, you&#8217;re going to create the shapes you want to have highlight your menu background and indicate the item(s) being selected from the menu.</p>
<p>There are two main rules to remember about highlight masks. The first is that the mask should use only black and shades of gray. Don&#8217;t worry, these aren&#8217;t the only colors your highlight can contain, but the actual highlight color will be set in DVD Architect. This mask is simply for deciding the shape and position. The second rule is that while the highlights can be any shape, the actual hotspot will be rectanglular, and those hotspots should not overlap. So as you&#8217;re drawing your highlight mask, imagine that each shape has an invisible rectangle around it, and make sure there is space between each one.</p>
<p>With those rules in mind, draw the shapes for your highlights, using the &#8220;buttons&#8221; on the background image as a guide. I drew outlines around my menu items using the background as a guide, but you can do pretty much anything you want &#8212; underlines, circles, arrows, wavy lines, be creative and have fun.</p>
<div id="attachment_38" class="wp-caption alignleft" style="width: 210px"><a href="http://www.vegasvideohelp.com/files/tutorials/dvda_custom_highlight_masks/3_background_highlights.jpg"><img class="size-thumbnail wp-image-38" title="3. Background with highlights" src="http://www.vegasvideohelp.com/files/tutorials/dvda_custom_highlight_masks/3_background_highlights-200x150.jpg" alt="Figure 3: With highlights" width="200" height="150" /></a><p class="wp-caption-text">Figure 3: With highlights</p></div>
<p>Now you&#8217;re ready to save your highlight mask to its own file. Hide all other layers so that only your highlights remain. The background of this image will need to be transparent, so here you must save to a format that supports alpha channels. PSD and PNG are popular such formats, with PNG resulting in a smaller file size.</p>
<div id="attachment_39" class="wp-caption alignnone" style="width: 210px"><a href="http://www.vegasvideohelp.com/files/tutorials/dvda_custom_highlight_masks/4_highlights_only.jpg"><img class="size-thumbnail wp-image-39" title="4. Highlights only" src="http://www.vegasvideohelp.com/files/tutorials/dvda_custom_highlight_masks/4_highlights_only-200x150.jpg" alt="Figure 4: Highlights only" width="200" height="150" /></a><p class="wp-caption-text">Figure 4: Highlights only</p></div>
<p>That&#8217;s all we need is those two images &#8212; now let&#8217;s head over to DVD Architect and put them to use.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.vegasvideohelp.com/custom-highlight-masks/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
