[vtkusers] VTK and PolygonStipple
Meister, Martin MM (E F CI C5 5)
martin.meister at siemens.com
Wed Jan 23 10:22:34 EST 2013
Hello all again,
put it more simply: can I set a GL render state affecting the rendering, e.g. call "glEnable( ... )" from the vtk pipeline?
I want to use stipple transparenca (glPolygonStipple) for a special type of plane, while on the other hand still using normal transparency for other planes.
Thanks for any ideas!
________________________________
Von: Meister, Martin MM (E F CI C5 5)
Gesendet: Montag, 21. Januar 2013 10:01
An: vtkusers at vtk.org
Betreff: [vtkusers] VTK and PolygonStipple
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/20130123/d8488436/attachment.htm>
More information about the vtkusers
mailing list