<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=us-ascii" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.19393"></HEAD>
<BODY>
<DIV><SPAN class=672014714-23012013><FONT color=#0000ff size=2 face=Arial>Hello
all again, </FONT></SPAN></DIV>
<DIV><SPAN class=672014714-23012013></SPAN> </DIV>
<DIV><SPAN class=672014714-23012013></SPAN><SPAN class=672014714-23012013><FONT
color=#0000ff size=2 face=Arial>put it more simply: </FONT></SPAN><SPAN
class=672014714-23012013><FONT color=#0000ff size=2 face=Arial>can I set a GL
render state affecting the rendering, e.g. call "glEnable( ... )" from
the vtk pipeline?</FONT></SPAN></DIV>
<DIV><SPAN class=672014714-23012013><FONT color=#0000ff size=2 face=Arial>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.</FONT></SPAN></DIV>
<DIV><SPAN class=672014714-23012013><FONT color=#0000ff size=2
face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=672014714-23012013><FONT color=#0000ff size=2 face=Arial>Thanks
for any ideas!</FONT></SPAN></DIV><BR>
<DIV dir=ltr lang=de class=OutlookMessageHeader align=left>
<HR tabIndex=-1>
<FONT size=2 face=Tahoma><B>Von:</B> Meister, Martin MM (E F CI C5 5)
<BR><B>Gesendet:</B> Montag, 21. Januar 2013 10:01<BR><B>An:</B>
vtkusers@vtk.org<BR><B>Betreff:</B> [vtkusers] VTK and
PolygonStipple<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV><SPAN class=257075608-21012013><FONT size=2 face=Arial>Hello fellow VTK
users,</FONT></SPAN></DIV>
<DIV><SPAN class=257075608-21012013><FONT size=2 face=Arial>this is most
probably a very simple question but nevertheless I do not seem to find an answer
or an example:</FONT></SPAN></DIV>
<DIV><SPAN class=257075608-21012013><FONT size=2 face=Arial>- I want to use
glPolygonStipple for rendering transparency</FONT></SPAN></DIV>
<DIV><SPAN class=257075608-21012013><FONT size=2 face=Arial>- I do only find
reference to it in vtkOpenGLState (<A
href="http://www.vtk.org/doc/release/5.8/html/a01360.html">http://www.vtk.org/doc/release/5.8/html/a01360.html</A>),
seems to be read only</FONT></SPAN></DIV>
<DIV><SPAN class=257075608-21012013><FONT size=2 face=Arial>- how can I set
it?</FONT></SPAN></DIV>
<DIV><SPAN class=257075608-21012013><FONT size=2
face=Arial>Background:</FONT></SPAN></DIV>
<DIV><SPAN class=257075608-21012013><FONT size=2 face=Arial>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.</FONT></SPAN></DIV>
<DIV><SPAN class=257075608-21012013><FONT size=2 face=Arial>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..</FONT></SPAN></DIV>
<DIV><SPAN class=257075608-21012013><FONT size=2
face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=257075608-21012013><FONT size=2 face=Arial>Could you please
help me out? </FONT></SPAN></DIV>
<DIV><SPAN class=257075608-21012013><FONT size=2
face=Arial>Thanks,</FONT></SPAN></DIV>
<DIV><SPAN class=257075608-21012013><FONT size=2
face=Arial>Martin</FONT></SPAN></DIV>
<DIV> </DIV></BODY></HTML>