[Lights, Camera, Action]

Home    Forums    Tutorials    Search    Books    Links 

Windows Movie Maker tips, tutorials, forums and more...

    
Windows Movie Maker Home   Search   Login   Register   Member List  
Movie Maker Users Showcase  > Share Your Vista Transitions and Effects!!  > move up effect  
Previous Thread :: Next Thread 
 Author Thread: move up effect
Riyjhuw is not online. Last active: 7/1/2010 11:09:23 PM Riyjhuw
Joined: 01 Nov 2009
Total Posts: 30
 
move up effect
Posted: 21 Nov 2009 11:12 PM
what i need is 8 effects that start with the video about half off the screen(1 effect for each of the 8 Directions a.k.a. 4-diagonals 2-verticals 2-horizontals) then slowly moves back to normal.

example
sonic rush opening effect
but with out the fade.

216986
Riyjhuw is not online. Last active: 7/1/2010 11:09:23 PM Riyjhuw
Joined: 01 Nov 2009
Total Posts: 30
 
Re: move up effect
Posted: 25 Nov 2009 11:57 AM
what i need "MOST" is 2 effects that start with the video about half off the screen vertically a.k.a. top & bottom(1 effect for each of the 2-verticals Directions) then slowly moves back to normal.

216986
RobertJ is not online. Last active: 9/1/2010 7:46:57 PM RobertJ
Joined: 04 Nov 2009
Total Posts: 137
 
Re: move up effect
Posted: 26 Nov 2009 10:32 AM
Maybe this will help. Here is a video using the below TITLE xml.
http://vimeo.com/7835688

<TransitionsAndEffects Version="2.8">
<Titles>
<TitleDLL guid="TFX">
<Title name="VerticalFlip" iconid="7" guid="VerticalFlip">
<Param name="Animation" value="TitleStandard" />
<Param name="Description" value="Displays Video To, Bottom and then Full Screeen" />
<Param name="EntranceVideoRect" value="0.0 0.0 1 0.5" />

<Param name="MainVideoRect" value="0.0 0.5 1 0.5" />
<Param name="ExitVideoRect" value="0.0 0.0 1.0 1.0" />
<Param name="RenderOrder" value="RenderFirst" />
<Paragraph>
<Param name="ShadowOutline" value="None" />
<Param name="BoundingRect" value="0.0 0.0 1.0 1.0" />
<Param name="FontSize" value="14" />
<Param name="EntranceEffect" value="EffectFade" evaluation="Linear"/>
<Param name="EntranceDuration" value="0.75" />
<Param name="ExitEffect" value="EffectFade" evaluation="Linear"/>
<Param name="ExitDuration" value="3.0" />
<Param name="IsOneLine" value="False" />
<Param name="Text" value=" " />
</Paragraph>
</Title>
</TitleDLL>
</Titles>
</TransitionsAndEffects>

by changing the values in "EntranceVideoRect", "MainVideoRect" and "ExitVideoRect" you determine where the video is displayed.
value="left top width height"
Riyjhuw is not online. Last active: 7/1/2010 11:09:23 PM Riyjhuw
Joined: 01 Nov 2009
Total Posts: 30
 
Re: move up effect
Posted: 26 Nov 2009 01:52 PM
OMG WOW THANK YOU THATS AWASOME!!!!!!!!!!!!!!!

http://www.youtube.com/watch?v=Czj1s9H7sBA

216986
PatrickL is not online. Last active: 9/2/2010 9:47:02 AM PatrickL
pleabo.home.comcast.net
Top 25 Poster
Joined: 31 Jul 2005
Total Posts: 1136
 
Re: move up effect
Posted: 27 Nov 2009 11:13 AM
Nice solution RobertJ. I never think of using titles. And nice use of it Riyjhuw.

Just for completeness, here is an effects solution using a Source and Destination rectangle: Sample Video

Put this FX code in the Shared folder (ShaderTFX not required):

// Save as DPL Offset FX.fx to the Shared Folder -- PatrickL 11/27/09
#include "common.fxh"

