Message 1 of 5
GraphicsWindow polyline color

Not applicable
08-25-2008
04:30 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
GraphicsWindow::polyline() doesn't seem to honor the color array in OpenGL or Direct3D mode -- it just shows up as blue -- but it does work in Heidi. Do I need to do anything special in order for polyline vertex colors to work in OpenGL or Direct3D? The same issue applies to the polygon methods (except the polygons don't show up at all in Direct3D ...)
The render limits I'm using are GW_FLAT | GW_SHADE_CVERTS | GW_COLOR_VERTS, although I don't think GW_SHADE_CVERTS is necessary here.
thanks!
The render limits I'm using are GW_FLAT | GW_SHADE_CVERTS | GW_COLOR_VERTS, although I don't think GW_SHADE_CVERTS is necessary here.
thanks!