TechnoRobbo

TR's Distort This! - Plugin V2.7.4 (Mar 6th, 2016)

130 posts in this topic

 

Does your code require special PDN4 or .NET4 functionality?

If not then there is no need to create two versions.

 

When I installed 4.0 my VS references were invalid so I had to use net 4.0

Since it's not backwards compatible all the changes that I needed for PDN 4.0 UI changes got compiled in Net 4.0

I rebooted my old Vista Computer (with 3.5.11) and rebuilt the changed plugins so noone using the plugins would be disenfranchised.

 

I will be loading the (when I can get to it) VS on the Vista machne and making the plugin universal.

So the answer to your question is - it's transitional and good customer service.

Edited by TechnoRobbo
0

Share this post


Link to post
Share on other sites

I appreciate your customer service :-)

You could just copy the 3.5.11 libs and exe and reference them. In this case the target project must be .NET 3.5.

There is no special need to build on a different computer.

0

Share this post


Link to post
Share on other sites

Thanks, Thats a good suggestion I'll copy the files from my Vista machine.

0

Share this post


Link to post
Share on other sites

All features of the Plugin - now work with 3.511 and 4.0 

0

Share this post


Link to post
Share on other sites

Version 2.5.0 Update

 

-Larger interface

-Click and Drag Handles

- single pixel accuracy

 

 

click on fullscreen for best quality

 
Music by TechnoRobbo
Edited by TechnoRobbo
0

Share this post


Link to post
Share on other sites

Nice new interface TR, thanks. Cool music on the video too  B)

Edited by DrewDale
0

Share this post


Link to post
Share on other sites

Thanks DD, 

I had a change of heart - I put interaction with "Selection" back in. I figured someone would miss it.

 

To ALL V 2.5.1 updated - reacts to selections

Edited by TechnoRobbo
0

Share this post


Link to post
Share on other sites

I made a photo manip using the old version of this plugin and I think I have the old one figured out pretty good.  The new version looks a lot different and closer to the "Quadrilateral Reshape" plug in than the old version of "Distort This" and I am afraid I may not be able to do some of the things with the new version that I can with the old. Will the new overwrite the old or should I rename the old one first if possible? I am not sure if I should keep both or not. How much different are they? 

 

This is the original pic I used;     th_pumpkins-foster-city-oracle-buildings

 

 

And with the old version of "Distort This" and a few more plugins,I made this;   th_216-c_zps7b7ddfc0.png

0

Share this post


Link to post
Share on other sites

fear not, the algorithm is the same algorithm, the results will be the same.

 

Sometimes Code Lab (God bless it) only takes you so far. I just incorporated the four controls into one. I also added single pixel nudging,  I also incorporated a Busy indicator so you know when it's done. 

 

Yes it overwrites the old one, but I wouldn't worry. 

 

Ominous graphics by the way.  Makes me think of Rush 2112 for some reason.

0

Share this post


Link to post
Share on other sites

I downloaded it,it replaced the old,I can't do the things I used to be able to. It's the same but different,lol.

 

I should have kept the old,lol.

 

 

i thought,Hey I still have the old one in downloads and I'll just rename and put it in effects.  Wrong,,, It overwrote that too,lol. Oh well this one is cool but I loved the old one.  ;)

Edited by skullbonz
0

Share this post


Link to post
Share on other sites

Hmmm. I'm curious as to what you can't do. I want to let you do what you want to do. This system should let you do everything and more since you can align to the pixel, but if there's something that has been taken away let me know so I can correct it.

 

Can you site some specifics and i'll do my best.

 

Here is a copy of V2.2.  you can run them concurrently

 

DistortThis2_2.zip

Edited by TechnoRobbo
0

Share this post


Link to post
Share on other sites

This is the one I had;          http://www.youtube.com/watch?v=cNFHjSDoL0o#t=15

 

 

 

The new one acts more like the Quadrilateral Reshape but with a fancier control which is real nice if that is what you want to do. The old one did not change where the corners of the image were,just parts of the image. I could do some cool things with that in like the image I posted above or in my space nebulae in my gallery.

Edited by skullbonz
0

Share this post


Link to post
Share on other sites

did u try turning alpha transparnecy off? That creates the foldover effect

Edited by TechnoRobbo
0

Share this post


Link to post
Share on other sites

Skull, Upgraded to 2.5.3 to make it behave more like the original. 

0

Share this post


Link to post
Share on other sites

It works awesome TR,Thank you and have a Merry Christmas.   I'll have a wild pic to show you soon,lol.   ;)

0

Share this post


Link to post
Share on other sites

This plugin is not showing to me in Distort menu (PDN 3.5.11).

0

Share this post


Link to post
Share on other sites

should look like this 

 

Like%20this.png?raw=1

I tested on a PDN 3.511 Vista Machine and PDN 4.0 Windows 7.

 

Make sure you overwrote the old DLL.

 

Hovering your mouse over the file in the Effects folder should show this description

Like%20this2.png?raw=1

 

Third possiblility is that PDN was running when downloaded and needed to restart for changes to take effect

Edited by TechnoRobbo
1

Share this post


Link to post
Share on other sites
Thanks, is my fault,  I was looking for as named Distort this... plugin but the fact is TR's Distort this ...

The plugin name is Distort This not TR's Distort this ...

Z1VxGgW.png

0

Share this post


Link to post
Share on other sites

One and the same,lol.

 

TR is it possible to make a plugin that explodes an image outward from the center in all directions?  Sort of like a cross between this plugin and the bulge plugin.   :)

0

Share this post


Link to post
Share on other sites

I can give it a shot , it'll be a barrel distortion. Easiest to calculate

Edited by TechnoRobbo
0

Share this post


Link to post
Share on other sites

Skull, Before I do anything, here's a proof of concept code for the barrel distortion - is this what you meant?

in essence I would apply this code prior to mapping the texture.

 

CodeLab Code

Hidden Content:

#region UICode

double Amount1 = 0.5; // [0,.75] Control Description
#endregion
 
void Render(Surface dst, Surface src, Rectangle rect)
{
    // Delete any of these lines you don't need
    Rectangle selection = EnvironmentParameters.GetSelection(src.Bounds).GetBoundsInt();
    float CenterX = selection.Width/2;
    float  CenterY = selection.Height/2;
    float A1= (float)Amount1;
    ColorBgra CurrentPixel;
 
    for (int y = rect.Top; y < rect.Bottom; y++)
    {
        for (int x = rect.Left; x < rect.Right; x++)
        {
            float ox=(float)x;
            float oy =(float)y;
            float nx = (ox - CenterX) / CenterX;
            float ny = (oy - CenterY)/ CenterY;
            
 
            nx= nx * nx * Math.Sign(nx);
            nx = (nx + 1) / 2 * CenterX * 2;
            ny= ny * ny * Math.Sign(ny);
            ny = (ny + 1) / 2 * CenterY * 2;
            
            nx=nx * A1 + ox - ox * A1;
            ny=ny * A1 + oy - oy * A1;
 
            
            CurrentPixel = src.GetBilinearSampleClamped((int)nx,(int)ny);
            
            dst[x,y] = CurrentPixel;
        }
    }

}

BarrelTest.zip

Edited by TechnoRobbo
0

Share this post


Link to post
Share on other sites

bloody potato,I haven't upgraded to PDN 4 yet so I can't see them.   :(    With all the other plugins that aren't working in the upgrade I have been hesitant to do it yet. 

 

 

But here is something I made with the new Distort This plugin,started with a gold fish,lol.  

 

th_219-b_zpsfd683dfb.png

 

 

lol,bloody potato,lol,not what i typed,lol

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now