<div dir="ltr"><div><div>Sorry no, you will have to render the entire scene with OSPRay. Do that by inserting the OSPRayPass into the render.<br><br>The path to OSPRay volume rendering inside the smart volume mapper won't cast shadows on the surfaces because in that case surfaces are rendered independently via OpenGL. The only interaction between the two then is the way depths from the surfaces limit volume rendering traversals.<br><br></div></div><div>When you do get to trying it out, please let us know what you find via the mailing list and/or bug tracker. This is very new functionality so I expect there will be kinks for a while.<br><br></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature">David E DeMarle<br>Kitware, Inc.<br>R&D Engineer<br>21 Corporate Drive<br>Clifton Park, NY 12065-8662<br>Phone: 518-881-4909</div></div>
<br><div class="gmail_quote">On Tue, Oct 11, 2016 at 9:05 AM, ianl <span dir="ltr"><<a href="mailto:ilindsay@insigniamedical.co.uk" target="_blank">ilindsay@insigniamedical.co.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<p>Thanks for the heads up, that sounds great. I am currently
working on another project at the moment, but when I am back on
our volume rendering, I will give it a go. Is it just a case of
setting the relevant mode on vtkSmartVolumeMapper (I noticed the
new setting - OSPRayRenderMode), or is there more to it?<br>
</p>
<p>Thanks for all the hard work,</p>
<p>Ian Lindsay<br>
</p><span class="">
<br>
<div>On 11/10/2016 13:45, David E DeMarle
[via VTK] wrote:<br>
</div>
</span><blockquote style="border-left:2px solid #cccccc;padding:0 1em" type="cite"><span class="">
<div dir="ltr">Just letting you know that shadow casting volumes
are available now in VTK master and ParaView 5.2.0.rc1 thanks to
new capability in OSPRay 1.1.0.<br>
<br>
<br>
<div class="gmail_chip gmail_drive_chip" style="width:396px;min-height:18px;max-height:18px;background-color:#f5f5f5;padding:5px;color:#222;font-family:arial;font-style:normal;font-weight:bold;font-size:13px;border:1px solid #ddd;line-height:1"><a href="https://drive.google.com/a/kitware.com/file/d/0B_7IiYwK1X_MbVFWbDJuS1ZPTjA/view?usp=drive_web" style="display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-decoration:none;padding:1px 0px;border:medium none;width:100%" rel="nofollow" link="external" target="_blank"><img style="vertical-align:bottom;border:none" src="https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png"> <span dir="ltr" style="color:#15c;text-decoration:none;vertical-align:bottom">Screenshot
from 2016-10-11 08-29-15.png</span></a></div>
<br>
</div>
</span><div class="gmail_extra"><span class=""><br clear="all">
<div>
<div data-smartmail="gmail_signature">David
E DeMarle<br>
Kitware, Inc.<br>
R&D Engineer<br>
21 Corporate Drive<br>
Clifton Park, NY 12065-8662<br>
Phone: <a href="tel:518-881-4909" value="+15188814909" target="_blank">518-881-4909</a></div>
</div>
<br>
</span><div class="gmail_quote"><span class="">On Fri, Sep 2, 2016 at 11:54 AM, David
E DeMarle <span dir="ltr"><<a href="http:///user/SendEmail.jtp?type=node&node=5740725&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" class="gmail_quote"><span class="">
<div dir="ltr">We are working toward that via
Rendering/OSPRay, stay tuned.<br>
<br>
It will be a few months probably. First we have to expose
volumes, then OSPRay's volumes have to support shadows.<span><font color="#888888"><br>
</font></span></div>
</span><div class="gmail_extra"><span><font color="#888888"><br clear="all">
<div>
<div data-smartmail="gmail_signature"><span class="">David E
DeMarle<br>
Kitware, Inc.<br>
R&D Engineer<br>
21 Corporate Drive<br>
Clifton Park, NY 12065-8662<br></span>
Phone: <a href=<a class="moz-txt-link-rfc2396E" href="tel:<a href="tel:518-881-4909" value="+15188814909" target="_blank">518-881-4909</a>">"tel:<a href="tel:518-881-4909" value="+15188814909" target="_blank">5<wbr>18-881-4909</a>"
value="<a href="tel:%2B15188814909" value="+15188814909" target="_blank">+15188814909</a>"
target="_blank"><a href="tel:518-881-4909" value="+15188814909" target="_blank">518-881-4909</a></div>
</div>
</font></span><div><div class="h5">
<div>
<div>
<br>
<div class="gmail_quote">On Fri, Sep 2, 2016 at 3:59
AM, ianl <span dir="ltr"><<a href="http:///user/SendEmail.jtp?type=node&node=5740725&i=1" rel="nofollow" link="external" target="_blank">[hidden email]</a>></span>
wrote:<br>
<blockquote style="border-left:2px solid #cccccc;padding:0 1em" class="gmail_quote">Thanks
for the quick reply - I suspected as much.<br>
<br>
It was more of a case of seeing that an easy way
of turning shadows on was<br>
available and of trying it out to see what it
looked like to determine<br>
whether it was something we could offer our
customers as an option (and it<br>
looks good at shows!).<br>
<br>
I take your point that it probably makes the
visualisation more 'busy' and<br>
may hide areas in shade that would otherwise be
seen. I was interested in<br>
whether a subtle shadow made depth perception a
bit easier.<br>
<br>
>From a quick google, examples of renders of
medical data with shadows on are<br>
few and far between. This is a fairly nice
example:<br>
<a href="http://medvis.org/wp-content/uploads/2011/10/example_03.png" rel="nofollow" link="external" target="_blank">http://medvis.org/wp-content/u<wbr>ploads/2011/10/example_03.png</a>
. This may well<br>
be due to quite a lot of them being based on VTK
though!<br>
<br>
Ian<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/Shadow-support-on-volume-rendering-tp5740094p5740103.html" rel="nofollow" link="external" target="_blank">http://vtk.1045678.n5.nabble.c<wbr>om/Shadow-support-on-volume-re<wbr>ndering-tp5740094p5740103.html</a><br>
<div>
<div>Sent from the VTK - Users mailing list
archive at Nabble.com.<br>
______________________________<wbr>_________________<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/opensou<wbr>rce/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_FA<wbr>Q</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=<wbr>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/mail<wbr>man/listinfo/vtkusers</a><br>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div></div></div>
</blockquote>
</div>
<br>
</div><div><div class="h5">
<br>
______________________________<wbr>_________________
<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/<wbr>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_<wbr>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=<wbr>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/<wbr>mailman/listinfo/vtkusers</a><br>
<br>
<br>
</div></div><hr color="#cccccc" size="1" noshade>
<div style="color:#444;font:12px tahoma,geneva,helvetica,arial,sans-serif">
<div style="font-weight:bold">If you reply to this email, your
message will be added to the discussion below:</div>
<a href="http://vtk.1045678.n5.nabble.com/Shadow-support-on-volume-rendering-tp5740094p5740725.html" rel="nofollow" link="external" target="_blank">http://vtk.1045678.n5.nabble.<wbr>com/Shadow-support-on-volume-<wbr>rendering-tp5740094p5740725.<wbr>html</a>
</div>
<div style="color:#666;font:11px tahoma,geneva,helvetica,arial,sans-serif;margin-top:.4em;line-height:1.5em">
To unsubscribe from Shadow support on volume rendering, <a 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" link="external" target="_blank">NAML</a>
</div>
</blockquote>
<br>
<div>
<hr style="color:black" align="left" size="2" noshade width="100%">
<font style="font-size:7.5pt;color:#000055" face="Tahoma">
<b>Mr Ian Lindsay - Senior Software Engineer, Imaging Specialist<br>
</b>
<b>T:</b> <a href="tel:%2B44%20%280%291256%20247010" value="+441256247010" target="_blank">+44 (0)1256 247010</a> <b>E</b>: <a href="http:///user/SendEmail.jtp?type=node&node=5740727&i=0" rel="nofollow" link="external" target="_blank">[hidden email]</a><br>
Insignia Medical Systems Limited, Norfolk House, Summerlea Court<br>
Herriard, Hampshire RG25 2PN, UK<br>
Company Number - 3867976<br>
<a href="http://www.insigniamedical.co.uk" rel="nofollow" link="external" target="_blank">www.insigniamedical.co.uk</a>
<br>
</font>
</div>
<br>
<div><hr></div><font face="Arial">CONFIDENTIALITY NOTICE<br><font size="2">
This message is only for the u<wbr>se of the intended individual <wbr>or entity and may contain <wbr>information that is confidenti<wbr>al, or subject to copyright.<br>
If you are not the intended re<wbr>cipient, you are hereby notifi<wbr>ed that any dissemination, <wbr>copying or distribution of <wbr>this message, or any <wbr>associated files, is strictly <wbr>prohibited.<br>
If you have received this mess<wbr>age in error, please notify <wbr>us immediately by replying to <wbr>the message, and delete it <wbr>from your computer. <br>
Messages sent to and from <span>Insi<wbr>gnia</span> <span>Medical</span> <span>Systems</span> Limited m<wbr>ay be monitored.<br>
Any views or opinions presente<wbr>d are solely those of the <wbr>author and do not necessarily <wbr>represent those of the <wbr>company.</font></font>
<br><hr align="left" width="300">
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/Shadow-support-on-volume-rendering-tp5740094p5740727.html" target="_blank">Re: Shadow support on volume rendering</a><div class="HOEnZb"><div class="h5"><br>
Sent from the <a href="http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html" target="_blank">VTK - Users mailing list archive</a> at Nabble.com.<br></div></div><br>______________________________<wbr>_________________<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/<wbr>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_<wbr>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=<wbr>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/<wbr>mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br></div>