Forum: Poser - OFFICIAL


Subject: Material Room - Draw a line on a Surface

RichardCoffey opened this issue on Oct 10, 2010 ยท 35 posts


bagginsbill posted Thu, 14 October 2010 at 2:07 PM

Now we want to modulate the segment so it looks more like a droplet sliding down a surface.

First I modulate the radius. I modify the calculation of h as follows.

Calculate a value, h, for use in displacement.

The value of h is going to produce a circular cross section.

The radius of the cross section is defined by a distance, R.

We'll use a parameter node to define R.

R = PM(.1, "R")

Modulate the radius so it starts a little smaller and grows to full

size at the end of the segment.

mR = R * (.7 + .3 * Bias(seg.ct, .3))
rx = seg.pcx / mR
ry = seg.pcy / mR
h = Sqrt(Clamp(1 - (rx * rx) - (ry * ry)))


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)