[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: OpenGL graphics crash
From: |
John W. Eaton |
Subject: |
Re: OpenGL graphics crash |
Date: |
Wed, 8 Jul 2009 18:34:08 -0400 |
On 8-Jul-2009, Michael Goffioul wrote:
| On Wed, Jul 8, 2009 at 10:54 PM, Michael
| Goffioul<address@hidden> 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.
Oh, then in that case, I think the following works better.
http://hg.savannah.gnu.org/hgweb/octave/rev/f284e2a26ff9
I'm not sure other changes are really needed here. Can someone
compare the result of
in the current Octave (with my most recent change) and Matlab?
Thanks,
jwe