Riyjhuw
|
| Joined: 01 Nov 2009 |
| Total Posts: 30 |
| |
|
request fixed zoom out/in Posted: 07 Nov 2009 02:05 AM |
| basically i need 4 fixed zoom out/in Effect that zooms out/in by levels 1 - 2 - 3 - 5 - 10 |
216986 |
|
 |
|
Riyjhuw
|
| Joined: 01 Nov 2009 |
| Total Posts: 30 |
| |
|
Re: request fixed zoom out/in Posted: 07 Nov 2009 02:06 AM |
| 5 fixed zoom out/in Effect not 4... |
216986 |
|
 |
|
Riyjhuw
|
| Joined: 01 Nov 2009 |
| Total Posts: 30 |
| |
|
Re: request fixed zoom out/in Posted: 07 Nov 2009 02:17 AM |
| basically i need 5 fixed zoom out/in Effects that zooms out/in by levels 1 - 2 - 3 - 5 - 10 |
216986 |
|
 |
|
|
Re: request fixed zoom out/in Posted: 07 Nov 2009 07:35 AM |
For Zoom InOut, get Rehan's freeware Vista Pan/Zoom Effects and then build some XML like:
<!-- Save as PanZoomvistaCustom.xml in the AddOnTFX folder -->
<TransitionsAndEffects Version="2.8" specialiconfileid="2001" specialiconresourceid="101">
<Effects>
<EffectDLL guid="TFX">
<Effect name="RPZ: Zoom InOut 2" iconid="0" guid="RPZ Zoom InOut 2" shadermodel="2">
<Param name="Animation" value="FX" />
<Param name="FXFile" value="rehanfx_panzoom.fx" />
<Param name="Technique" value="RehanFXPanZoom" />
<Semantics>
<TextureViewport evaluation="Linear" type="float4">
<Point time="0.0" value="0.00,0.00,1.00,1.00"/>
<Point time="0.3" value="0.25,0.25,0.50,0.50"/>
<Point time="0.6" value="0.25,0.25,0.50,0.50"/>
<Point time="0.9" value="0.00,0.00,1.00,1.00"/>
</TextureViewport>
</Semantics>
</Effect>
<Effect name="RPZ: Zoom InOut 5" iconid="0" guid="RPZ Zoom InOut 5" shadermodel="2">
<Param name="Animation" value="FX" />
<Param name="FXFile" value="rehanfx_panzoom.fx" />
<Param name="Technique" value="RehanFXPanZoom" />
<Semantics>
<TextureViewport evaluation="Linear" type="float4">
<Point time="0.0" value="0.00,0.00,1.00,1.00"/>
<Point time="0.3" value="0.40,0.40,0.20,0.20"/>
<Point time="0.6" value="0.40,0.40,0.20,0.20"/>
<Point time="0.9" value="0.00,0.00,1.00,1.00"/>
</TextureViewport>
</Semantics>
</Effect>
</EffectDLL>
</Effects>
</TransitionsAndEffects>
You will have to fiddle with the TextureViewport values to get what you want. The values represent xleft, ytop, xlength, ylength normalized to 1.0 = screen size. Also modify the time where 0.0 is the beginning and 1.0 is the end of the clip.
For fixed zoom just use the TextureViewport like this in the above XML:
<TextureViewport type="float4" value="0.40,0.40,0.20,0.20"/>
or without Rehan's PanZoom:
<!-- Save As "MyZoom.xml" to AddOnTFX folder -->
<TransitionsAndEffects Version="2.8">
<Effects>
<EffectDLL guid="TFX">
<Effect name="MyZoom 5" iconid="1" guid="MyZoom 5" shadermodel="2">
<Animation value="FXPanZoom" />
<FXFile value="Parity.fx" />
<Technique value="PanZoom" />
<Semantics>
<TextureViewport type="float4" value="0.40,0.40,0.20,0.20"/>
</Semantics>
</Effect>
</EffectDLL>
</Effects>
</TransitionsAndEffects>
Note: At high zooms, the image gets somewhat fuzzy/pixellated.
Have fun, PatrickL
|
DPL Freeware Effects and Transitions for Vista MM Website |
|
 |
|