Jump to content


Photo

Page Curl Effect (ymd:100718)


  • Please log in to reply
34 replies to this topic

#1 MadJik

MadJik
  • Members
  • 2,428 posts
  • LocationLille;France
  • Reputation:20

Posted 24 May 2008 - 07:42 PM

Page Curl Effect Plugin

What's this?
This is a plugin under Effect/Distort.
This plugin will create a curl on the corner you choose.
The curl is based on the size of the selection area.
So if you want a smaller curl, make first a rectangle selection at the place you want your curl.
You could choose the color and the transparency of the curl...
:Warning: It works best with no selection or rectangular selection.

This plugin is published under the GNU GPL license.
See the files Copyright.txt and License.txt in the zip.
The source is also included in this zip file.
// Original version writen in C++ by Federico Mena-Quintero in 1996
// V0.5 for TheGimp V0.54 : http://www.nuclecu.u...x.html#pagecurl

Download it!
Plugin PageCurl.dll
Posted ImageHere is the DLLPosted Image


The User interface
Posted Image

Corner to curl:
Select the corner of the selection top-left, top-right, bottom-left or bottom-right.

Way of the curl:
Select horizontal or vertical.

Choose a color:
Select a color. The wheel takes the primary color as default. But you could change it.
And then decide to use this color for the background or for the back of the curl.

Darkness of the curl:
Choose to increase/reduce the darkness of the curl.

Transparency of the curl:
You could choose to make the curl transparent by level so you could see the original image through it.

Color of the curl:
Here you could choose the color for the back of the curl between Primary color, Secondary color or color from the wheel.

Level of the shadow:
Inside the curl there is a shadow to give more relief. Here you could choose the level of this shadow.

Keep image on the back:
The background is a color or is the original image.

Back transparency:
The background could be transparent so you will see the layer below or have the transparent checker.

Color of the back:
Here you could choose the color for the background between Primary color, Secondary color or color from the wheel.


Some examples:
Posted Image

Posted Image

Posted Image

VoilĂ  !

#2 Mike Ryan

Mike Ryan
  • Competition Hosts
  • 4,263 posts
  • Reputation:9

Posted 24 May 2008 - 07:50 PM

Awesome looking, Madjik! Just one request: antialiasing. Judging by your screenshots, this plugin doesnt have very much of that ;)

Posted Image


#3 vista?

vista?
  • Members
  • 1,819 posts
  • LocationGreater London, UK
  • Reputation:0

Posted 24 May 2008 - 08:59 PM

Awesome as always! Although as suggested above by Mike Ryan, depending on what settings one chooses, it can look quite jagged but on the other hand, I just tested it and it worked fine, the jagged edges were visible but only slightly.

Posted Image


#4 Ash

Ash

    Former Moderator

  • Members
  • 6,381 posts
  • Locationhttp://tinyurl.com/6kqz9v
  • Reputation:5

Posted 24 May 2008 - 09:28 PM

MadJik MadJik MadJik...You are gonna make us all lazy :P :lol:
Looking good, and like the above posts said, would be even better if you can add AA.
Thank you for another nice plugin.

Get more ideas from the same "source", they have lots of cool plugins. ;) ;) hint hint :)

Posted Image
All creations Ash + Paint.NET [ Googlepage | deviantArt | Club PDN | PDN Fan ]


#5 salu

salu
  • Members
  • 1,058 posts
  • Locationan Unknown State of Animals
  • Reputation:0

Posted 24 May 2008 - 10:06 PM

yay! madjik, you rock! 8)

#6 brad.pike

brad.pike
  • Members
  • 267 posts
  • Reputation:1

Posted 25 May 2008 - 08:21 AM

Thanks for the plug-in MadJik!

Would it be possible to add another bar next to the colour wheel for transparency/alpha, like in the colors window?
Like this?
Posted Image

It would be cool if instead of "Way of the curl" (and corner to curl) there was an angle chooser. Also if when you lowered the transparency it would show what would be on the front of the fold like this...
Posted Image
80% pdn :lol: (Stocks being the dress and hair)

And if you could choose the distance of the curl and have the parts of the image that are right next to the curl become bigger, just like a real curled piece of paper. Oh and could you move it to the 'stylize' menu, that would be great because I have 23 distorts and only 5 in stylize (and it would fit well in the stylize menu IMHO). I would very much like to see this mature into a must-have plug-in.

Thanks again MadJik :)

PS what do you do with/what is the PageCurlSrc folder? :?
Thanks in advance for any answers.

#7 topezia

topezia
  • Members
  • 779 posts
  • LocationRome, Italy
  • Reputation:0