//Global semantics for Offset Effect
shared float4 rectS : SourceRect = {0,0,1,1};
shared float4 rectD : DestRect = {0.25,0,0.5,0.5};
shared float4 bgclr : BackGroundColor = {0,0,0,1};

////////////////////////////////////////////////////////////////////////////////
// In Rectangle Subroutine
bool isInRect(float2 t, float4 rect) {
return (t.x<=(rect.x)?false:(t.x>=(rect.x+rect.z)?false:(t.y<=(rect.y)?false:(t.y>=(rect.y+rect.w)?false:true))));
}
////////////////////////////////////////////////////////////////////////////////
// Pixel Shader For Offset Effect
float4 PS_Offset(float2 t : TEXCOORD0) : COLOR {
float4 c0 = bgclr;
if (isInRect(t,rectD)) {
t = float2(((t.x-rectD.x)/rectD.z)*rectS.z+rectS.x, ((t.y-rectD.y)/rectD.w)*rectS.w+rectS.y);
c0 = tex2D(PointSampler, t);
}
return c0;
}

////////////////////////////////////////////////////////////////////////////////
// Offset Effect Technique
technique Offset {
pass P0 {
VertexShader = compile vs_2_0 VS_Basic();
PixelShader = compile ps_2_0 PS_Offset();
}
}


And this XML in the AddOnTFX folder - four sample useages:

<!-- ************* Save as DPL Offset FX.xml to AddOnTFX folder************* -->
<TransitionsAndEffects Version="2.8" >
<Effects>
<EffectDLL guid="TFX">

<Effect name="DPL Offset D->C" iconid="6" guid="DPL Offset D->C" ShaderModel="2">
<Animation value="FX" />
<FXFile value="DPL Offset FX.fx" />
<Technique value="Offset"/>
<Semantics>
<SourceRect type="float4" value="0,0,1,1" />
<DestRect type="float4" evaluation="Linear" >
<Point time="0.0" value="0.0, 0.50, 1, 1"/>
<Point time="0.9" value="0.0, 0.00, 1, 1"/>
</DestRect>
</Semantics>
</Effect>

<Effect name="DPL Offset U->C" iconid="6" guid="DPL Offset U->C" ShaderModel="2">
<Animation value="FX" />
<FXFile value="DPL Offset FX.fx" />
<Technique value="Offset"/>
<Semantics>
<SourceRect type="float4" value="0,0,1,1" />
<DestRect type="float4" evaluation="Linear" >
<Point time="0.0" value="0.0, -0.50, 1, 1"/>
<Point time="0.9" value="0.0, 0.00, 1, 1"/>
</DestRect>
</Semantics>
</Effect>

<Effect name="DPL Offset DZ->C" iconid="6" guid="DPL Offset DZ->C" ShaderModel="2">
<Animation value="FX" />
<FXFile value="DPL Offset FX.fx" />
<Technique value="Offset"/>
<Semantics>
<BackGroundColor type="float4" value="0,0,0,1" />
<SourceRect type="float4" evaluation="Linear" >
<Point time="0.0" value="0.25, 0.25, 0.5, 0.5"/>
<Point time="0.5" value="0.25, 0.25, 0.5, 0.5"/>
<Point time="0.95" value="0.0, 0.0, 1, 1"/>
</SourceRect>
<DestRect type="float4" evaluation="Linear" >
<Point time="0.0" value="0.0, 0.50, 1, 1"/>
<Point time="0.5" value="0.0, 0.00, 1, 1"/>
</DestRect>
</Semantics>
</Effect>

<Effect name="DPL Offset DS->C" iconid="6" guid="DPL Offset DS->C" ShaderModel="2">
<Animation value="FX" />
<FXFile value="DPL Offset FX.fx" />
<Technique value="Offset"/>
<Semantics>
<SourceRect type="float4" value="0,0,1,1" />
<DestRect type="float4" evaluation="Linear" >
<Point time="0.0" value="0.25, 0.75, 0.5, 0.5"/>
<Point time="0.45" value="0.25, 0.25, 0.5, 0.5"/>
<Point time="0.9" value="0.0, 0.0, 1, 1"/>
</DestRect>
</Semantics>
</Effect>

