[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!!  > DPL RotationTFX for ShaderTFX - Overlay, PIP etc.    
Previous Thread :: Next Thread 
 Author Thread: DPL RotationTFX for ShaderTFX - Overlay, PIP etc.
PatrickL is not online. Last active: 12/4/2015 6:48:13 PM PatrickL
pleabo.home.comcast.net
Top 25 Poster
Joined: 31 Jul 2005
Total Posts: 1305
 
DPL RotationTFX for ShaderTFX - Overlay, PIP etc.
Posted: 18 Sep 2008 11:33 AM
I've been playing with ShaderTFX doing rotations.

View Demo

Thought I would put it up for comments before I finalize a package.

The transitions are just fading from ImageA to ImageB while rotating or rocking the images. Thanks dlk in XP/PIP2 Beta land for the idea.

The effects are image overlays where the position, size, translucency, rotation/rock angles and timing are XML controlled. Also the overlay images can be sprite sheets (like DPL AniLogo) for animated overlays (the purple fish).

// XML File semantics for Rotate Effect/Transition
float4 BackgroundColor = {0,0,0,1}; // Background Color - transition only
float4 RectOverlay= {0,0,1,1}; // Position the Overlay, also AB in Transitions
float AlphaOverlay = 1.0; // Overlay Opacity - Overlay only
float Angle = -1.0; // In degrees
float2 RockAngle = {-1.0,0.0}; // In degrees (rock, offset) - Default norock
bool RotateCW = false; // CounterClockwise default
bool FlipH = false; // Flip Overlay Horizontal
bool FlipV = false; // Flip Overlay Vertical
bool WideScreen = false; // Set Widescreen (16:9) Aspect Ratio - default to 4:3
float CycleTime = -1.0; // Cycle time in seconds - Default to Effect Duration
float CycleNum = 1.0; // Number of cycles in Duration
float FadeInTime = 0.0; // Overlay Fade In at Beginning - Time In sec
float FadeOutTime = 0.0; // Overlay Fade Out at End - Time In sec
float4 AniSize = {1,1,1,1}; // Just for Anilogo Sprite Sheet Overlays (nx,ny,n,frametime)

An XML effect to overlay an image, zoom in and rotate with a 1 second cycle would look like:

<!-- *** Save as DPL RotateTFX.xml to AddOnTFX folder *** -->
<!-- Requires Rehan's ShaderTFX -->
<!-- PatrickL 9-17-08 (c) PatrickL -->
<TransitionsAndEffects Version="2.8" specialiconfileid="5617" specialiconresourceid="101">
<Effects>
<EffectDLL guid="ShaderTFX.ShaderEffect">

<Effect name="0 DPL Rotate B3" iconid="0" guid="0 DPL Rotate B3" ShaderModel="2">
<ShaderFilename value="DPL RotateTFX.fx"/>
<Technique value="DPLRotateE" />
<TextureFile value="%ProgramFiles%\Movie Maker\Shared\AddOnTFX\DPL RotateTFX Images\Skull.png"/>
<Semantics>
<RectOverlay evaluation="InverseSquare" type="float4">
<Point time="0.00 " value=" 0.250, 0.250, 0.50, 0.50" />
<Point time="0.75 " value=" 0.000, 0.000, 1.00, 1.00" />
</RectOverlay>
<CycleTime type="float" value="1.0" />
</Semantics>
</Effect>

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


PatrickL

DPL Freeware Effects and Transitions for Vista MM Website
TheOnePb is not online. Last active: 4/3/2010 8:23:13 AM TheOnePb
youtube.com
Top 50 Poster
Joined: 15 Nov 2007
Total Posts: 520
 
Re: DPL RotationTFX for ShaderTFX
Posted: 18 Sep 2008 01:53 PM
I like them a lot, especially the transitions..

My first response on the demo video was: That skull is scary, the background video isn't.. Doesn't fit togehterTongue out!

And a second, more closer look to the effects and transitions (?) wants me to ask: Are the white borders necessary? You've changed the width and hights a bit? (effect?)
And: does this mean you can make a rotation effect with starting to rotate slow to faster??

Love it!

TheOnePb

Movie Maker 6.0 on Windows 7 + ShaderTFX, registeredSmiley
http://youtube.com/profile?user=TheOnePb1
PatrickL is not online. Last active: 12/4/2015 6:48:13 PM PatrickL
pleabo.home.comcast.net
Top 25 Poster
Joined: 31 Jul 2005
Total Posts: 1305
 
Re: DPL RotationTFX for ShaderTFX
Posted: 20 Sep 2008 11:47 AM
Hey TOP,

To soften the impact of the skulls, I added a couple of comic car effects at the end of the demo to calm your nerves.Wink

The white borders are just alignment marks on the overlay image for my testing as are the numbers on the animated fish, and yep, you can change the aspect ratio with the RectOverlay parameter. It gets a little distorted (parallelogram) when rotated off of 90 degree angle increments, but I did corect the aspect ratios at the 90's.

The timing can be controlled with the Point time parameter, or like the example above when evaluation="Square" it starts out slow and increases speed.

PatrickL

DPL Freeware Effects and Transitions for Vista MM Website
Rehan is not online. Last active: 5/8/2012 5:49:17 PM Rehan
www.rehanfx.org
Top 25 Poster
Joined: 21 Apr 2004
Total Posts: 2176
 
Re: DPL RotationTFX for ShaderTFX
Posted: 20 Sep 2008 07:34 PM
Hi Patrick,
This has made me re-work on shadertfx as it highlighted major issues. The funny aspect ratio during rotation is something I would like to eliminate in next version. However well done on programming.

www.rehanfx.org - do more with Windows Movie Maker...
rehanfx.x10hosting.com - mirror site
PatrickL is not online. Last active: 12/4/2015 6:48:13 PM PatrickL
pleabo.home.comcast.net
Top 25 Poster
Joined: 31 Jul 2005
Total Posts: 1305
 
Re: DPL RotationTFX for ShaderTFX
Posted: 25 Sep 2008 03:33 PM
View Demo Video for a video sample of these Transitions and Effects (same as above).

If you like what you see, Download and run the installer exe. You may need administrator privilege. It has a proper uninstaller.
Sixteen Rotate effects and seven transitions will be installed.

You must have ShaderTFX installed and operating.

This package is mostly samples and a kit waiting for creative image makers and XML writers to expand it with their talents.

The Rotation function just rotates an image around its center or rocks it +=angle, and of course can be no rotation (angle=0). The rotation/rocking can be angle, number of cycles or cycletime controlled.

The transitions included are:
1. Fade from A to B while rotating or rocking both.
2. PIP showing an image or video on a background video or image. The PIP size and position is controlled with a rectangle parameter and rotated or rocked or static and can be transparent.

The effects included are:
1. Overlay Logo/Watermark images positioned and sized with rectangles having transparency that can spin or rock.
2. Overlay Animated Images which can use any of the sprite sheets used in the DPL Anilogo packages plus spin/rock.
3. Just spin/rock/resize the underlying video/image.

This is actually a nice general purpose Overlay Effect package which includes sizing, placement, timed fade in/out, transparency, rotation/rocking and sprite animation.

Also, in case the underlying image/video on the timeline does not match the aspect ratio of the project, a letterbox effect is supplied to put on the image first, then the other effects will be placed where you expect.

Enjoy, PatrickL


DPL Freeware Effects and Transitions for Vista MM Website
TheOnePb is not online. Last active: 4/3/2010 8:23:13 AM TheOnePb
youtube.com
Top 50 Poster
Joined: 15 Nov 2007
Total Posts: 520
 
Re: DPL RotationTFX for ShaderTFX
Posted: 26 Sep 2008 07:31 AM
Thanks! They work fine and I really like Rock180! :D !

I turned the background immediately to black, looks betterWink!
Thanks,

TheOnePb

Movie Maker 6.0 on Windows 7 + ShaderTFX, registeredSmiley
http://youtube.com/profile?user=TheOnePb1
PatrickL is not online. Last active: 12/4/2015 6:48:13 PM PatrickL
pleabo.home.comcast.net
Top 25 Poster
Joined: 31 Jul 2005
Total Posts: 1305
 
Re: DPL RotationTFX for ShaderTFX
Posted: 06 Oct 2008 12:32 AM
A little fun with effects. Scenery demo.

I saw an example of some moving 2D overlays to create the illusion of a moving viewpoint across a scene. This is my trial using the above RotationTFX plus some others.

A background scene of clouds and sky plus some moving things (saucer and flying pigs). Then add some grass and shrubbery moving and rocking (1 degree) a bit and a hip walking skeleton all surrounded by a thin frame. Hmmmm, interesting, kinda perspective video.

The XML for the grass and skeleton using DPL RotationTFX is:

<TransitionsAndEffects Version="2.8" specialiconfileid="5639" specialiconresourceid="101">
<Effects>
<EffectDLL guid="ShaderTFX.ShaderEffect">
<Effect name="@ DPL PDGrass1" iconid="0" guid="DPL PDGrass1" ShaderModel="2">
<ShaderFilename value="DPL RotateTFX.fx"/>
<Technique value="DPLRotateE" />
<TextureFile value="%ProgramFiles%\Movie Maker\Shared\AddOnTFX\DPL RotateTFX Images\PDGrass1.png"/>
<Semantics>
<RectOverlay evaluation="Linear" type="float4">
<Point time="0.00 " value=" -0.3,0.2, 1.3, 0.9" />
<Point time="1.00 " value=" 0.0,0.2, 1.3, 0.9" />
</RectOverlay>
<RockAngle type="float2" value="0.5, 0.0" />
<CycleTime type="float" value="1.0" />
</Semantics>
</Effect>
<Effect name="@ DPL Skeleton1" iconid="0" guid="@ DPL Skeleton1" ShaderModel="2">
<ShaderFilename value="DPL RotateTFX.fx"/>
<Technique value="DPLRotateE"/>
<TextureFile value="%ProgramFiles%\Movie Maker\Shared\AddOnTFX\DPL RotateTFX Images\Skeleton1.png"/>
<Semantics>
<AniSize type="float4" value="5,5,24,2.0" />
<RectOverlay evaluation="Linear" type="float4">
<Point time="0.00" value=" 1.4 , 0.50, 0.25, 0.5"/>
<Point time="1.00" value=" -0.8, 0.50, 0.25, 0.5"/>
</RectOverlay>
<FlipH type="bool" value="true" />
</Semantics>
</Effect>
</EffectDLL>
</Effects>
</TransitionsAndEffects>



Enjoy and happy creating, PatrickL

DPL Freeware Effects and Transitions for Vista MM Website
Previous Thread :: Next Thread 
Page 1 of 1
 
Movie Maker Forums  > Movie Maker Users Showcase  > Share Your Vista Transitions and Effects!!  > DPL RotationTFX for ShaderTFX - Overlay, PIP etc.