Recommended Posts

You are absolutely correct @Red - it's in the Pack on the first page :D .

Share this post


Link to post
Share on other sites

Crash Description

Grid Warp crashes if you open it for the first time with PDN and right-click before ever clicking a control point. Crashed reliably about 11 times in a row when repeatedly tested, until I left-clicked and moved a control point, after which it never crashed (even after restarting paint.net). Might be a rare bug. Windows 10 Home, 64-bit. Paint.NET version 4.0.12. Grid Warp version 4.0.5.

 

Exception Details

System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
Parameter name: source.Size=6,8, newSize=16,16, but the new size must be smaller
   at PaintDotNet.Rendering.ResizeSuperSamplingRendererBgra..ctor(IRenderer`1 source, Int32 newWidth, Int32 newHeight) in D:\src\pdn\src\Core\Rendering\ResizeSuperSamplingRendererBgra.cs:line 283
   at PaintDotNet.Rendering.RendererBgraExtensions.ResizeSuperSampling(IRenderer`1 source, Int32 newWidth, Int32 newHeight) in D:\src\pdn\src\Core\Rendering\RendererBgraExtensions.cs:line 150

 

More Details

After the plugin stopped crashing, it didn't respond to changing the background color for the editing area of the canvas (but responded to changing the background color of the outer area). That's interesting, too.

Edited by AnthonyScoffler

Share this post


Link to post
Share on other sites
On 12/15/2016 at 9:57 PM, pyrochild said:

I can't repro this. Is that the full exception? Is there a log? Is it crashing Paint.NET or just the plugin?

Sorry that I didn't include the full log there. It crashed Paint.net with an unhandled OutOfRange exception for something in a MouseDown event handler. It was when right-clicking, so maybe it's related to the number of items in the context menu. I'll post a log if I can get it to crash again.

Share this post


Link to post
Share on other sites

Is there any way to make it so when you move the grid wrap it isn't curvy, but rather a straight line from one point to the other? Something like a trapezoid, Or like when you use perspective on an image. I've been looking everywhere for a plugin that can do that and I can't find it, and perspective doesn't work nearly as well.

Share this post


Link to post
Share on other sites

I can't see the purpose of having a grid distortion consisting of a bunch of different perspective transformations. What would it be used to do?

Share this post


Link to post
Share on other sites
On 3/8/2017 at 11:38 AM, Darkdrixer said:

Is there any way to make it so when you move the grid wrap it isn't curvy, but rather a straight line from one point to the other? Something like a trapezoid, Or like when you use perspective on an image. I've been looking everywhere for a plugin that can do that and I can't find it, and perspective doesn't work nearly as well.

added enhancement request

https://github.com/bsneeze/pdn-gridwarp/issues/4

  • Upvote 1

Share this post


Link to post
Share on other sites
11 minutes ago, gingerwithasoul said:

but is there a way to see the layers below the one I'm on while using the tool?

 

Copy the layer/ image to the clipboard, switch to the layer you want to gridwarp - right click on the canvas when gridwarp is open and choose the clipboard option

  • Like 2

Share this post


Link to post
Share on other sites
3 hours ago, welshblue said:

Copy the layer/ image to the clipboard, switch to the layer you want to gridwarp - right click on the canvas when gridwarp is open and choose the clipboard option

 

All my years of using GridWarp, and I didn't know it had that very valuable feature! Thanks, welshblue -- and, of course, pyrochild!

Share this post


Link to post
Share on other sites

An option to change the  color of the black grid lines would be nice. The nods get lost on a dark background.darkgrid-537f9ce.png

Spoiler

 

 

Share this post


Link to post
Share on other sites
On 12/14/2016 at 12:59 AM, Joshua Lamusga said:

Crash Description

Grid Warp crashes if you open it for the first time with PDN and right-click before ever clicking a control point. Crashed reliably about 11 times in a row when repeatedly tested, until I left-clicked and moved a control point, after which it never crashed (even after restarting paint.net). Might be a rare bug. Windows 10 Home, 64-bit. Paint.NET version 4.0.12. Grid Warp version 4.0.5.

 

Exception Details

System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
Parameter name: source.Size=6,8, newSize=16,16, but the new size must be smaller
   at PaintDotNet.Rendering.ResizeSuperSamplingRendererBgra..ctor(IRenderer`1 source, Int32 newWidth, Int32 newHeight) in D:\src\pdn\src\Core\Rendering\ResizeSuperSamplingRendererBgra.cs:line 283
   at PaintDotNet.Rendering.RendererBgraExtensions.ResizeSuperSampling(IRenderer`1 source, Int32 newWidth, Int32 newHeight) in D:\src\pdn\src\Core\Rendering\RendererBgraExtensions.cs:line 150

 

More Details

After the plugin stopped crashing, it didn't respond to changing the background color for the editing area of the canvas (but responded to changing the background color of the outer area). That's interesting, too.

This should be fixed in the beta attached below. Please give it a try.

It was caused if there was an image on the system clipboard smaller than the clipboard preview in the context menu. (16x16 then, 33x33 now)

 

On 11/24/2017 at 3:53 PM, Eli said:

An option to change the  color of the black grid lines would be nice. The nods get lost on a dark background.darkgrid-537f9ce.png

  Reveal hidden contents

 

This is implemented in the beta attached. Just click the new Color wheel button on the left side. Note that this also replaces the right-click menu for the background and frame color settings.

 

<deleted attachment - please get the release version from the pack thread>

Edited by pyrochild
  • Like 2
  • Upvote 2

Share this post


Link to post
Share on other sites

Update!

  • New: feature to choose gridline color
  • Fix crash when opening colors page if clipboard image is smaller than preview
  • Fix crash when there's an error saving or loading gridwarp files
  • Fix: alpha turns to 0 if a color chooser starts at black and a slider is used

 

Installer:

  • New: now supports installing plugins for Window Store version of paint.net
  • New: add option to start paint.net after successful installation
  • Like 3
  • Upvote 1

Share this post


Link to post
Share on other sites

Pyro,

 

Any chance that a simple update could be made to enable/disable bezier curves on the grid ie allow straight line warps? (I know there are other plugins out there that do perspective warping but would be nice to have in this plugin/package, especially as a simple toggle option)

 

Cheers,

 

Chad

(been using your plugins for years -- many thanks)

Share this post


Link to post
Share on other sites

This is EXACTLY the kind of selective-stretching feature that should be a standard part of Paint.net.

 

I was disappointed, though, to find that it opens the current layer in a separate window to stretch it. Typically, I'd use this to distort the selection to match the size and/or perspective of the overall image (for example, pasting a door onto a house photo). Without being able to see the complete image, it takes many freehand attempts to get the changes right. It'd be so much easier if the plugin superimposed the warp grid over the normal editing area... Is there a reason you avoided doing that?

 

Also, no Undo (Ctrl+Z)? Without that, even the slightest miscalculation requires you to start over. Each. Time. Please consider adding this as well.

Edited by anderpainter

Share this post


Link to post
Share on other sites
On 11/25/2017 at 5:31 AM, gingerwithasoul said:

but is there a way to see the layers below the one I'm on while using the tool?

 

Use Copy Merged (Ctrl+Shift+C) to fill the clipboard, switch to the layer you want to warp, then open GridWarp and right click on the canvas + Clipboard option

Share this post


Link to post
Share on other sites
1 hour ago, anderpainter said:

Is there a reason you avoided doing that?

 

Plugins can only access the current layer.

Share this post


Link to post
Share on other sites
On 4/22/2018 at 6:08 PM, anderpainter said:

Without being able to see the complete image, it takes many freehand attempts to get the changes right. It'd be so much easier if the plugin superimposed the warp grid over the normal editing area... Is there a reason you avoided doing that?

On 4/22/2018 at 7:55 PM, Ego Eram Reputo said:

 

Use Copy Merged (Ctrl+Shift+C) to fill the clipboard, switch to the layer you want to warp, then open GridWarp and right click on the canvas + Clipboard option

 

I followed your instructions, but right-clicking in GW's window has no effect—no context menu or anything else. What am I doing wrong?

 

On 4/22/2018 at 7:56 PM, Ego Eram Reputo said:

 

Plugins can only access the current layer.

 

I realize that. I was referring only to being able to see the other layers while using it—not using it on more than one layer at once, if that's what you meant.

 

Considering many of us would use this to adjust perspective in relation to other layers, it'd also be very useful to be able to move the layer being "warped", then make further adjustments, without having to close and reopen GW each time. I don't know if PN's API would permit this, though.

 

Thanks for your help!

Edited by anderpainter

Share this post


Link to post
Share on other sites
2 hours ago, anderpainter said:

 

I followed your instructions, but right-clicking in GW's window has no effect—no context menu or anything else. What am I doing wrong?

 

Click the color wheel on the left side of the window to open the background and color settings, then check [x] From Clipboard

Share this post


Link to post
Share on other sites
On 4/23/2018 at 2:55 PM, Ego Eram Reputo said:

Use Copy Merged (Ctrl+Shift+C) to fill the clipboard, switch to the layer you want to warp, then open GridWarp and right click on the canvas + Clipboard option

 

1 hour ago, pyrochild said:

Click the color wheel on the left side of the window to open the background and color settings, then check [x] From Clipboard

 

Harrumph. Looks like I'm using an old version.... ?

 

I get this when I right click on the Grid Warp canvas. When did this change??

 

Grid_Warp_background.png

 

 

 

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