Re: [Plplot-devel] color alpha? Was Re: First pngcairo results for my FreeEOS research

2007-09-06 Thread Alan W. Irwin
On 2007-09-05 23:14-0500 Maurice LeBrun wrote:

 [...]I would prefer that if we were to support translucency in the core,
 every color have a translucency attribute (defaulting to none, i.e. the way it
 is now).  Of course we'd need a bunch of new API calls for setting color
 values, maybe take the existing ones and add on a x (for extended), that
 allowed the user to specify RGB + translucency.

I agree this is the way to go, and I sure hope somebody steps forward to
implement it since translucency/transparency sure makes some cool-looking
effects.

 Any other attributes needed?

Not aware of any.

Alan
__
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state implementation
for stellar interiors (freeeos.sf.net); PLplot scientific plotting software
package (plplot.org); the libLASi project (unifont.org/lasi); the Loads of
Linux Links project (loll.sf.net); and the Linux Brochure Project
(lbproject.sf.net).
__

Linux-powered Science
__

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel


Re: [Plplot-devel] color alpha? Was Re: First pngcairo results for my FreeEOS research

2007-09-05 Thread Maurice LeBrun
Hazen Babcock writes:
  This reminds me that many graphics drivers these days support a color  
  alpha (or translucency value) as well the standard red, green and  
  blue. Any thoughts on extending PLplot to support this? It could be  
  as simple as adding a alpha value to the PLStream data structure,  
  which the user could set with say plsalpha, and which would be used  
  or ignored by the graphics driver as appropriate.

I've been interested in translucency for awhile now, but completely unable to
find time to look into it.

I'd avoid a plsalpha for the same reason that I deprecated plrgb() -- it's a
whole lot nicer to set up a set of standard colors and calls to manipulate
them.  So I would prefer that if we were to support translucency in the core,
every color have a translucency attribute (defaulting to none, i.e. the way it
is now).  Of course we'd need a bunch of new API calls for setting color
values, maybe take the existing ones and add on a x (for extended), that
allowed the user to specify RGB + translucency.  Any other attributes needed?

-- 
Maurice LeBrun


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel