Sign in to follow this  
Followers 0
harold

NormalMap 1.1

28 posts in this topic

GO HERE: http://forums.getpaint.net/index.php?showtopic=17010

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.

Edited by pyrochild
0

Share this post


Link to post
Share on other sites

Thanks for the tip :)

Done and edited original post to reflect the changes.

0

Share this post


Link to post
Share on other sites

The assemblyinfo has a version (the default, 1.0.0.0)

Thread title edited.

0

Share this post


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

0

Share this post


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

0

Share this post


Link to post
Share on other sites

Could someone 'splain me the difference between the two plugins, NormalMap and Height Field to Normal?

0

Share this post


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

0

Share this post


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

0

Share this post


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

0

Share this post


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

0

Share this post


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