posted October 19, 2006 05:17 PM
A HOOPS user had asked about how to support gradient coloring in a bar graph..... This is generally achieved by interpolating from one color to another across a surface. HOOPS supports this functionality via the 'color interpolation' Rendering_Option.
To display a gradient colored quad, insert it as either a 4 point HOOPS ‘mesh’ or ‘shell’, and then set colors on the vertices. Then, turn on the ‘color interpolation’ Rendering_Option.
Color Interpolation is covered in Section 6.3.7 of the HOOPS/3dGS Programming Guide:
http://developer.hoops3d.com/documentation/Hoops3DGS/prog_guide/06_3_rendering_advanced_techniques.html