<div dir="ltr">Hi Allen,<div><br></div><div>You are correct, vtkLookupTable does not provide a way of doing this.</div><div><br></div><div>I'm not sure what work-arounds there are for geometry, but for images</div><div>you can map the RGB and A separately, and then combine them into</div><div>RGBA with vtkImageAppendComponents.</div><div><br></div><div> - David</div><div><br></div><div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Feb 16, 2016 at 11:48 AM, Allen Sanderson <span dir="ltr"><<a href="mailto:allen@sci.utah.edu" target="_blank">allen@sci.utah.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Hello,<div><br></div><div>We are trying to render geometry using a lookup table for the RGB value using one scalar variable, but we want to use a secondary scalar variable for determining the opacity.  Something like the following:</div><div><br></div><div><div>RGB -> variable one</div><div>A -> variable two<br></div></div><div><br></div><div>In looking through the VTK 6 documentation on mappers we have not found anything that leads us to believe this functionality is possible. But we have done an exhaustive search.</div><div><br></div><div>If it is possible we would greatly appreciate pointers. Thanks.</div><div><br></div><div><br></div><div><br></div><div>
<span style="border-collapse:separate;color:rgb(0,0,0);font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><span style="border-collapse:separate;color:rgb(0,0,0);font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><span style="border-collapse:separate;color:rgb(0,0,0);font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><span style="border-collapse:separate;color:rgb(0,0,0);font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><p style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">Cheers,</p><p style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"><br></p><p style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">Allen</p><p style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"><br></p><p style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"><br></p><p style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"><font face="Helvetica" size="3" style="font:normal normal normal 12px/normal Helvetica">Allen Sanderson</font></p><p style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"><font face="Helvetica" size="3" style="font:normal normal normal 12px/normal Helvetica">SCI Institute</font></p><p style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"><font face="Helvetica" size="3" style="font:normal normal normal 12px/normal Helvetica">University of Utah</font></p><p style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"><font face="Helvetica" size="3" style="font:normal normal normal 12px/normal Helvetica"><a href="http://www.sci.utah.edu" target="_blank">www.sci.utah.edu</a></font></p></span></span></span></span></div></div></blockquote></div><br></div></div></div>