<div dir="ltr"><div><div>Weiguang,<br><br></div>That should work - if you run into issues let us know.<br><br></div>Lisa<br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Oct 30, 2015 at 9:24 AM, Weiguang guan <span dir="ltr"><<a href="mailto:guanw@rhpcs.mcmaster.ca" target="_blank">guanw@rhpcs.mcmaster.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div text="#000000" bgcolor="#FFFFFF">
    <div>Actually both. However, rendering
      disjoint volumes is most needed in our application. I'll try the
      "back to front" rendering option. Thanks.<br>
      <br>
      Best,<br>
      Weiguang<div><div class="h5"><br>
      <br>
      <br>
      On 29/10/2015 3:28 PM, Aashish Chaudhary wrote:<br>
    </div></div></div><div><div class="h5">
    <blockquote type="cite">
      <div dir="ltr">
        <div class="gmail_extra">
          <div class="gmail_quote">On Thu, Oct 29, 2015 at 3:25 PM, Lisa
            Avila <span dir="ltr"><<a href="mailto:lisa.avila@kitware.com" target="_blank">lisa.avila@kitware.com</a>></span>
            wrote:<br>
            <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
              <div dir="ltr">
                <div>Do you mean that the volumes overlap in 3D space,
                  or just overlap in image space? If the volumes overlap
                  in image space (two disjoint volumes where sometimes
                  one is in front of the other) VTK does render this
                  correctly (you need to turn back to front rendering on
                  in the culler in the renderer). It is true that VTK
                  does not correctly handle volumes that overlap in 3D
                  space, unless they are aligned and part of the same
                  volume (multiple components in one vtkImageData).</div>
              </div>
            </blockquote>
            <div><br>
            </div>
            <div>My understanding (based on some previous emails) is
              that they overlap in 3D space. </div>
            <div><br>
            </div>
            <div>- Aashish </div>
            <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
              <div dir="ltr">
                <div><span><font color="#888888"><br>
                      <br>
                    </font></span></div>
                <span><font color="#888888">Lisa<br>
                    <br>
                  </font></span></div>
              <div class="gmail_extra"><br>
                <div class="gmail_quote"><span>On Thu, Oct 29,
                    2015 at 11:59 AM, Weiguang guan <span dir="ltr"><<a href="mailto:guanw@rhpcs.mcmaster.ca" target="_blank">guanw@rhpcs.mcmaster.ca</a>></span>
                    wrote:<br>
                  </span>
                  <div>
                    <div>
                      <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">There were a few posts
                        in the past about this topic. The conclusion
                        seemed to be that VTK didn't support
                        multi-volume rendering in terms of proper
                        visibility sorting/blending. I'm not sure it is
                        still true.<br>
                        <br>
                        I've done a test where two partially overlapped
                        volumes are used. I've found that only the
                        texture mapping mapper can render them
                        correctly. All the other mappers (GPU based or
                        ray casting) always have one volume occlude the
                        other one no matter what direction the camera is
                        viewing.<br>
                        <br>
                        Is vtkImageOcclusionSpectrum designed for
                        handling multiple volume rendering? Any comments
                        will be appreciated. Thanks.<br>
                        <br>
                        Best,<br>
                        Weiguang<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>
                      </blockquote>
                    </div>
                  </div>
                </div>
                <br>
              </div>
              <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>
            </blockquote>
          </div>
          <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" target="_blank">http://www.kitware.com/company/team/chaudhary.html</a></i></div>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
  </div></div></div>

</blockquote></div><br></div>