OpenGL graphics crash
Michael Goffioul
michael.goffioul at gmail.com
Wed Jul 8 17:11:01 CDT 2009
On Wed, Jul 8, 2009 at 10:54 PM, Michael
Goffioul<michael.goffioul at gmail.com> wrote:
> The function convert_cdata computes a real RGB version of CDATA
> property. If CDATA is already in RGB format, it returns it, otherwise
> it maps the CDATA values to the figure colormap according to the
> SCALED property.
>
> That being said, I'm also unsure about what should happen when
> CDATA contains NA elements and what's the purpose of having
> such values in CDATA...
I'm wondering whether the quad should be clipped (not rendered) when the
CDATA value of any of its vertices is NA. I don't know what's the
expected behavior, but if the quad has to be clipped, then:
1) convert_cdata should put NaN for the corresponding color
2) the clipping algorithm of the surface rendering should be enhanced
to take the color values into account
I don't have the time to do it myself, but these changes should be
pretty straightfoward, if anybody is willing to do it.
Michael.
More information about the Octave-maintainers
mailing list