</EffectDLL>
</Effects>
</TransitionsAndEffects>


Have fun, PatrickL

DPL Freeware Effects and Transitions for Vista MM Website
Riyjhuw is not online. Last active: 7/1/2010 11:09:23 PM Riyjhuw
Joined: 01 Nov 2009
Total Posts: 30
 
Re: move up effect
Posted: 27 Nov 2009 11:52 AM
http://www.youtube.com/watch?v=Czj1s9H7sBA

yeah umm RobertJ answered before you so yeah... i wil still use it i guess.

oh and this is the code i used after tweeking

one more thing though... what i need is to change 1 kind of color to a different color... for example changing blues to yellows but everything else stays the same...

<TransitionsAndEffects Version="2.8">
<Effects>
<EffectDLL guid="TFX">

<Effect name="VerticalFlip" iconid="7" guid="VerticalFlip">
<Param name="Animation" value="TitleStandard" />
<Param name="Description" value="Displays Video To, Bottom and then Full Screeen" />
<Param name="EntranceVideoRect" value="0.0 0.7 1.0 1.0" />
<Param name="MainVideoRect" value="0.0 0.0 1.0 1.0" />
<Param name="ExitVideoRect" value="0.0 0.0 1.0 1.0" />
<Param name="RenderOrder" value="RenderFirst" />
<Paragraph>
<Param name="ShadowOutline" value="None" />
<Param name="BoundingRect" value="0.0 0.0 1.0 1.0" />
<Param name="FontSize" value="14" />
<Param name="EntranceEffect" value="EffectFade" evaluation="Linear"/>
<Param name="EntranceDuration" value="0.75" />
<Param name="ExitEffect" value="EffectFade" evaluation="Linear"/>
<Param name="ExitDuration" value="3.0" />
<Param name="IsOneLine" value="False" />
<Param name="Text" value=" " />
</Paragraph>
</Effect>

</EffectDLL>
</Effects>
</TransitionsAndEffects>

216986
Riyjhuw is not online. Last active: 7/1/2010 11:09:23 PM Riyjhuw
Joined: 01 Nov 2009
Total Posts: 30
 
Re: move up effect
Posted: 27 Nov 2009 02:01 PM
oops

this is the code i used after tweeking not the one above

<TransitionsAndEffects Version="2.8">
<Effects>
<EffectDLL guid="TFX">

<Effect name="VerticalFlip" iconid="7" guid="VerticalFlip">
<Param name="Animation" value="TitleStandard" />
<Param name="Description" value="Displays Video To, Bottom and then Full Screeen" />
<Param name="EntranceVideoRect" value="0.0 0.75 1.0 1.0" />
<Param name="MainVideoRect" value="0.0 0.0 1.0 1.0" />
<Param name="ExitVideoRect" value="0.0 0.0 1.0 1.0" />
<Param name="RenderOrder" value="RenderFirst" />
<Paragraph>
<Param name="ShadowOutline" value="None" />
<Param name="BoundingRect" value="0.0 0.0 1.0 1.0" />
<Param name="FontSize" value="14" />
<Param name="EntranceEffect" value="EffectFade" evaluation="Linear"/>
<Param name="EntranceDuration" value="0.75" />
<Param name="ExitEffect" value="EffectFade" evaluation="Linear"/>
<Param name="ExitDuration" value="3.0" />
<Param name="IsOneLine" value="False" />
<Param name="Text" value=" " />
</Paragraph>
</Effect>

</EffectDLL>
</Effects>
</TransitionsAndEffects>

216986
RobertJ is not online. Last active: 9/1/2010 7:46:57 PM RobertJ
Joined: 04 Nov 2009
Total Posts: 137
 
Re: move up effect
Posted: 27 Nov 2009 07:50 PM
I used the titles because it was quick and easy. Also, I had used something similar for a project I had done before I began using the ShadersTFX and such.
I also came up with a solution using the PIP.
Previous Thread :: Next Thread 
Page 1 of 1
 
Movie Maker Forums  > Movie Maker Users Showcase  > Share Your Vista Transitions and Effects!!  > move up effect