PDA

View Full Version : Image Map Nodes Won't Invert?



Giacomo99
01-17-2007, 09:38 PM
Hello-

I have a node-based surface with a single image node:

http://home.earthlink.net/~bucket/NormalNode.jpg

When I click on the "Invert" button (circled below) the whole surface just goes to the background color (black in this case):

http://home.earthlink.net/~bucket/InvertedNode.jpg

If I want the map to actually invert I have to invert it in Photoshop and save a new file. This is annoying. Please advise.

Surrealist.
01-17-2007, 10:12 PM
Well, this actually relates to my other post. Invert has nothing to do with the image. It has to do with swapping the foreground and background color. In the procedural textures - as you saw in the brick example - it swaps these two colors.

In the image node you can have something fed into the Bg color input. Then the opacity setting will blend the two.

The default setting is black, so there you have it, set it to invert and ... black.

Now with invert set, well, it would be redundant (I am only guessing) to blend because that is just a percentage between the two. So if you set the bg color to something other than black you get that too when you select invert but you can not blend - for the reason I am guessing.

So you can have a blend between the backround input and your image if invert is not selected.

To invert the alpha image like you have you can open the image editor and do it there under the Edit Tab. :)

Giacomo99
01-17-2007, 10:50 PM
Yep, you're right--thanks for explaining that. I was still stuck in the pre-node mentality where "invert" still carried its Photoshop definition.

Surrealist.
01-18-2007, 12:15 AM
Me too. Took a while to get my head around that as well. :)

Sensei
01-18-2007, 06:12 AM
Inverting color is subtracting 1.0 from each channel.. Add Math>Vector>Subtract, set A vector to 1.0, 1.0, 1.0, vector B take from Image Map output Color, connect Subtract output to destination..

Sensei
01-18-2007, 07:12 AM
Try this one
http://www.trueart.pl/Products/Plug-Ins/TrueArt%20Node%20Library/Files/TrueArt_NodeLibrary_0_11.zip
it's in TrueArt's Node Library > Math > Color > Invert..

Surrealist.
01-18-2007, 09:50 AM
Thanks Sensei. That's a great idea. :thumbsup: