<html><body bgcolor="#FFFFFF"><div><span class="Apple-style-span" style="font-size: 15px; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.296875); -webkit-composition-fill-color: rgba(175, 192, 227, 0.230469); -webkit-composition-frame-color: rgba(77, 128, 180, 0.230469); "><span>If u r using a vtkpolydata containing ie a vtkPolygon for ur </span><br><span>representation, then u can assign to each single vertex a certain RGBA </span><br><span>value. Vtk interpolates those alphaValues inbetween vertices. So u can </span><br><span>use a filled polygon as ur opacityplane</span><br><span></span><br><span>Iggy</span></span><br><br>Am 29.01.2011 um 08:58 schrieb "<a href="mailto:vespasiano@libero.it">vespasiano@libero.it</a>" <<a href="mailto:vespasiano@libero.it">vespasiano@libero.it</a>>:<br><br></div><div></div><blockquote type="cite"><div><span>Nobody can help me? Suggestions? Ideas? It's very important because it's for my </span><br><span>master degree thesis.</span><br><span></span><br><span>Thanks a lot. Francesco.</span><br><span></span><br><span></span><br><span></span><br><blockquote type="cite"><span>----Messaggio originale----</span><br></blockquote><blockquote type="cite"><span>Da: <a href="mailto:vespasiano@libero.it"><a href="mailto:vespasiano@libero.it">vespasiano@libero.it</a></a></span><br></blockquote><blockquote type="cite"><span>Data: 28/01/2011 18.13</span><br></blockquote><blockquote type="cite"><span>A: <<a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a>></span><br></blockquote><blockquote type="cite"><span>Ogg: [vtkusers] Render radial trasparency</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>Hi all,</span><br></blockquote><blockquote type="cite"><span>I'm writing an augmented reality application where I have two renders </span><br></blockquote><blockquote type="cite"><span>connected to a render window. </span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>In the first render, that is on layer 0, I have a plane source where i have </span><br></blockquote><blockquote type="cite"><span>connected a camera input as a texture to see images from a webcam. In the </span><br></blockquote><span>other </span><br><blockquote type="cite"><span>render, that is on layer 1, I render over the layer 0 my 3d scene. </span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>Now i need to adjust the opacity of the rendered layer1. I would that the </span><br></blockquote><blockquote type="cite"><span>opacity of my rendered 3d scene should decrease radially around a center </span><br></blockquote><span>point </span><br><blockquote type="cite"><span>that i define.</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>I thought that i can use a graylevel map to define the opacity map of my </span><br></blockquote><blockquote type="cite"><span>rendered scene but i can't find in vtk documentation any ideas to make such </span><br></blockquote><blockquote type="cite"><span>filter. I need like a filter that i connect between the output of the render </span><br></blockquote><blockquote type="cite"><span>and the input of the render window and set the pixel opacity. </span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>Note that i wouldn't modify the opacity of the video but only the opacity of </span><br></blockquote><blockquote type="cite"><span>my rendered 3d scene.</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>Any ideas to do so? Thanks a lot. </span><br></blockquote><blockquote type="cite"><span>Francesco Ricciardi.</span><br></blockquote><blockquote type="cite"><span>_______________________________________________</span><br></blockquote><blockquote type="cite"><span>Powered by <a href="http://www.kitware.com"><a href="http://www.kitware.com">www.kitware.com</a></a></span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>Visit other Kitware open-source projects at <a href="http://www.kitware">http://www.kitware</a>.</span><br></blockquote><span>com/opensource/opensource.html</span><br><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk">http://www.vtk</a>.</span><br></blockquote><span>org/Wiki/VTK_FAQ</span><br><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>Follow this link to subscribe/unsubscribe:</span><br></blockquote><blockquote type="cite"><span><a href="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers</a></span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><span></span><br><span></span><br><span>_______________________________________________</span><br><span>Powered by <a href="http://www.kitware.com"><a href="http://www.kitware.com">www.kitware.com</a></a></span><br><span></span><br><span>Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html"><a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a></a></span><br><span></span><br><span>Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ"><a href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ</a></a></span><br><span></span><br><span>Follow this link to subscribe/unsubscribe:</span><br><span><a href="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers</a></span><br></div></blockquote></body></html>