Posted 25 May 2008 - 10:04 AM

Thanks Madjik, again an other fantastic plug-in from you! Just a question/request (if possible):
add a selection for the size of the curl?
Awesome anyway and yes we will all become spoiled lazy image makers :D

Posted Image


#8 Simon Brown

Simon Brown
  • Members
  • 10,186 posts
  • Reputation:15

Posted 25 May 2008 - 11:40 AM

This is a good plugin - is there a chance you could add an option to select how much the paper is curled?
Posted Image

#9 oma

oma

    2012 Hit & Miss Award Winner

  • Members
  • 4,432 posts
  • Reputation:12

Posted 25 May 2008 - 12:58 PM

sweeeeet . I guess BoltBait can get rid of that other "cough" program. :lol: :lol:

great work as always madjik. another fine plugin. off to figure out some novel approach to using this one. :wink:

#10 MadJik

MadJik
  • Members
  • 2,428 posts
  • LocationLille;France
  • Reputation:20

Posted 25 May 2008 - 03:17 PM

thanks everyone..

I will try to add anti-aliasing. For the rest I must admit it wont be without help. Look at the original source, and look at my version. You will see it isn't a usual way of coding (at least for PDN's pluging). Antialiasing is (I think) doable. Change the curl "amount"/"range" is in need of more formulas I don't know about (yet).
Fell free to improve it, or create a "team" of coder for that... Me alone, I won't go so much further..

#11 oma

oma

    2012 Hit & Miss Award Winner

  • Members
  • 4,432 posts
  • Reputation:12

Posted 25 May 2008 - 04:05 PM

? Madjik. is it possible to put in a reverse curl. where the page does a curl back ?

#12 MadJik

MadJik
  • Members
  • 2,428 posts
  • LocationLille;France
  • Reputation:20

Posted 25 May 2008 - 04:19 PM

Try to set the transparency of the curl to 0!

#13 MiguelPereira

MiguelPereira
  • Members
  • 821 posts
  • LocationPortugal
  • Reputation:0

Posted 25 May 2008 - 04:20 PM

Great plugin madjik :D nice work

I only request AA too :D

#14 oma

oma

    2012 Hit & Miss Award Winner

  • Members
  • 4,432 posts
  • Reputation:12

Posted 25 May 2008 - 05:06 PM

Try to set the transparency of the curl to 0!

:oops: noticed that after I posted

sorry.

#15 MadJik

MadJik
  • Members
  • 2,428 posts
  • LocationLille;France
  • Reputation:20

Posted 25 May 2008 - 06:08 PM

Try to set the transparency of the curl to 0!

:oops: noticed that after I posted

sorry.

no pb, this discussion should help others.

#16 gege

gege
  • Members
  • 31 posts
  • LocationBrazil
  • Reputation:0

Posted 28 May 2008 - 01:46 AM

Hey, MadJik,
Very nice plugin! Thank you.

Just one thing: I think "Transparency of the curl" and "Back transparency" are misnamed.
Something with "0" transparency is "completely opaque", so your logic is inverted.
IMO, those options should be "Opacity of the curl" and "Back opacity".

Anyway, great work. Congrats!

#17 Rubrica

Rubrica
  • Competition Hosts
  • 3,144 posts
  • Reputation:11

Posted 28 May 2008 - 10:25 AM

so your logic is inverted.


Actually, it's not. If transparency if nought, that means no transparency, as nought is nothing. If transparency was one, then it would the tiniest bit transparent, because one is a small number. Do you see?

#18 R3VENGE

R3VENGE
  • Members
  • 1,162 posts
  • Reputation:0

Posted 04 June 2008 - 04:01 PM

thanks madjik really cool plugin :D

Posted Image
psn id: R3V-fiR3


#19 Longhorns

Longhorns
  • Members
  • 14 posts
  • Reputation:0

Posted 14 June 2008 - 07:41 PM

Hey this is one of the plugins that actually worked for me and its very cool
But how do u get it to curl out from the middle like that???
Posted Image
Im still learning :D So Not the Best Sig Out there (Tips would be great)

#20 Ash

Ash

    Former Moderator

  • Members
  • 6,381 posts
  • Locationhttp://tinyurl.com/6kqz9v
  • Reputation:5

Posted 14 June 2008 - 09:39 PM

Hey this is one of the plugins that actually worked for me and its very cool
But how do u get it to curl out from the middle like that???

Run the plugin when there's a Selection :RectangleSelectTool:

Posted Image
All creations Ash + Paint.NET [ Googlepage | deviantArt | Club PDN | PDN Fan ]