<div dir="ltr">Hi Aashish,<div><br></div><div>Thanks a lot for your help.</div><div>Will get back to you once i tested it out.</div><div><br></div><div>Thanks a lot.</div><div>Vincent</div><div class="gmail_extra">
<br><div class="gmail_quote">On Thu, Nov 26, 2015 at 8:51 AM, Aashish Chaudhary-2 [via VTK] <span dir="ltr"><<a href="/user/SendEmail.jtp?type=node&node=5735204&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>></span> wrote:<br><blockquote style='border-left:2px solid #CCCCCC;padding:0 1em' class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
<div dir="ltr">Hi Vincent, <div><br></div><div>I modified one of the test (attached) and tried vtkAssembly and it worked for me on Ubuntu 14.* using OpenGL2 backend. Can you try this test and see if it works for you as well? If you using OpenGL1 backend, I would hope it should work as well since I believe vtkAssembly code has not changed as much. </div><div><br></div><div>Thanks,</div><div><br></div></div></span><div class="gmail_extra"><br><div class="gmail_quote"><span class="">On Wed, Nov 25, 2015 at 6:50 PM, vincentTan <span dir="ltr"><<a href="http:///user/SendEmail.jtp?type=node&node=5735203&i=0" rel="nofollow" link="external" target="_blank">[hidden email]</a>></span> wrote:<br></span><blockquote style='border-left:2px solid #CCCCCC;padding:0 1em' style="border-left:2px solid #cccccc;padding:0 1em" class="gmail_quote"><span class="">Hi Aashish,<br>
<br>
Thanks a lot for your reply.<br>
Ya, i am trying to render multiple volumes in one go. In my case, i would<br>
like to have two or possibly more vtkVolume in a vtkAssembly so that a<br>
global transformation on them would be applied as to treat those volumes as<br>
one unit.<br>
<br>
Besides, I have one class designed to keep track of each individual volume<br>
with its vtkImageData, vtkVolumeMapper as well as vtkVolumeProperty. In<br>
addition, as for vtkAssembly, i just simply add the volumes using<br>
assembly->addPart(subvol.getVolume()) but nothing comes out.<br>
<br>
Thanks a lot.<br>
Vincent<br>
<br>
<br>
<br></span>
--<br>
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/Add-multiple-vtkVolume-in-vtkAssembly-tp5735182p5735201.html" rel="nofollow" link="external" target="_blank">http://vtk.1045678.n5.nabble.com/Add-multiple-vtkVolume-in-vtkAssembly-tp5735182p5735201.html</a><span class=""><br>
<div><div>Sent from the VTK - Users mailing list archive at Nabble.com.<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" rel="nofollow" link="external" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="nofollow" link="external" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" rel="nofollow" link="external" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="nofollow" link="external" target="_blank">http://markmail.org/search/?q=vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtkusers" rel="nofollow" link="external" target="_blank">http://public.kitware.com/mailman/listinfo/vtkusers</a><br>
</div></div></span></blockquote></div><span class=""><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr"><font face="trebuchet ms, sans-serif"><i>| Aashish Chaudhary <br>| Technical Leader <br>| Kitware Inc. <br></i></font><div><i><font face="trebuchet ms, sans-serif">| </font><a href="http://www.kitware.com/company/team/chaudhary.html" rel="nofollow" link="external" target="_blank">http://www.kitware.com/company/team/chaudhary.html</a></i></div></div></div>
</span></div><span class="">
<br>_______________________________________________
<br>Powered by <a href="http://www.kitware.com" target="_blank" rel="nofollow" link="external">www.kitware.com</a>
<br><br>Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="nofollow" link="external" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br><br>Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" rel="nofollow" link="external" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br><br>Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="nofollow" link="external" target="_blank">http://markmail.org/search/?q=vtkusers</a><br><br>Follow this link to subscribe/unsubscribe:
<br><a href="http://public.kitware.com/mailman/listinfo/vtkusers" rel="nofollow" link="external" target="_blank">http://public.kitware.com/mailman/listinfo/vtkusers</a><br></span><div><br><img src="http://vtk.1045678.n5.nabble.com/images/icon_attachment.gif"> <strong>TestGPUVolumeRayCastMapper.cxx</strong> (3K) <a href="http://vtk.1045678.n5.nabble.com/attachment/5735203/0/TestGPUVolumeRayCastMapper.cxx" rel="nofollow" link="external" target="_blank">Download Attachment</a></div>
<br>
<br>
<hr noshade size="1" color="#cccccc">
<div style="color:#444;font:12px tahoma,geneva,helvetica,arial,sans-serif"><span class="">
<div style="font-weight:bold">If you reply to this email, your message will be added to the discussion below:</div>
</span><a href="http://vtk.1045678.n5.nabble.com/Add-multiple-vtkVolume-in-vtkAssembly-tp5735182p5735203.html" target="_blank" rel="nofollow" link="external">http://vtk.1045678.n5.nabble.com/Add-multiple-vtkVolume-in-vtkAssembly-tp5735182p5735203.html</a>
</div><div class="HOEnZb"><div class="h5">
<div style="color:#666;font:11px tahoma,geneva,helvetica,arial,sans-serif;margin-top:.4em;line-height:1.5em">
To unsubscribe from Add multiple vtkVolume in vtkAssembly, <a href="" target="_blank" rel="nofollow" link="external">click here</a>.<br>
<a href="http://vtk.1045678.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml" rel="nofollow" style="font:9px serif" target="_blank" link="external">NAML</a>
</div></div></div></blockquote></div><br></div></div>
<br/><hr align="left" width="300" />
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/Add-multiple-vtkVolume-in-vtkAssembly-tp5735182p5735204.html">Re: Add multiple vtkVolume in vtkAssembly</a><br/>
Sent from the <a href="http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html">VTK - Users mailing list archive</a> at Nabble.com.<br/>