Then the problem is the order in which the items are rendered. Perhaps your geometry is not being rendered in the translucent pass. If you set the Opacity in the property to 0.995, that will force the geometry to be rendered in the translucent pass, i.e. after all opaque geometry has already rendered. It is the Opacity of the property, rather than the alpha of the lookup table, that VTK uses to decide whether to use the translucent pass.<div>
<br></div><div>What is probably happening in your case is that the geometry is rendered first, causing a write to the depth buffer. Then the image is drawn afterwards, and the depth buffer check causes it not to be written to any pixels that the geometry rendered to.</div>
<div><br></div><div> - David<br><div><br></div><div><br><div class="gmail_quote">On Fri, Jul 8, 2011 at 12:29 PM, Chris Volpe ARA/SED <span dir="ltr"><<a href="mailto:cvolpe@ara.com">cvolpe@ara.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">If depth peeling is something that's off by default, unless you explicitly enable it, then I'm not doing it. (In fact, I've never heard of it.) I just have 3D geometry with a color lookup table that varies the hue but keeps alpha constant at 0.5.<br>
<font color="#888888"><br>
<br>
-Chris<br>
</font><div><div></div><div class="h5"><br>
<br>
> -----Original Message-----<br>
> From: David Gobbi [mailto:<a href="mailto:david.gobbi@gmail.com">david.gobbi@gmail.com</a>]<br>
> Sent: Friday, July 08, 2011 12:43 PM<br>
> To: Chris Volpe ARA/SED<br>
> Cc: vtkusers<br>
> Subject: Re: [vtkusers] transparent 3D over 2D<br>
><br>
> Are you using depth peeling? Depth peeling disables alpha, it is an<br>
> alternate strategy to translucent rendering that doesn't use alpha and<br>
> as far as I understand, it actually requires alpha-blending to turned<br>
> off in order to work.<br>
><br>
> So I don't think that depth peeling can be used when an underlay is<br>
> present (or at least, not in VTK).<br>
><br>
> - David<br>
><br>
><br>
> On Fri, Jul 8, 2011 at 10:32 AM, Chris Volpe ARA/SED <<a href="mailto:cvolpe@ara.com">cvolpe@ara.com</a>><br>
> wrote:<br>
> > I'm rendering 3D geometry over a 2D image drawn onto the rendering<br>
> window<br>
> > using an Actor2D. The 3D geometry is semi transparent, as can be<br>
> seen when<br>
> > some 3D geometry is drawn on top of other 3D geometry. However, the<br>
> > transparency does not permit seeing the background image through the<br>
> 3D<br>
> > geometry. For purposes of the background image, the 3D geometry is<br>
> > completely opaque. Is this an inherent limitation, or am I doing<br>
> something<br>
> > wrong?<br>
> ><br>
> ><br>
> ><br>
> > Thanks,<br>
> ><br>
> ><br>
> ><br>
> > Chris<br>
> ><br>
> > --<br>
> > Christopher R. Volpe,<br>
> > Ph.D.<br>
> Email:<br>
> > <a href="mailto:cvolpe@ara.com">cvolpe@ara.com</a><br>
> ><br>
> > Senior Scientist, Information Exploitation Systems Main<br>
> Desk:<br>
> > <a href="tel:919-582-3300" value="+19195823300">919-582-3300</a><br>
> ><br>
> > Applied Research Associates,<br>
> > Inc Direct: 919-<br>
> 582-3380<br>
> ><br>
> > 8537 Six Forks Rd., Suite<br>
> > 6000 Fax :<br>
> > <a href="tel:919-582-3301" value="+19195823301">919-582-3301</a><br>
> ><br>
> > Raleigh, NC 27615 Web:<br>
> > <a href="http://www.ara.com/offices/NC.htm" target="_blank">http://www.ara.com/offices/NC.htm</a><br>
</div></div></blockquote></div><br></div></div>