Jump to content
How to Install Plugins ×

GenTree: Generator of Trees & Branches (YMD:100725)


MadJik

Recommended Posts

This plugin looks amazing! Shame about all the selection problems and performance issues though...

Make a backup, quick! I have had more than one of those things go bad. :(

I've never had one go bad, but I have a tendency to lose them... a lot.

Very Nice! But I will wait till it's outta beta 8)

You're assuming that it will go out of beta. CodeLab is still beta, Gmail has been in beta since I joined, and I was one of the first ones to receive a random invite on the Google page.

xZYt6wl.png

ambigram signature by Kemaru

[i write plugins and stuff]

If you like a post, upvote it!

Link to comment
Share on other sites

This plugin looks amazing! Shame about all the selection problems and performance issues though...

Make a backup, quick! I have had more than one of those things go bad. :(

I've never had one go bad, but I have a tendency to lose them... a lot.

Very Nice! But I will wait till it's outta beta 8)

You're assuming that it will go out of beta. CodeLab is still beta, Gmail has been in beta since I joined, and I was one of the first ones to receive a random invite on the Google page.

xZYt6wl.png

ambigram signature by Kemaru

[i write plugins and stuff]

If you like a post, upvote it!

Link to comment
Share on other sites

If we asked Einstein, he would say it's all a matter of relativity!

If someone like Madjik never warned that a plugin was a beta but now tells us that his latest is a beta, then I choose to believe him!

Link to comment
Share on other sites

If we asked Einstein, he would say it's all a matter of relativity!

If someone like Madjik never warned that a plugin was a beta but now tells us that his latest is a beta, then I choose to believe him!

Link to comment
Share on other sites

burningtree.jpg

I wasn't able to use the forum for about 45-60 min!

Grrr!

I made something burning!

_________________

Made a backup, source is safe !

Madjik ce floor's fire seems not like the Rick's tut one! How can you made one like this ? :D

BoMyRu·.^

UserBar.png

Bomyru.png

Link to comment
Share on other sites

see%20image%20above%20...

I wasn't able to use the forum for about 45-60 min!

Grrr!

I made something burning!

Madjik ce floor's fire seems not like the Rick's tut one! How can you made one like this ? :D

Look at the tutorial Phoenix on fire.

http://paintdotnet.12.forumer.com/viewtopic.php?t=3669

I've added some waves effects...

Then duplicate, turn top layer B&W, waves again, zoom, layer blend mode,.. to create the smoke.

__________________

Plugin Update:

EDIT3: Added Relief mode and [?] to give a random value...

relief.jpg

@Boltbait:

r=(byte)c give c % 256 and

clamptobyte give c if 0<=C<=255 else 0 or 255!

Any question/remark about my programming methode?

@All Plugin makers:

Does anyone have an idea why my program crashs with a selection?

I can't debug it with my VS express version! :(

Link to comment
Share on other sites

OK MadJik, I believe I have the solution to your selection crashes. Just give me a few more minutes to make sure that it works like I think it will...

xZYt6wl.png

ambigram signature by Kemaru

[i write plugins and stuff]

If you like a post, upvote it!

Link to comment
Share on other sites

Alrighty it works brilliantly! Here's what you need to do.

In GenTree.cs you currently have:

Sx = (int)selection.Width;//line 182
Sy = (int)selection.Height;//line 183
int Cx = Sx / 2;//line 219
int Cy = Sy / 2;//line 220

these lines should be replaced with:

Sx = selection.Right;//line 182
Sy = selection.Bottom;//line 183
int Cx = (Sx + selection.Left) / 2;//line 219
int Cy = (Sy + selection.Top) / 2;//line 220

(you don't actually need to replace line 220 since you don't ever use Cy anywhere, but it's useful to have around if you're planning any additional features...)

And don't forget to remove the "Warning: Don't use this plugin with an active selection!" thing.

xZYt6wl.png

ambigram signature by Kemaru

[i write plugins and stuff]

If you like a post, upvote it!

Link to comment
Share on other sites

Alrighty it works brilliantly! Here's what you need to do.

In GenTree.cs you currently have:

Sx = (int)selection.Width;//line 182
Sy = (int)selection.Height;//line 183
int Cx = Sx / 2;//line 219
int Cy = Sy / 2;//line 220

these lines should be replaced with:

Sx = selection.Right;//line 182
Sy = selection.Bottom;//line 183
int Cx = (Sx + selection.Left) / 2;//line 219
int Cy = (Sy + selection.Top) / 2;//line 220

(you don't actually need to replace line 220 since you don't ever use Cy anywhere, but it's useful to have around if you're planning any additional features...)

And don't forget to remove the "Warning: Don't use this plugin with an active selection!" thing.

Thanks a lot...

Now, I think I could make a RC version ;)

Link to comment
Share on other sites

@Boltbait:

r=(byte)c give c % 256 and

clamptobyte give c if 0

Any question/remark about my programming methode?

No question, you got it perfect!

Clamp is used when you want to ensure your value is within the byte range and any overflow values are changed to the limits. I'm sure you can now see that this is MUCH more valuable then a simple cast.

Link to comment
Share on other sites

Why anyone say it's like a fractal generator?

Ok the form is a little different.

(Perhaps another plugin option? ^^)

Link to comment
Share on other sites

Why anyone say it's like a fractal generator?

Ok the form is a little different.

(Perhaps another plugin option? ^^)

As a recursif process, it could be similar to a fractal generator.

Are every recursif process a fractal generator? IDK!

New update! RC, major crash bug fixed! See the first post!

Link to comment
Share on other sites

glad to see the bug fix :wink:

xZYt6wl.png

ambigram signature by Kemaru

[i write plugins and stuff]

If you like a post, upvote it!

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...