<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">2016-02-25 18:04 GMT+01:00 Aashish Chaudhary <span dir="ltr"><<a href="mailto:aashish.chaudhary@kitware.com" target="_blank">aashish.chaudhary@kitware.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span>On Thu, Feb 25, 2016 at 11:44 AM, longbowzhang<br>
<<a href="mailto:longbowzhangchina@gmail.com" target="_blank">longbowzhangchina@gmail.com</a>> wrote:<br>
> Hi,<br>
><br>
> 1 vtkRenderer is like a container, so you can put several volumes (as<br>
> vtkVolume) into it. No problem.<br>
<br>
</span>Yes,<br></blockquote><div><br></div><div>Alright, good to know.<br> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<span><br>
><br>
> 2 I think (not 100% sure) it would be a problem if those volumes are<br>
> intersecting with each other. You can test it easily.<br>
> Just put two vtkVolumes into the scene, and then check the results.<br>
<br>
</span>Intersecting volume would a be problem but having multiple volume<br>
would be fine. You will have to sort them (tell VTK to sort them).<br></blockquote><div><br><div>With sort them, you mean set the z order such that they are rendered on top of each other?<br><br></div><div>This
 would be a real problem for us. We are doing x-ray tomography of drill 
cores. The core breaks into pieces during drilling, so think of each 
volume I'm speaking of as one of the pieces in the attached photo. Our 
software will do some algorithmic "puzzling" to align the volumes 
(pieces) after scanning, but we need to have an interactive way for the 
user to manually align the pieces as well, for the cases where automatic
 alignment fails (which it will in some hard/hopeless cases).<br><br></div><div>If
 VTK can't properly render intersecting volumes, then I'm afraid it will
 be really hard to make such a tool for manual alignment intuitive to 
use. The user must be able to see the pieces while rotating them when 
they are close together, which invariably means they will intersect now 
and then as he/she tries to fit them together.<br><br></div><div>Is this
 limitation of VTK present also in 7.0? I've been thinking of compiling a
 custom VTK 7.0, since I saw it has many improvements to volume 
rendering, and if it can do composite rendering of intersecting volumes,
 then we'll definitely do that.<div><div><img src="https://ssl.gstatic.com/ui/v1/icons/mail/images/cleardot.gif"></div></div><span><font color="#888888"></font></span></div><span><font color="#888888"><div>Elvis<br></div></font></span> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
- Aashish<br>
<span><br>
><br>
><br>
><br>
><br>
> --<br>
> View this message in context: <a href="http://vtk.1045678.n5.nabble.com/Requirements-for-multiple-volumes-in-one-render-window-tp5736847p5736853.html" rel="noreferrer" target="_blank">http://vtk.1045678.n5.nabble.com/Requirements-for-multiple-volumes-in-one-render-window-tp5736847p5736853.html</a><br>
> 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>
<br>
<br>
<br>
</span><span><font color="#888888">--<br>
| Aashish Chaudhary<br>
| Technical Leader<br>
| Kitware Inc.<br>
| <a href="http://www.kitware.com/company/team/chaudhary.html" rel="noreferrer" target="_blank">http://www.kitware.com/company/team/chaudhary.html</a><br>
</font></span><div><div>_______________________________________________<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></div></div>