Mercurial > octave-nkf
view CITATION @ 18133:647d806868ee
Color patch face based upon first vertex (bug #40247).
* gl-render.cc (opengl_renderer::patch_tesselator::vertex): Only set per-vertex
color if "interp" is set. Use GL_DIFFUSE when setting diffuse lighting (was
inccorrectly GL_AMBIENT).
* gl-render.cc (draw_patch): If using "flat" shading and no "facecolor"
specified then choose the color from the first vertex.
author | Rik <rik@octave.org> |
---|---|
date | Fri, 13 Dec 2013 22:35:31 -0800 |
parents | 3a93af21d206 |
children | a6d13c62fccf |
line wrap: on
line source
To cite GNU Octave in publications use: John W. Eaton, David Bateman, and Søren Hauberg (2009). GNU Octave version 3.0.1 manual: a high-level interactive language for numerical computations. CreateSpace Independent Publishing Platform. ISBN 1441413006, URL http://www.gnu.org/software/octave/doc/interpreter/ A BibTeX entry for LaTeX users is: @book{, author = {John W. Eaton and David Bateman and S\oren Hauberg}, title = {{GNU Octave} version 3.0.1 manual: a high-level interactive language for numerical computations}, publisher = {CreateSpace Independent Publishing Platform}, year = {2009}, note = {{ISBN} 1441413006}, url = {http://www.gnu.org/software/octave/doc/interpreter}, } We have invested a lot of time and effort in creating GNU Octave, please cite it when using it. See also `citation pkgname' for citing Octave packages.