PDA

View Full Version : Soften / blur an image map with a node?



starbase1
04-17-2008, 06:10 AM
Is this possible?

Nick

(PS - Apologies if I seem to be taking over this part of the forums!)

PhantomPhish
04-17-2008, 06:16 AM
I think Denis' node pack can do just this.

starbase1
04-17-2008, 06:29 AM
I think Denis' node pack can do just this.

I spotted a blur node, but it did not appear to accept the input I was expecting. (Sorry, I am new to nodes and this may be a stupid obeservation!)

Nick

dpont
04-17-2008, 06:46 AM
It is named Blur Filter in Tool folder (a bit slow),
you can input color in the vector input,
if you don't care about memory, you can
also use a better blur in an image instance with
an image filter plugin.

Denis.

starbase1
04-17-2008, 06:53 AM
It is named Blur Filter in Tool folder (a bit slow),
you can input color in the vector input,
if you don't care about memory, you can
also use a better blur in an image instance with
an image filter plugin.

Denis.

Thanks Denis, you are a star!
:thumbsup::thumbsup::thumbsup:

starbase1
04-18-2008, 05:23 AM
It is named Blur Filter in Tool folder (a bit slow),
you can input color in the vector input,
if you don't care about memory, you can
also use a better blur in an image instance with
an image filter plugin.

Denis.


I got that going and the results looked very nice. I did get some artfeacts at the edge of the image map though. For the object I am making (Earth, with separate image maps for the 8 chunks), the image maps go right to the edge of the object.

I'm guessing that this is because there are no pixels beyond the edge for the final row of pixels to blend into. Is this correct, and is there a way to avoid it?

dpont
04-19-2008, 09:59 AM
Yes, if you have applied a blur to an image,
the blur kernel will stop its averaging at the edge,
here a simple spherical map, the object 180 rotated,
Full Precision Blur in Image Filter,

57886

Blur Filter Node (very slower),

57887

There's a trick, having a 105 % larger (enlarged) map in width,
with a part of the opposite map copied to 5%,
then mapping it spherically with a X Scaling of something near to 0,95238095238095238095238095238095
(the inverse of 1.05)
So the Full Precision Blur could blur the seam,
but very tricky I think.

Denis.

starbase1
04-19-2008, 12:05 PM
Yes, if you have applied a blur to an image,
the blur kernel will stop its averaging at the edge,
here a simple spherical map, the object 180 rotated,
Full Precision Blur in Image Filter,

57886

Blur Filter Node (very slower),

57887

There's a trick, having a 105 % larger (enlarged) map in width,
with a part of the opposite map copied to 5%,
then mapping it spherically with a X Scaling of something near to 0,95238095238095238095238095238095
(the inverse of 1.05)
So the Full Precision Blur could blur the seam,
but very tricky I think.

Denis.

Thanks again Denis, I thought of the oversizing option, I really don't want to start doing that to the maps.

Nick