<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><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Nov 25, 2015 at 6:50 PM, vincentTan <span dir="ltr"><<a href="mailto:sin-chia.vincent-tan@vitrox.com" target="_blank">sin-chia.vincent-tan@vitrox.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">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>
--<br>
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/Add-multiple-vtkVolume-in-vtkAssembly-tp5735182p5735201.html" rel="noreferrer" target="_blank">http://vtk.1045678.n5.nabble.com/Add-multiple-vtkVolume-in-vtkAssembly-tp5735182p5735201.html</a><br>
<div class="HOEnZb"><div class="h5">Sent from the VTK - Users mailing list archive at Nabble.com.<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" 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="noreferrer" 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="noreferrer" 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="noreferrer" 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="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/vtkusers</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><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" target="_blank">http://www.kitware.com/company/team/chaudhary.html</a></i></div></div></div>
</div>