Sign in to follow this  
MadJik

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

Recommended Posts

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
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.

Share this post


Link to post
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.

Share this post


Link to post
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!

Share this post


Link to post
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!

Share this post


Link to post
Share on other sites

Back to Beta:

Is anyone could explain me the difference between:

r = Utility.ClampToByte©;

and

r = (byte)c;

?

__________________

For now it's working if you follow the recommendations (no selection, etc...). It will

stay 'Beta' as long as I've not fixed any crash...

Share this post


Link to post
Share on other sites

Back to Beta:

Is anyone could explain me the difference between:

r = Utility.ClampToByte©;

and

r = (byte)c;

?

__________________

For now it's working if you follow the recommendations (no selection, etc...). It will

stay 'Beta' as long as I've not fixed any crash...

Share this post


Link to post
Share on other sites

A little bit of testing should tell you the difference for the following values:

int c = -1;

or

int c = 256;

;)

Share this post


Link to post
Share on other sites

A little bit of testing should tell you the difference for the following values:

int c = -1;

or

int c = 256;

;)

Share this post


Link to post
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

Share this post


Link to post
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! :(

Share this post


Link to post
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...

Share this post


Link to post
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.

Share this post


Link to post
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 ;)

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites

Why anyone say it's like a fractal generator?

Ok the form is a little different.

(Perhaps another plugin option? ^^)

Share this post


Link to post
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!

Share this post


Link to post
Share on other sites
Madjik! Your dates are wrong! It's June 13, 2007(06/13/07)...not July 6, 2013(07/06/13)! ;)

My date is 13/06/07 (DD/MM/YY)!

As computer programmer I'm used to write the date YY/MM/DD it helps a lot for sorting! :P

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this