Jump to content
How to Install Plugins ×

TR's FreeWarp V1.9.2 (Jan. 1, 2016)


TechnoRobbo

Recommended Posts

TechnoRobbo's FreeWarp v1.9.2

 

TR’s FreeWarp (short for TechnoRobbo’s Freestyle Warp) was designed for the artist to intuitively reshape an image by stretching it’s detail.

 

The math employed was a built from the ground up as deliberate departure from Beier-Neely’s Algorithm and the standard mesh warp, Allowing the stretching to be arbitrary.

 

 

Version 1.92 adds AutoSave and more internal stuff.

Version 1.91 adds an Opacity adjustment and some internal stuff

Version 1.9 adds a Warp Curvature adjustment and preview

Version 1.8 Fixes Undo

Version 1.7.1 Cursor Scaling Fix.

Version 1.7 warping within selections.

Version 1.6 adds functionality and speed

Version 1.5 Re-invents the user interface

Version 1.2 Puts back missing Label

Version 1.1 Fine Location Control Added

 

FreeWarp Tutorial

Tutorial Music by TechnoRobbo

 

 

 

Menu: Effects->Distort

 

FreeWarpMenu.png?raw=1

 

 

Left-Click Key to Warp - Save to Keep Warp

 

 

Old Version 1.5

http://youtu.be/8ZiKjh9dRsI

 

Version 1.1 Video

 

Warp1.png?raw=1

 

Warp2.png?raw=1

 

 

Warp3.png?raw=1

 

 

Warp4.png?raw=1

 

Warp5.png?raw=1

 

 

CarlasHusband.png?raw=1

 

Mutti_merkel.png?raw=1

 

 

 

How it Works

 

The Algorithm has 2 distinct parts:
 


1. Distort the Image

2. Localize Warping

 
..and 3 distinct parameters.
 

1. The Origin – where the warp begins

2. The Target – where the warp ends

3. The Minimum Warp Size – the size of the warped area

 
(If you continue to stretch the image beyond this size the algorithm adjusts this parameter)
 

Distort the Image

Stretching the image is achieved by dividing the image into parts. The Stretched Side and the Compressed Side. The demarcation point is the Target point. Anything on the Origin side of the Target it stretched from the image border – anything on the opposite side is compressed towards the image border.
 
In the Source Code this is labeled “//reverse mapping”.
 


Localizing the Warp

Localizing control of the warp is a simple matter of finding the distance of a pixel to the imaginary line segment created by the Origin Point and the Target Point.
 
In the Source Code this is the “distance” function.
 
The distance is normalized by diving it with the Minimum Warp Size. If the distance between Origin and Target (Pythagorean Theorem) exceeds the Minimum Warp Size the distance is used.
 
Normalizing results (d) is a value between 0 and 1 that is used as the control in a linear interpolation between the Source pixel (uu,vv) and the Target Pixel (x,y).
 


uu = d * x + uu - uu * d;

vv = d * y + vv - vv * d;

 
I hope I shed some light on the code for the programmers – I’m sorry if I bored the rest.
 
 
 
 

The Source Code 

 

 

 

The Plugin

TRsFreeWarp.zip

Edited by TechnoRobbo
  • Upvote 8

Go out there and be amazing. Have Fun, TR
TRsSig.png?raw=1
Some Pretty Pictures Some Cool Plugins

Link to comment
Share on other sites

 

TechnoRobbo!

 

Fantastic, Thank you for the plugin.

 

Imagination has no limits...

 

q7fwxjai.jpg

 

*it's me 3 years old. 
  • Upvote 2

Live as if you were to die tomorrow. Learn as if you were to live forever.

Gandhi

 

mae3426x.png

Link to comment
Share on other sites

Great fun. Thanks for the continued work :)

I started with this on a separate layer

screen1_zpsb2f29738.jpg

 

Used Freewarp / Duplicated the result / ran drop shadow and then conditional hue / saturation, played with blend modes, added your scatter effect and got this :)

shape1_zps54984398.png

  • Upvote 3

swIFX9v.png

 

 

 

Link to comment
Share on other sites

Ooh, it's like Kai's Power Goo!  I like!

 

The Doctor: There was a goblin, or a trickster, or a warrior... A nameless, terrible thing, soaked in the blood of a billion galaxies. The most feared being in all the cosmos. And nothing could stop it, or hold it, or reason with it. One day it would just drop out of the sky and tear down your world.
Amy: But how did it end up in there?
The Doctor: You know fairy tales. A good wizard tricked it.
River Song: I hate good wizards in fairy tales; they always turn out to be him.

Link to comment
Share on other sites

Updated Version 1.1  - adds a Fine Location Control for cursor

 

David & Nurse- Thank You

 

 

 

Red Ochre -I didn't know Obama was half pixie!  :lol:

 

Red - He is , I've seen his Birth Certificate

 

 

Midora - 

It's not fair. I'm missing the german 'Mutti'.

I think someone already warped her...

 

Mutti.PNG?raw=1

Edited by TechnoRobbo

Go out there and be amazing. Have Fun, TR
TRsSig.png?raw=1
Some Pretty Pictures Some Cool Plugins

Link to comment
Share on other sites

My Apologies the "Hold Control to Warp" disappeared from last version. I put it back.

(Here's a tip keep holding Control until you save)

 

I've also added a "How It Works" section to the Original Post to make up for my lack of commentary in the sourcs code.

 

FreeWarpMenu.png?raw=1

Edited by TechnoRobbo

Go out there and be amazing. Have Fun, TR
TRsSig.png?raw=1
Some Pretty Pictures Some Cool Plugins

Link to comment
Share on other sites

  • 3 weeks later...
  • 2 years later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...