Mercurial > octave-nkf
comparison src/graphics.cc @ 7833:8ff92634982d
Add initial support for patch rendering through GLU tessellation (no transparency, no border, no markers yet).
* * *
Use facevertexcdata when rendering patch.
* * *
Add patch border rendering (no transparency yet).
author | Michael Goffioul <michael.goffioul@gmail.com> |
---|---|
date | Wed, 20 Feb 2008 16:29:37 +0100 |
parents | 8ca8e97e8c0a |
children | ca8b97bb952c |
comparison
equal
deleted
inserted
replaced
7832:e06fdf7ea647 | 7833:8ff92634982d |
---|---|
2749 | 2749 |
2750 // Note: "image" code is entirely auto-generated | 2750 // Note: "image" code is entirely auto-generated |
2751 | 2751 |
2752 // --------------------------------------------------------------------- | 2752 // --------------------------------------------------------------------- |
2753 | 2753 |
2754 // Note: "patch" code is entirely auto-generated | 2754 octave_value |
2755 patch::properties::get_color_data (void) const | |
2756 { | |
2757 return convert_cdata (*this, get_facevertexcdata (), | |
2758 cdatamapping_is ("scaled"), 2); | |
2759 } | |
2755 | 2760 |
2756 // --------------------------------------------------------------------- | 2761 // --------------------------------------------------------------------- |
2757 | 2762 |
2758 octave_value | 2763 octave_value |
2759 surface::properties::get_color_data (void) const | 2764 surface::properties::get_color_data (void) const |