Jump to content


Photo

Rosaces (ymd: 100725)


19 replies to this topic

#1 MadJik

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

Posted 14 March 2008 - 12:57 PM

Rosaces Effect Plugin

Posted Image

What's this?
This plugin is added to the menu Effects, submenu Render.
You could create multiple kind of Roses (Rosaces in French).
Wiki link: http://en.wikipedia....e_(mathematics)
I found the formulas here (French)
http://www.mathcurve...otrochoid.shtml
This is where I got the Q,A,K factors...

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

The source is available with the plugins package!
http://forums.getpai...?showtopic=7186

How to install
Close Paint.net
Unzip and (re)place the DLL in your Effect folder usually: C:/Program Files/Paint.NET/Effects

The User interface
Posted Image
Q factor:
the curve will be rose shaped with
.. 2 x Q petals if Q is even, and
.. 1 x Q petals if Q is odd.
if Q > 0 the petals are outside
if Q < 0 the petals are inside
With Q=2 you obtain an ellipse.

A factor:
A is the radius of the base circle and it is useless if the option 'Fit the image..' is checked.
Uncheck the option 'Fit the image..' and choose the size with this slider.

K factor:
K plays on the distance from the center to the inner curves. If you increase this value, you could have a kind of ring.
Special values:
K = 1 : No petal, just pikes.
K = Q - 1 : you have a rose (each curve goes through the center)

Quantity of vertex:
You set here how many points should draw the curves.

Steps:
You could increase the step of the points to link together.

Angle:
You could rotate the figure to draw.

Color:
The primary color is the default color (the first time). You could choose another color...

Variable color:New!
:Warning: Each line uses a different color. It increases the process time!
0 for fixed color (for the color wheel), 1 or > to set the number of cycle...

Transparency:
...and another level of transparency.

Brush width:
Set the width of the lines to draw.

Fit the image size:
As all the points are pre-calculated, you could choose to reduce/enlarge to make the figure fit the image.
The scale is the same for vertical and horizontal.

Anti-Aliasing:
As it says!

Some tips:

Set the brush width to 1 and the transparency to 30.

Try the steps = 1/2 Quantity of vertex - 1


Some examples:
(Click on the small images to see the settings)

Posted Image Posted Image

Posted Image Posted Image

Posted Image Posted Image
  • 0

#2 oma

oma

    2013 Hit & Miss Award Winner

  • Members
  • 4,435 posts
  • Reputation:20

Posted 14 March 2008 - 01:03 PM

thank you for the new plug in madjik I'll be working it into my newest work "Once upon a time"

ciao and thanks as always for great plugins.
  • 0

#3 david.atwell

david.atwell

    2013 Real Estate Award Winner

  • Moderators
  • 1,694 posts
  • LocationIndianapolis, IN (39°46′5.88″N 86°9′29.52″W)
  • Reputation:192

Posted 14 March 2008 - 01:07 PM

Wow. How long did some of those more intricate ones take to render?

EDIT: How about a random seed button?
  • 0

stargatesig.png

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.


#4 oma

oma

    2013 Hit & Miss Award Winner

  • Members
  • 4,435 posts
  • Reputation:20

Posted 14 March 2008 - 01:15 PM

File: C:\Program Files\Paint.NET\Effects\Rosaces.dll
Effect Name: RosacesEffect.RosacesFx
Full error message: System.MissingMethodException: Method not found: 'Int32 PaintDotNet.ColorBgra.ToOpaqueInt32(PaintDotNet.ColorBgra)'.
at RosacesEffect.RosacesFx.OnCreatePropertyCollection()
at PaintDotNet.Effects.PropertyBasedEffect.CreateConfigDialog()
at PaintDotNet.Menus.EffectMenuBase.RunEffect(Type effectType)
:cry:
  • 0

#5 MadJik

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

Posted 14 March 2008 - 01:18 PM

File: C:\Program Files\Paint.NET\Effects\Rosaces.dll
Effect Name: RosacesEffect.RosacesFx
Full error message: System.MissingMethodException: Method not found: 'Int32 PaintDotNet.ColorBgra.ToOpaqueInt32(PaintDotNet.ColorBgra)'.
at RosacesEffect.RosacesFx.OnCreatePropertyCollection()
at PaintDotNet.Effects.PropertyBasedEffect.CreateConfigDialog()
at PaintDotNet.Menus.EffectMenuBase.RunEffect(Type effectType)
:cry:

Need V3.30beta! :roll:
  • 0

#6 R3VENGE

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

Posted 14 March 2008 - 09:26 PM

nice plugin but i use splatter and drop shadow a lot so im going to have to wait till 3.30 is a stable release :D then i can use this and bu then plugin makers will probably of changed thier stuff to work in 3.30 :D
  • 0

Posted Image
psn id: R3V-fiR3


#7 oma

oma

    2013 Hit & Miss Award Winner

  • Members
  • 4,435 posts
  • Reputation:20

Posted 14 March 2008 - 09:58 PM

File: C:\Program Files\Paint.NET\Effects\Rosaces.dll
Effect Name: RosacesEffect.RosacesFx
Full error message: System.MissingMethodException: Method not found: 'Int32 PaintDotNet.ColorBgra.ToOpaqueInt32(PaintDotNet.ColorBgra)'.
at RosacesEffect.RosacesFx.OnCreatePropertyCollection()
at PaintDotNet.Effects.PropertyBasedEffect.CreateConfigDialog()
at PaintDotNet.Menus.EffectMenuBase.RunEffect(Type effectType)
:cry:

Need V3.30beta! :roll:


using 3.3 beta release 1 do I need release 2?
  • 0

#8 david.atwell

david.atwell

    2013 Real Estate Award Winner

  • Moderators
  • 1,694 posts
  • LocationIndianapolis, IN (39°46′5.88″N 86°9′29.52″W)
  • Reputation:192

Posted 14 March 2008 - 10:01 PM

Yes. Beta 2 adds a lot for developers. His plugin is trying to utilize one of the new functions.
  • 0

stargatesig.png

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.


#9 oma

oma

    2013 Hit & Miss Award Winner

  • Members
  • 4,435 posts
  • Reputation:20

Posted 14 March 2008 - 10:04 PM

OK thanks David guess it should read need V 3.30 Beta 2 in title.
  • 0

#10 Mike Ryan

Mike Ryan
  • Competition Hosts
  • 4,266 posts
  • Reputation:10

Posted 14 March 2008 - 11:16 PM

Looks great! I cannot wait until I get home to try this one out. Quick question: Is this a render, or does it distort the image? (I cant try it out, so I am sorry)
  • 0

Posted Image


#11 pyrochild

pyrochild
  • Administrators
  • 11,494 posts
  • LocationColorado
  • Reputation:205

Posted 14 March 2008 - 11:18 PM

Looks great! I cannot wait until I get home to try this one out. Quick question: Is this a render, or does it distort the image? (I cant try it out, so I am sorry)

What's this?
This is a plugin under Effect/Render.

:roll:
  • 0
xZYt6wl.png
ambigram signature by Kemaru

[I write plugins and stuff]

If you like a post, upvote it!

#12 Mike Ryan

Mike Ryan
  • Competition Hosts
  • 4,266 posts
  • Reputation:10

Posted 14 March 2008 - 11:29 PM

Looks great! I cannot wait until I get home to try this one out. Quick question: Is this a render, or does it distort the image? (I cant try it out, so I am sorry)

What's this?
This is a plugin under Effect/Render.

:roll:


What would I ever do without Pyro's wry sense of sarcasm and humor. :)
  • 0

Posted Image


#13 pyrochild

pyrochild
  • Administrators
  • 11,494 posts
  • LocationColorado
  • Reputation:205

Posted 14 March 2008 - 11:32 PM

There is no bread in my sarcasm!
  • 0
xZYt6wl.png
ambigram signature by Kemaru

[I write plugins and stuff]

If you like a post, upvote it!

#14 DRILL

DRILL
  • Members
  • 182 posts
  • Reputation:0

Posted 15 March 2008 - 12:40 AM

nice
  • 0
Posted Image

#15 david.atwell

david.atwell

    2013 Real Estate Award Winner

  • Moderators
  • 1,694 posts
  • LocationIndianapolis, IN (39°46′5.88″N 86°9′29.52″W)
  • Reputation:192

Posted 15 March 2008 - 03:20 AM

There is no bread in my sarcasm!

Nor vodka.
  • 0

stargatesig.png

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.


#16 oma

oma

    2013 Hit & Miss Award Winner

  • Members
  • 4,435 posts
  • Reputation:20

Posted 15 March 2008 - 02:43 PM

Madjik what were the settings you used for second example?

love that image.

PS I finally got the plugin to work was using 3.3 beta 1 not beta 2. its awesome plug in.
  • 0

#17 MadJik

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

Posted 16 March 2008 - 08:30 AM

@OMA: see the first post I've added the settings!
  • 0

#18 oma

oma

    2013 Hit & Miss Award Winner

  • Members
  • 4,435 posts
  • Reputation:20

Posted 18 March 2008 - 03:29 PM

thanks Madjik you are the best.
  • 0

#19 MadJik

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

Posted 18 March 2008 - 04:48 PM

New update:
See first post...

Take care of the brushwidth to fit the image size:
Should width lines go outside the image or must stay inside?

This is helpfull with great value for brushwidth...

Some bugs fixed...
  • 0

#20 MadJik

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

Posted 10 April 2008 - 03:31 PM

Posted Image
New version... Check out the first post!
Better result with variable colors...
  • 0