Prev: PITCH ESTIMATION matlab code
Next: Gradient function
From: Jo on 3 Apr 2010 07:12 I have a series of line plots which intersect at various points. Is it possible to use some type of color combining to produce nice looking results. e.g., instead of your typical overwriting you take some type of special color space combination.
From: Walter Roberson on 4 Apr 2010 23:10 On 10-04-03 6:12 AM, Jo wrote: > I have a series of line plots which intersect at various points. Is it > possible to use some type of color combining to produce nice looking > results. e.g., instead of your typical overwriting you take some type of > special color space combination. Only surfaces rendered by OpenGL support transparency, and OpenGL has a quirk that when items are in the same plane, which one will be "on top" is not dependent on the drawing order. Thus in order to do what you want in a controlled manner, draw each of the line plots as a surface of some sort (e.g., a patch), and draw them so that the one that should be at the bottom has the lowest Z coordinate, giving explicit Z coordinates for all of them.
|
Pages: 1 Prev: PITCH ESTIMATION matlab code Next: Gradient function |