<div class="gmail_quote">On Thu, Feb 11, 2010 at 10:54 AM, Giancarlo Amati <span dir="ltr">&lt;<a href="mailto:ilferraresebono@hotmail.it">ilferraresebono@hotmail.it</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">




<div>
mmm now it get confusing because that&#39;s the style of my code:<br><div><blockquote style="padding-left:1ex"><div><br>this is the declaration:<br>    vtkSmartPointer&lt;vtkRenderer&gt; L0= vtkSmartPointer&lt;vtkRenderer&gt;::New();<br>
    vtkSmartPointer&lt;vtkCamera&gt; camL0 = vtkCamera::New();<br>

<br><br>    vtkSmartPointer&lt;vtkRenderer&gt; L1 = vtkSmartPointer&lt;vtkRenderer&gt;::New();<br>    vtkSmartPointer&lt;vtkCamera&gt; camL1 = vtkCamera::New();<br>    <br><br>    vtkSmartPointer&lt;vtkRenderWindow&gt; renderWindow = vtkSmartPointer&lt;vtkRenderWindow&gt;::New();<br>


    renderWindow-&gt;SetSize(720,576);<br> <br><br>Than I create a plane with texture the image I load up and then... I add the plane to L1;<br>L0-&gt;AddActor(Scene);<br>L1-&gt;AddActor(texturedPlane);<br><br>renderWindow-&gt;AddRenderer(L0);<br>


renderWindow-&gt;AddRenderer(L1);<br><br>and I call start() of the interactor.<br><br>but I just got my Texture rendered..but not the 3D Model. so what u mean with Layers?<br><br>Regards.<br>Giancarlo<div class="im"><div>
</div></div></div></blockquote></div></div></blockquote></div><br><div>I tried to make a demo of this:</div><div><a href="http://www.vtk.org/Wiki/VTK/Examples/BackgroundImage">http://www.vtk.org/Wiki/VTK/Examples/BackgroundImage</a></div>
<div><br></div><div>However, it seems like one renderer covers up the other. For now it is just trying to display an ImageActor in backgroundRenderer and then a sphere in sceneRenderer.</div><div><br clear="all">Thanks,<br>
<br>David<br></div>