Sign in to follow this  
BoltBait

Object Reflections Plugin - Wet Floor Effect

Recommended Posts

MadJik, could you grab the render function out of my original post on this thread and recompile? There was a bug in it that I fixed tonight.

The zip file is updated...

Awesome! It works perfectly now.

I'm going to add a link to your DLL in my original post.

Thanks for putting a UI on this!

Share this post


Link to post
Share on other sites

I'm glad of that !

But still some probelm to understand how it works (even if it really does). For example if I set the slider default value greater then 100 it makes PDN crash. I don't know (understand) why! That's it.

It's a way to say my DLL(s) are available as they are and I'm not responsable for any prob... etc... etc...

BTW, any advise (answer, or solution) is welcome... if it's help me to provide more efficient DLL!

Share this post


Link to post
Share on other sites
if I set the slider default value greater then 100 it makes PDN crash. I don't know (understand) why!

I suspect that you are setting the default before you are setting the min and max values. Is that it?

Share this post


Link to post
Share on other sites

O.K., this looks like a really cool plugin, but I cannot get this to work in Paint.Net. I have installed several other plugins, so I know what I'm doing, but I can't find this feature anywhere in Paint.Net after installation? Could someone please direct me to the appropriate area? Thanks,

Share this post


Link to post
Share on other sites
O.K., this looks like a really cool plugin, but I cannot get this to work in Paint.Net. I have installed several other plugins, so I know what I'm doing, but I can't find this feature anywhere in Paint.Net after installation? Could someone please direct me to the appropriate area? Thanks,

Did you put the ZIP file or the DLL file in your Paint.NET/effects folder?

(It needs to be the DLL file)

Share this post


Link to post
Share on other sites

Make sure you are using the correct version of Paint.NET.

If Paint.NET cannot load the DLL, it will not place it in the Effects menu. This often happens if you compile for 3.0 and then try to install the plugin on 2.72.

Share this post


Link to post
Share on other sites

OK, I think I found the problem...

Run explorer and go find the DLL in the effects folder.

Right-click on the ReflectionFlat.dll and click "Properties" from the context menu.

Click the "Unblock" button.

This DLL is probably being blocked because it was downloaded from a web site. You may want to check your other DLL's also.

BTW, this DLL works fine with 2.72 or 3.0 Beta.

Share this post


Link to post
Share on other sites

I believe that checkbox only affects opening the file interactively via Explorer. It shouldn't block programmatic access via the CreateFile() method that programs use.

Share this post


Link to post
Share on other sites

Well, I downloaded Paint.NET 2.72 to a new machine and installed it. Then downloaded the DLL and ran Paint.NET. It did not load the effect.

I clicked the "Unblock" button and ran Paint.NET again. This time the effect loaded just fine.

If it was something else, I'm not sure.

If you could programatically detect that and give the user a clue as to what's wrong, that would be awesome. But, I'm not holding my breath. ;)

Share this post


Link to post
Share on other sites

I've got it to work well. Thanks for the information i couldnt figure it out at first. also, do you plan to make it kind of gradient fade a little more that is an interesting thing

Share this post


Link to post
Share on other sites
I've got it to work well. Thanks for the information i couldnt figure it out at first.

No problem, glad I could help!

also, do you plan to make it kind of gradient fade a little more that is an interesting thing

I'm not sure what you are asking here... :?

Share this post


Link to post
Share on other sites

BoltBait

Speaking of gradients, do you think you and/or Illnab can come up with a plugin that combines SI's Transparent Fade script with the flexibility the "nubs" give when using PdN's gradient tool?

Share this post


Link to post
Share on other sites
Speaking of gradients, do you think you and/or Illnab can come up with a plugin that combines SI's Transparent Fade script with the flexibility the "nubs" give when using PdN's gradient tool?

The 3.0 Gradiant tool can already do transparent fades using nubs.

Oh, and you can't do "nubs" with effects, sorry.

Share this post


Link to post
Share on other sites

The 3.0 Gradiant tool can already do transparent fades using nubs.

The Gradient tool makes transparent fades by adjusting the alpha values, This I know. One thing though, Either your primary or secondary color will be added to the image. I do not want to add ANY color. What I want is SI's Transparent Fade with nub control.

Oh, and you can't do "nubs" with effects, sorry.

:(

Share this post


Link to post
Share on other sites

The 3.0 Gradiant tool can already do transparent fades using nubs.

The Gradient tool makes transparent fades by adjusting the alpha values, This I know. One thing though, Either your primary or secondary color will be added to the image. I do not want to add ANY color. What I want is SI's Transparent Fade with nub control.

Not true.

It may be a little strange when you first try it, but this is what you need to do:

1) Select the normal Black and White in the color docker. The colors don't matter as long as both alphas should are set to 255 (not transparent).

2) Click Gradient tool. Select Transparency Mode in the toolbar and you should be all set.

3) Draw a gradient on your top layer. Your bottom layer should show through... Notice that no color was added to your picture.

Share this post


Link to post
Share on other sites

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.

Sign in to follow this