Should the
----- Original Message -----
Sent: Saturday, November 11, 2006 8:41 PM
Subject: Is the Line postFX broken?

I'm having a devil of a job getting the Line function to work as I thought it was supposed to. It doesn't draw a line of varying width. Instead it draws a line of constant wide and varying intensity.
 
For a test case, I have a single analytic rectangle, and render it with outlines. This draws a black rectangle on a white background. In PostFX I add a VSL effect that adds a gradient (color=max(color,Linear(UV coords.y)) to fade the lines from black to white down the screen. I then perform a Line operation with the parameters...
 
Drawing Channel = Color
Threshold Channel = Color
Width Channel = Color
Min Width = 0.0
Max Width = 0.4
From (0.0.0)
To (0.999,0.999,0.999)
 
This is, in my intentions, supposed to draw a black line varying from width 0 to width 0.4 around the rectangle based on the intensity of the rectangle. Instead it draws a line of fixed width 0.4 but varying brightness.
 
I have tried using separate channels rather than working in Color, and it still produces the same result. I've used line drawing before with it working just how I expected, so I can't see that I'm doing anything wrong. Likewise checking the docs, apart from maybe getting the line thickness back to front (brighter lines are drawn larger than darker lines?) I can't see that I'm doing it wrong.
 
This is quite an urgent project so I'd appreciate a quick resolution if possible.
 
Cheers.
 
David Coombes
[EMAIL PROTECTED]
 
...

Reply via email to