Forum: Poser - OFFICIAL


Subject: Nodes for Dummies

RobynsVeil opened this issue on Jan 24, 2009 · 490 posts


bagginsbill posted Fri, 04 December 2009 at 11:41 AM

I may have misread something I saw elsewhere, perhaps even in one of our emails, CD, but I'd like to make something clear.

Poser internally does maintain full information about improper colors, i.e. colors with component values outside the range 0 to 1.

By improper, I mean more than 1 (a hyper color) or less than 0 (a hypo color).

If you have a series of nodes in which intermediate results are improper, and you later bring them back to being proper, it will work.

Furthermore, it is all too easy in matmatic to create improper colors that end up as color parameters of nodes. These will not display correctly in the material room, if you were to look at one of these nodes. But the real data is there. If you touch one of those using the color picker, you will lose the value that matmatic put there.

For example:

hyperOrange = Color(1, .5, .25) * 5 # a seriously hyper color

b = Blender(BLACK, hyperOrange, .2) # Value_2 is hyperOrange and will not preview correctly

s = Surface(b, 1, 0, 0)

This surface will look like an ordinary proper orange.

The Blender will take the hyperOrange and mix it with black, keeping only 20% of the hyperOrange, because the Blending factor is .2. Mathematically, then the output of the Blender is:

(1-.2) * BLACK + .2 * hyperOrange
.8 * 0 + .2 * Color(1, .5, .25) * 5
0 + .2 * Color(5, 2.5, 1.25)
Color(1, .5, .25)

Voila.


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)