From: Bruce S. <Bru...@nc...> - 2009-10-22 15:55:13
|
I think you could achieve this effect with two (triangular) faces, whose vertices have different colors. See the documentation on faces. If a cylinder would work, you could use a wide curve with many points and interpolate the hue along the path. Note that there are color functions for converting between RGB and hue-saturation-value (intensity). Bruce Sherwood xingran xue wrote: > Hi, guys. > > Is there any easy way to draw a color bar like this? I cannot use the > texture. Any input would be appreciated. > > Thanks > Ran > > ------------------------------------------------------------------------ > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > > > ------------------------------------------------------------------------ > > _______________________________________________ > Visualpython-users mailing list > Vis...@li... > https://lists.sourceforge.net/lists/listinfo/visualpython-users |