Forum: Poser - OFFICIAL


Subject: Mask a Displacement Map

flibbits opened this issue on Dec 28, 2011 · 40 posts


bagginsbill posted Fri, 30 December 2011 at 3:00 PM

No worries. Here's a cheat sheet:

When I say:

add, you use a Math:Add node

subtract, you use a Math:Subtract node

multiply, you use a Math:Multiply node

divide, you use a Math:Divide node

Each of these are binary operators - they manipulate a formula taking two things as input.

Whatever is being assembled by the important verb (first word in the above) you create that node and connect the things I said to use with the verb.

For the numeric value, you would generally use 1 in Value_1 and Value_2 unless one of the two things is itself just a number. In that case you use the number being discussed.

So when I say, for example, starting with the original displacement map, subtract .5 it should be instant in your mind that you:

Create a Math node.

Set it to mode Subtract.

Set Value_1 = 1 and connect the displacement map there.

Set Value_2 = .5 since I said to subtract .5.

 

And when I say multiply the displacement map and the mask, it should be instant in your mind that you:

Create a Math node.

Set it to Multiply.

Set Value_1 to 1 and connect that to the displacement map.

Set Value_2 to 1 and connect that to the mask.

A general rule for nodes with numeric parameters:

If nothing is plugged into the parameter, then the value of that parameter is whatever you typed into it.

If something is plugged into the parameter, then the value of that parameter is whatever you typed into it multiplied with whatever you plugged into it.

We use 1 for values when we plug thing in and we do not want them to be different.

So - if I have a displacement map in a node, and we call that node "D", and I tell you to calculate D - .5, it should be instant in your mind that this is the same as 1 D - .5, and a Math:Sub node will have Value_1 = 1, Value_2 = .5, and you plug D into Value_1.

 


Renderosity forum reply notifications are wonky. If I read a follow-up in a thread, but I don't myself reply, then notifications no longer happen AT ALL on that thread. So if I seem to be ignoring a question, that's why. (Updated September 23, 2019)