Jump to content
How to Install Plugins ×
Paint.NET 5.1 is now available! ×

Recommended Posts

Posted

This is similar to my other plugin, shaped gradient. But instead of making the gradient in the shape of the selection, this is object-based - ie. it creates a sort of "trail" from the object to center point.

You'll have to draw something on a transparent layer, then apply trail 3d, and see what happens...

Examples

Before:

 

trex1.png

 

After:

 

trex2.jpg

 

To-do:

-implement anti-alias. As soon as I figure out how to do it on Shaped Gradient I will do the same on this - the code is very similar so porting a feature from one effect to the other is easy.

-a feature to adjust the length of the trail. This should be relatively easy to code and will be in the next version, I hope.

Enjoy.

trail3d.zip

  • Upvote 1

ndeee2.png

Posted (edited)
-implement anti-alias.

I'll pass on an idea for AAing the interior jaggies.

This may be worthwhile, even though it is less than perfect.

The AA effect diminishes the closer to the center point.

The work-around is to:

Run Shaped Gradient on a new layer.

Zoom blur.

The Zoom blur will tend to draw in alpha at the inner edges,

so the next step is to make all pixels in the selection fully opaque.

===============================================

This example uses Shaped Gradient. Haven't tried it yet w/ Trail 3d.

You can toggle the top layer visibility to see the AA effect.

ShapedGradientDeJaggy01zip

Edited by Sarkut
Posted (edited)

That's a nice idea Sarkut. Unfortunately it's a bit harder to implement on the plugin itself - this would require to call the zoom blur only after all of the gradient is rendered, and I know of no good way to do this thanks to the ROI system which splits the render area in smaller segments...

Anyway, I'm still trying various options - I'm trying to do something like a convolution filter.

On the good news, can you notice the speed up I achieved on Trail 3d compared to Shaped gradient? I found a way to optimize the code further, so you can expect a speed-up update to shaped gradient as well, soon.

... meh, didn't work after all... the code happens to be too different in that particular spot... damn.

Edited by n d

ndeee2.png

Posted (edited)

As a potentially pointless additional comment,

the work-around previously mentioned, does even better

using this instead of zoom blur:

Edited by Sarkut
  • 1 year later...
Posted (edited)

EDIT:

Something funny with the link is going on. I downloaded it, then I re-tried to download and take a screenshot to show it was working but it was empty the second time I tried like you indicated.

Edited by jim100361
Posted

I just got this pc back from being fixed and redownloaded pdn. Last night I redownloaded a ton of plugins with no problem and installed them in pdn and they all work. This one keeps telling me that the zip file is empty. I have no clue why it doesn't work for me,nothing looks blocked here.

 

                                                              http://forums.getpaint.net/index.php?/topic/21233-skullbonz-art-gallery

Posted (edited)

Which link are you people using? " Download trail3d here " <--This one? If you are and it works for you I don't know why it doesn't work for me. I get the zip file but when I go to extract the files,there are none in there. I know my pc is not blocking me because I just downloaded and installed several other plugins from the plugin index with no problems. I am using win 7 pro.

However I figured out a way around it and have it now. I use another pc with vista and still had the zip file on file,lol. So I just copied it and extracted it on this pc. Problem solved for me,,but maybe it should be looked into. Thank you all.

Edited by skullbonz

 

                                                              http://forums.getpaint.net/index.php?/topic/21233-skullbonz-art-gallery

  • 1 year 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...