<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">Hi David,</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">you could work around the issue by having one image, where low values represent normal brain tissue and high values represent a lesion. Then make a transfer function which assigns gray color to low values, and red color to high values. And please report back with the outcome and possibly some screenshots.</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">Regards,</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">Dženan</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Nov 15, 2015 at 6:08 PM, dewarren <span dir="ltr"><<a href="mailto:davideugenewarren+vtk@gmail.com" target="_blank">davideugenewarren+vtk@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Weiguang, thanks for the tip — that's interesting.  It's possible such a<br>
solution could work for my needs.  Unfortunately, my first attempt to<br>
implement it didn't work.  I think that the answer may lie in VTK's<br>
definition of a volume.<br>
<br>
Briefly, the back-to-front rendering solution could work for me depending on<br>
what the following means: "multiple volumes do not overlap in 3D space".  If<br>
that means that two "volumes" (I'm using the term loosely because of my<br>
ignorance) can be rendered correctly so long as they don't occupy any common<br>
voxels, I think it can work.  If it instead means that two volumes can be<br>
rendered correctly only so long as their bounding boxes do not intersect,<br>
then it won't work.<br>
<br>
For example, if I have a brain template and a map of a brain lesion on that<br>
template, I could create two arrays that represent the intact and lesioned<br>
parts of the brain, and then apply unique transfer functions to each for<br>
display (coloring the intact brain in grayscale and the lesion in red, say).<br>
The intact and lesioned brain regions would not overlap in space, but they<br>
would be adjacent, have a complex boundary, and have overlapping bounding<br>
boxes.  Would it be possible to render this scene with VTK currently?<br>
<br>
Many thanks!<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/Rendering-multiple-volumes-tp5734685p5734986.html" rel="noreferrer" target="_blank">http://vtk.1045678.n5.nabble.com/Rendering-multiple-volumes-tp5734685p5734986.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></div>