[vtkusers] VTK and PolygonStipple

Meister, Martin MM (E F CI C5 5) martin.meister at siemens.com
Mon Jan 21 04:00:50 EST 2013


Hello fellow VTK users,
this is most probably a very simple question but nevertheless I do not seem to find an answer or an example:
- I want to use glPolygonStipple for rendering transparency
- I do only find reference to it in vtkOpenGLState (http://www.vtk.org/doc/release/5.8/html/a01360.html), seems to be read only
- how can I set it?
Background:
I want to display a plane with colours for one data array (say, temperature) and use a second data array to display at which void fraction (or coverage) this happens.
I suppose rendering two scalar arrays with one geometric primitive is already doable with transparency (RGBA: using RGB for the first array and A=Alpha for second array). I feel I just need to be able to "switch on" stipple..

Could you please help me out?
Thanks,
Martin

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20130121/3c4cbd3e/attachment.htm>


More information about the vtkusers mailing list