Jump to content
How to Install Plugins ×

NormalMap 1.1


harold

Recommended Posts

MODERATORS NOTE:  this plugin has been superseded by a newer version:

https://forums.getpaint.net/topic/111602-normalmapplus-codelab-implementation/

 

 

 

Very simple plugin that probably already exists.

Uses the Sobel Filter from AMD's Render Monkey's normal map example to calculate the first order derivatives of the image. Light angle is adjustable.

 

normalplugincy8.png

 

normalmapqi6.png

 

This plugin will probably only help you if you're a 3D artist and you have a height map that, for some reason, you want to transform to a normal map. I imagine that situation will be rare..

NormalMap1.1.zip

Version history:

1.0 - 2nd Jan 09: initial version, may include the ugly icon.

1.1 - 2nd Jan 09: various speed improvements.

ps: I'm not an artist myself, in fact I'm so very not an artist that I didn't even give my plugin a proper icon. If you're an artist and you make a nice icon that you feel goes well with this plugin, please send it to me so that I can include it.

edit: and I release this thing to the Public Domain.

edit: Support terminated. You can still download it, at your own peril. This plugin is officially dead.

 

I would write plugins, if I knew what kind of plugins were needed.. :(

Link to comment
Share on other sites

Thanks for the tip :)

Done and edited original post to reflect the changes.

I would write plugins, if I knew what kind of plugins were needed.. :(

Link to comment
Share on other sites

The assemblyinfo has a version (the default, 1.0.0.0)

Thread title edited.

I would write plugins, if I knew what kind of plugins were needed.. :(

Link to comment
Share on other sites

I suggest simply passing

new Bitmap(16, 16);

rather than that ugly (IMHO) default image.

Are you talking about the icon? You can just pass null, you know...

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

I fixed some speed issues, this should save.. well.. a couple of milliseconds.

The most time-consuming thing was getting pixels from the source surface, which I "solved" by sampling some pixels that are used more than once only once instead of each time it's used. Of course I should really use unsafe code, but that will come later..

Nothing else has changed, but the speed fixes could in theory have given rise to new bugs - please let me know if you find any.

I would write plugins, if I knew what kind of plugins were needed.. :(

Link to comment
Share on other sites

  • 2 months later...
  • 1 month later...
  • 6 months later...

From the first post...,

edit: Support terminated. You can still download it, at your own peril. This plugin is officially dead.

Looks like we won't be getting an update. Shame about that :(

Link to comment
Share on other sites

From the first post...,
edit: Support terminated. You can still download it, at your own peril. This plugin is officially dead.

Looks like we won't be getting an update. Shame about that :(

i ask Harold by PM, and he say me if many peoples ask for an update, he could reconsider the question.

but i certainly don't want to incitate to bump this topic nor to annoying Harold whith PM.

Link to comment
Share on other sites

I guess we hold our hands up here then.

I'd also love to see the plugin updated. That's two in favour, any others?

Link to comment
Share on other sites

I guess we hold our hands up here then.

I'd also love to see the plugin updated. That's two in favour, any others?

*raises hand*

It also says in the first post:

edit: and I release this thing to the Public Domain.

Someone with the skill could pick up the ball and run with it, no? *just noticed no source tho*

Link to comment
Share on other sites

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