Jump to content

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


Recommended Posts

MODERATORS NOTE:  this plugin has been superseded by a newer version:

https://forums.getpaint.net/topic/111622-distort-this-v29-july-3-2018/

 

 

TechnoRobbo's DistortThis! V2.7.5+

 

This is a distortion plugin (duh).

 

Version 2.7.0+ adds manual value input and Persistent Data during session.

Version 2.6.6 Adds X & Y Symmetry Option (Suggested by Pratyush)

Version 2.6.5 Updated Render routine - to avoid potential issues

Version 2.6.3 adds more control to Forced Perspective

Version 2.6.2

-better preview.

- select work area to distort.

- better forced perspective

 

 

Hidden Content:

Version 2.5.3 Faster

Version 2.5.1 will work with selections

Version 2.5.0 Larger interface

-Click and Drag Handles

- single pixel accuracy

Version 2.2 release fixes the full frame bug

- allows more free form shapes

Version 2.0 for PDN 4.0

Alpha Transparency for Concave Shapes also

Faster - Streamlined Hit-Test Algorithm

Controls default to Full Screen and Transparency

Version 1.5 adds AlphaTransparency to Convex Shapes

Version 1.7 allows you to create accurate perspective distortion

Normally DistortThis! warps images as if your pulling stretching then corners.

When Perspective is on the image is distorted as if it were 3D!!!!

 

 

Menu: Effects->Distort

The controls:

 

DTMenu.PNG?raw=1

 

V2.6.3 Forced Perspective

Forced Perspective works by assuming that the short edge of the target polygon is closer to the vanishing point and the longer edge is closer to the viewer. Sometimes this may not be the case so 2.6.3 introduces the ability to adjust the amount of forced perspective to compensate..
Photo by Dan Petreikis http://commons.wikim..._Stoplights.JPG

 

 

V 2.5.0 New Interface Video

 

Music by TechnoRobbo

 

The old instructions at you tube:

 

http://youtu.be/cNFHjSDoL0o

 
 
DistortThis.png?raw=1
 
 

AlphaTransparency

 

Setting the Checkbox adds Alpha Transparency to any shape.

 

 Youtube Instructions for Alpha Transparency:

 

http://youtu.be/vGne-wApXDg

 
Perspective.png?raw=1
 

Perspective

 

http://youtu.be/763tkM5Zh84

 

 

PerspectiveBox.png?raw=1

 
 

How it works:

 

Distort This! is a texture mapping algorithm that takes a quadrilateral created by the control sliders, subdivides it into polygons, and use a cross product algorithm to find their relative area. The results are used to UV map the image.

 

 

 

 

The VS Source Code for Programmer

https://www.dropbox.com/s/0esg7otwc4g8r54/TRsDistortThisSrc.zip?dl=0

 

The Plug-In v2.7.5

(bug-fix release by @toe_head2001) :RightArrowBlue:  DistortThis.zip (v2.7.5)

 

 

DistortThis.zip

Edited by toe_head2001
  • Like 1
  • Upvote 8

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

Link to post
Share on other sites

Plugin busybody of the month: @TechnoRobbo! :lol:

 

I don't think anyone has released so many plugins in a single month.  You trying to mess up the Plugin Index? :)

Link to post
Share on other sites

Definitely worth a rep!,

 

Perhaps in VS you could set the default double vector positions to the corners?

Good work! - thanks for publishing your code too - would have taken me lines and lines to do that!

 

Good to keep EER busy too!

 

Red ochre Plugin pack............................................................... Diabolical Drawings

 

PdnForumSig2.jpg

Link to post
Share on other sites
  • 3 weeks later...

Nice video tutorial.  Impressed that the music is yours too :star:

Link to post
Share on other sites
  • 3 months later...

Hi TR,

I'm still using 3.5.11 (on Vista), but thought I would try the new version of 'Distort this' but unfortunately no joy - (well I can't find it under the Distort menu as per the code). No plugin load errors - just doesn't show up -  presumably pointing at the 4.5 net framework now?

I wonder if it might be an idea to have two versions available?

I think setting the default position vectors to the corners is a good idea (I had altered my old copy already ;)  - thanks for the code!).

Very useful plugin.
 

 

Red ochre Plugin pack............................................................... Diabolical Drawings

 

PdnForumSig2.jpg

Link to post
Share on other sites

Hey read,

 

Your right it was compiled using Paint.net 4.0 Framework but it still maybe there.

 

Check under :

 

Effects-> Distort - Tr's Distort This!

 

it used to be just "Distort This!

 

Please, Let me it works in 3.5.11

 

BTW - I believe the controls at  full screen was your idea. - Thanks

Edited by TechnoRobbo

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

Link to post
Share on other sites

Mottoman just told me that none of the plugins compiled in 4.0 framework are working in 3.5.11

 

I'm going to have to repost the 3.5.11 versions.

 

 

I reposted old versions of the changed plugins except doodlematic in my plugin pak post

 

http://forums.getpaint.net/index.php?/topic/26725-technorobbos-plugin-pak-oct-20-2013-1025am-cst/#entry393689

Edited by TechnoRobbo
  • Upvote 1

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

Link to post
Share on other sites

Nice one for the older versions TR  B) - I was going to PM you but it seems you have been alerted by Red & Mottoman.

I installed the updates on my Win7 Laptop and could not see them either. I have .net framework 4.5 with all updates installed. 

 

Doodlematic is not showing up though. (Effects > Artistic)

 

All your updated plug-ins are working fine in PDN 4 and Windows 8.1 pro.

BREtKQW.png

 

Link to post
Share on other sites

I've also tested them on PDN 4 with Windows 7 - It's PDN 3.5.11 that doesn't recognize them.

Doodlematic was a causalty of my absent-mindedness. I didn't back the 3.5 version up. I shall recompile it on old Vista Machine and post it later.

Edited by TechnoRobbo

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

Link to post
Share on other sites

Yup.  Targetting .NET 4.0 instead of 3.5 results in the plugin not showing up in paint.net 3.5.11.

 

http://forums.getpaint.net/index.php?/topic/4209-how-to-debug-your-plugin/?p=343340

Link to post
Share on other sites

Hard Lesson learned had to boot up my old Vista Machine and man did it take long to update.

 

Doodlematic  for PDN 3.5.11 is now in the plugin pak post 

 

http://forums.getpaint.net/index.php?app=core&module=attach&section=attach&attach_id=6850

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

Link to post
Share on other sites

 

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

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

Link to post
Share on other sites
Guest
This topic is now closed to further replies.
×
×
  • Create New...